Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Counter_Examples_countUPandDOWN",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Counter_Examples_countUPandDOWN",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05495/0.05495, allocations: 10.74 MB / 281.1 MB, free: 10.56 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005064, allocations: 12 kB / 341.7 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1254, allocations: 50 MB / 391.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN): time 0.002703/0.1281, allocations: 1.972 MB / 393.7 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1302, allocations: 1.331 MB / 395 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1303, allocations: 15.88 kB / 395 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1314, allocations: 0.534 MB / 395.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.1321, allocations: 343.2 kB / 395.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1331, allocations: 455 kB / 396.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1337, allocations: 431.1 kB / 396.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1339, allocations: 81.22 kB / 396.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1342, allocations: 243.1 kB / 397.1 MB, free: 308 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1344, allocations: 271 kB / 397.3 MB, free: 36 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1345, allocations: 16 kB / 397.3 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.1347, allocations: 115.9 kB / 397.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.1349, allocations: 155.5 kB / 397.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1351, allocations: 125.2 kB / 397.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.1356, allocations: 0.5341 MB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1356, allocations: 0 / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1356, allocations: 0 / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1356, allocations: 0 / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001367/0.137, allocations: 0.9607 MB / 399.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.137, allocations: 8.031 kB / 399.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.1371, allocations: 50.55 kB / 399.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.1372, allocations: 67.16 kB / 399.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.1379, allocations: 0.5037 MB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.138, allocations: 12.33 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.138, allocations: 16 kB / 399.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.1384, allocations: 248.6 kB / 400.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1385, allocations: 3.953 kB / 400.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1385, allocations: 8 kB / 400.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1385, allocations: 8 kB / 400.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1388, allocations: 119.9 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.1399, allocations: 0.7419 MB / 401 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.1406, allocations: 290.5 kB / 401.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1406, allocations: 4.828 kB / 401.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003843/0.141, allocations: 225.3 kB / 401.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.141, allocations: 0 / 401.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.0008829/0.1419, allocations: 0.5173 MB / 402 MB, free: 11.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.142, allocations: 195.9 kB / 402.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.143, allocations: 0.883 MB / 403.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1431, allocations: 41.7 kB / 403.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.1434, allocations: 276.6 kB / 403.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.1434, allocations: 82.98 kB / 403.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.1435, allocations: 8 kB / 403.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1436, allocations: 318 kB / 403.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1438, allocations: 75.97 kB / 403.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.1441, allocations: 263.5 kB / 404.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.1443, allocations: 115.8 kB / 404.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1443, allocations: 4 kB / 404.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005946/0.1449, allocations: 352.5 kB / 404.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.145, allocations: 8 kB / 404.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.145, allocations: 8.312 kB / 404.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.145, allocations: 4 kB / 404.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1452, allocations: 59.84 kB / 404.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1452, allocations: 4 kB / 404.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1454, allocations: 55.61 kB / 404.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1455, allocations: 12 kB / 404.8 MB, free: 8.207 MB / 302.1 MB Warning: Assuming fixed start value for the following 5 variables: counter.CUd:DISCRETE(fixed = true ) type: Boolean counter.CDd:DISCRETE(fixed = true ) type: Boolean counter.Sd:DISCRETE(fixed = true ) type: Boolean counter.Q:DISCRETE(flow=false fixed = true ) "status of the counter (1: counting, 0: not counting)" type: Boolean counter.Value:DISCRETE(start = 0 fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.counter.CUd,counter.CUd,$PRE.counter.CDd,counter.CDd,$PRE.counter.Sd,counter.Sd,$PRE.counter.Q,counter.Q,$PRE.counter.Value,counter.Value,$whenCondition5,$PRE.reset.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.set.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.countDOWN.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.countUP.combiTimeTable.nextTimeEvent,$whenCondition1,reset.y,reset.combiTimeTable.nextTimeEvent,$PRE.reset.combiTimeTable.nextTimeEventScaled,reset.combiTimeTable.nextTimeEventScaled,set.y,set.combiTimeTable.nextTimeEvent,$PRE.set.combiTimeTable.nextTimeEventScaled,set.combiTimeTable.nextTimeEventScaled,countDOWN.y,countDOWN.combiTimeTable.nextTimeEvent,$PRE.countDOWN.combiTimeTable.nextTimeEventScaled,countDOWN.combiTimeTable.nextTimeEventScaled,countUP.y,countUP.combiTimeTable.nextTimeEvent,$PRE.countUP.combiTimeTable.nextTimeEventScaled,countUP.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.1458, allocations: 274.8 kB / 405 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.1459, allocations: 67.09 kB / 405.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.146, allocations: 70.5 kB / 405.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1461, allocations: 3.984 kB / 405.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1461, allocations: 4 kB / 405.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1461, allocations: 0 / 405.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1465, allocations: 473.1 kB / 405.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1465, allocations: 0 / 405.6 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1466, allocations: 16 kB / 405.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1466, allocations: 0 / 405.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1466, allocations: 11.98 kB / 405.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1466, allocations: 0 / 405.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1466, allocations: 0 / 405.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.1473, allocations: 393.2 kB / 406 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.1474, allocations: 160.2 kB / 406.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.1475, allocations: 11.98 kB / 406.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1477, allocations: 23.98 kB / 406.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.1478, allocations: 19.97 kB / 406.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.1478, allocations: 19.98 kB / 406.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007127/0.1485, allocations: 0.6435 MB / 406.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1486, allocations: 0 / 406.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.149, allocations: 123.8 kB / 407 MB, free: 5.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,counter.Q,counter.Value,counter.CUd,counter.CDd,counter.Sd,countUP.y,countUP.combiTimeTable.nextTimeEvent,countUP.combiTimeTable.nextTimeEventScaled,countDOWN.y,countDOWN.combiTimeTable.nextTimeEvent,countDOWN.combiTimeTable.nextTimeEventScaled,set.y,set.combiTimeTable.nextTimeEvent,set.combiTimeTable.nextTimeEventScaled,reset.y,reset.combiTimeTable.nextTimeEvent,reset.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 12 (counter.Value,counter.Sd,counter.CUd,counter.CDd,reset.combiTimeTable.nextTimeEventScaled,set.combiTimeTable.nextTimeEventScaled,countDOWN.combiTimeTable.nextTimeEventScaled,countUP.combiTimeTable.nextTimeEventScaled,countUP.combiTimeTable.nextTimeEvent,countDOWN.combiTimeTable.nextTimeEvent,set.combiTimeTable.nextTimeEvent,reset.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/0.1509, allocations: 1.303 MB / 408.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.1514, allocations: 251.7 kB / 408.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1514, allocations: 0 / 408.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.1517, allocations: 123.9 kB / 408.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.1523, allocations: 128.1 kB / 408.8 MB, free: 4.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.1579, allocations: 5.444 MB / 414.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1584, allocations: 0.9095 MB / 415.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002797/0.1587, allocations: 101 kB / 415.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.1589, allocations: 207.4 kB / 415.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1589, allocations: 0 / 415.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.1869, allocations: 12.94 MB / 428.4 MB, free: 436 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.1872, allocations: 250.3 kB / 428.7 MB, free: 92 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.447, allocations: 4 kB / 428.7 MB, free: 88 kB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Logical_Counter_Examples_countUPandDOWN_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Logical_Counter_Examples_countUPandDOWN.fmu > IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.pipe 2>&1) Environment - environmentSimulation: