Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.92 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.001195/0.001194, allocations: 177.3 kB / 15.94 MB, free: 228 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.231/1.231, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2699/0.2699, allocations: 40 MB / 310.4 MB, free: 9.863 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005702/0.0005705, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09756, allocations: 57.95 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.2068/0.3044, allocations: 68.64 MB / 0.4936 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02713/0.3316, allocations: 24.61 MB / 0.5176 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.3335, allocations: 48.19 kB / 0.5176 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.3363, allocations: 0.9818 MB / 0.5186 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.3483, allocations: 4.096 MB / 0.5226 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.3658, allocations: 6.2 MB / 0.5286 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.3701, allocations: 2.204 MB / 0.5308 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.3716, allocations: 0.8006 MB / 0.5316 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.3744, allocations: 1.208 MB / 0.5328 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.376, allocations: 0.7771 MB / 0.5335 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003689/0.3764, allocations: 62 kB / 0.5336 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0187/0.3951, allocations: 8.299 MB / 0.5417 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.3958, allocations: 310.9 kB / 0.542 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.3966, allocations: 329 kB / 0.5423 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008864/0.4055, allocations: 4.669 MB / 0.5469 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4055, allocations: 0 / 0.5469 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4055, allocations: 3.938 kB / 0.5469 GB, free: 7.816 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.441e-05/0.4056, allocations: 0 / 0.5469 GB, free: 7.816 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.005894/0.4115, allocations: 2.425 MB / 0.5492 GB, free: 5.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.4115, allocations: 12.03 kB / 0.5492 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.4184, allocations: 0.8801 MB / 0.5501 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.4201, allocations: 0.9002 MB / 0.551 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4202, allocations: 106.4 kB / 0.5511 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.4204, allocations: 116 kB / 0.5512 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005533/0.426, allocations: 2.275 MB / 0.5534 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.426, allocations: 11.94 kB / 0.5534 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.4262, allocations: 56 kB / 0.5535 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4262, allocations: 32 kB / 0.5535 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005936/0.4321, allocations: 2.17 MB / 0.5556 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.4448, allocations: 10.39 MB / 0.5658 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/0.4498, allocations: 1.654 MB / 0.5674 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04691/0.4968, allocations: 24.26 MB / 0.5911 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4969, allocations: 43.22 kB / 0.5911 GB, free: 6.504 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 2.495e-06/0.4969, allocations: 3.938 kB / 0.5911 GB, free: 6.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=80): time 0.01017/0.5071, allocations: 2.744 MB / 0.5938 GB, free: 3.746 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5072, allocations: 265.7 kB / 0.5941 GB, free: 3.426 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.5094, allocations: 1.173 MB / 0.5952 GB, free: 2.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.5096, allocations: 45.7 kB / 0.5952 GB, free: 2.195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/0.5102, allocations: 0.6085 MB / 0.5958 GB, free: 1.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.5105, allocations: 272.1 kB / 0.5961 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.5106, allocations: 24 kB / 0.5961 GB, free: 1.285 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5108, allocations: 345.9 kB / 0.5965 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.5126, allocations: 498.3 kB / 0.5969 GB, free: 464 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.5148, allocations: 0.9276 MB / 0.5978 GB, free: 15.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.5167, allocations: 0.5693 MB / 0.5984 GB, free: 14.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5168, allocations: 4 kB / 0.5984 GB, free: 14.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004952/0.5217, allocations: 1.539 MB / 0.5999 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.5238, allocations: 4.906 MB / 0.6047 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.5239, allocations: 16 kB / 0.6047 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.241e-05/0.5239, allocations: 23.94 kB / 0.6047 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.5257, allocations: 355.5 kB / 0.6051 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/0.5258, allocations: 27.92 kB / 0.6051 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.5278, allocations: 276.5 kB / 0.6054 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.528, allocations: 67.97 kB / 0.6054 GB, free: 7.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.528, allocations: 11.22 kB / 0.6054 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00442/0.5325, allocations: 1.37 MB / 0.6068 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.5325, allocations: 12 kB / 0.6068 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.5325, allocations: 24.8 kB / 0.6068 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.5343, allocations: 355.5 kB / 0.6071 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-05/0.5343, allocations: 31.92 kB / 0.6072 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.536, allocations: 230.5 kB / 0.6074 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.5362, allocations: 67.98 kB / 0.6075 GB, free: 5.121 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * 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.0007857/0.537, allocations: 396.6 kB / 0.6078 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.5373, allocations: 138.3 kB / 0.608 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.5483, allocations: 6.655 MB / 0.6145 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/0.5484, allocations: 83.81 kB / 0.6145 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5485, allocations: 0 / 0.6145 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.5485, allocations: 7.984 kB / 0.6146 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.5537, allocations: 3.259 MB / 0.6177 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.5538, allocations: 4 kB / 0.6177 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.5552, allocations: 275.7 kB / 0.618 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.5553, allocations: 11.92 kB / 0.618 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.5553, allocations: 24 kB / 0.618 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.5554, allocations: 7.938 kB / 0.618 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5554, allocations: 3.953 kB / 0.6181 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.5612, allocations: 2.974 MB / 0.621 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/0.5629, allocations: 0.8889 MB / 0.6218 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/0.5633, allocations: 24 kB / 0.6218 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.5649, allocations: 131.7 kB / 0.622 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/0.5652, allocations: 108.8 kB / 0.6221 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5653, allocations: 39.97 kB / 0.6221 GB, free: 5.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003151/0.5684, allocations: 1.613 MB / 0.6237 GB, free: 4.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5685, allocations: 0 / 0.6237 GB, free: 4.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005201/0.5737, allocations: 1.76 MB / 0.6254 GB, free: 2.57 MB / 494.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: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse43.phase,$cse43.region,$cse47.phase,$cse47.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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 Backend phase and start with SimCode phase: time 0.004834/0.5785, allocations: 1.376 MB / 0.6268 GB, free: 1.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.155/0.7336, allocations: 2.599 MB / 0.6293 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7336, allocations: 0 / 0.6293 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.7352, allocations: 1.473 MB / 0.6307 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.7388, allocations: 0.783 MB / 0.6315 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.7448, allocations: 6.443 MB / 0.6378 GB, free: 147.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.7456, allocations: 1.858 MB / 0.6396 GB, free: 146.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002462/0.7481, allocations: 2.12 MB / 0.6417 GB, free: 146.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7484, allocations: 143.8 kB / 0.6418 GB, free: 146.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7484, allocations: 3.094 kB / 0.6418 GB, free: 146.3 MB / 494.1 MB Notification: Performance of Templates: time 0.07701/0.8254, allocations: 63.88 MB / 0.7042 GB, free: 110.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) Environment - environmentSimulation: