Ennesys has agreed to repay OriginOil's research and development (R&D) costs apart from an ongoing licensing fee on revenue from the patents.