Remove dead code in OPM simulator
Redirect stderr to log file