BZ-1015354 - Simulation engine did not return any results if there is a subprocess
(cherry picked from commit c5db88202a6faaec8b49bdaaa287a5828531dae1)
BZ-1015453 - Simulation ignores Event Definitions
(cherry picked from commit 802acb278714ee6f4ef5dcd4cbf712358837f8d8)