Economic MPC with terminal cost and application to an oilsand primary separation vessel. (2nd November 2015)