An optimal control-based safety system for cost efficient risk management of chemical processes. (4th August 2016)