Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u",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.0007903/0.0007903, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008604/0.0008604, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9539/0.9539, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 9.719 kB / 0.5071 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 82.31 MB / 0.5875 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.2962/0.4404, allocations: 61.7 MB / 0.6477 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.4577, allocations: 15.69 MB / 0.663 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.4607, allocations: 78.25 kB / 0.6631 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.4632, allocations: 0.7883 MB / 0.6639 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.4684, allocations: 2.111 MB / 0.666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.4731, allocations: 1.766 MB / 0.6677 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007844/0.4809, allocations: 5.974 MB / 0.6735 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.4838, allocations: 1.348 MB / 0.6748 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004454/0.4882, allocations: 1.679 MB / 0.6765 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/0.4913, allocations: 1.372 MB / 0.6778 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.4917, allocations: 74.75 kB / 0.6779 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.4958, allocations: 1.449 MB / 0.6793 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006907/0.4965, allocations: 428.4 kB / 0.6797 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009158/0.4974, allocations: 439.2 kB / 0.6801 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.5017, allocations: 2.656 MB / 0.6827 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5018, allocations: 4 kB / 0.6827 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5018, allocations: 0 / 0.6827 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.707e-05/0.5019, allocations: 0 / 0.6827 GB, free: 13.01 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.004895/0.5068, allocations: 2.316 MB / 0.685 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.5068, allocations: 9.062 kB / 0.685 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003655/0.5072, allocations: 190 kB / 0.6852 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.5086, allocations: 388.7 kB / 0.6855 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.5123, allocations: 1.732 MB / 0.6872 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.5126, allocations: 170.2 kB / 0.6874 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.5129, allocations: 137.7 kB / 0.6875 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.5157, allocations: 1.447 MB / 0.6889 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.5157, allocations: 0 / 0.6889 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.5159, allocations: 52.59 kB / 0.689 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.5159, allocations: 50.44 kB / 0.689 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.5185, allocations: 1.137 MB / 0.6901 GB, free: 9.098 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009827/0.5283, allocations: 7.381 MB / 0.6974 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.5308, allocations: 1.391 MB / 0.6987 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009919/0.5318, allocations: 461.3 kB / 0.6992 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004743/0.5366, allocations: 2.61 MB / 0.7017 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.5377, allocations: 0.5012 MB / 0.7022 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007934/0.5385, allocations: 94.56 kB / 0.7023 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 5.28e-06/0.5385, allocations: 4 kB / 0.7023 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003459/0.542, allocations: 1.279 MB / 0.7035 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.5421, allocations: 110.9 kB / 0.7036 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.5448, allocations: 1.484 MB / 0.7051 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.5449, allocations: 48.48 kB / 0.7051 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008678/0.5458, allocations: 0.8889 MB / 0.706 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5461, allocations: 230.6 kB / 0.7062 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.5462, allocations: 24.19 kB / 0.7062 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5464, allocations: 346.8 kB / 0.7066 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.5473, allocations: 371 kB / 0.7069 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5485, allocations: 0.7243 MB / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.5496, allocations: 493.4 kB / 0.7081 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.5497, allocations: 3.156 kB / 0.7081 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003057/0.5527, allocations: 1.276 MB / 0.7094 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.5531, allocations: 401.9 kB / 0.7097 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.5531, allocations: 9.781 kB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.5532, allocations: 16.03 kB / 0.7098 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.5541, allocations: 262.6 kB / 0.71 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.95e-05/0.5542, allocations: 22.67 kB / 0.71 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.5559, allocations: 148 kB / 0.7102 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.5561, allocations: 51.33 kB / 0.7102 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5561, allocations: 5.031 kB / 0.7102 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002396/0.5585, allocations: 1.114 MB / 0.7113 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.5585, allocations: 9.625 kB / 0.7113 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.5585, allocations: 15.12 kB / 0.7113 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.5596, allocations: 263.1 kB / 0.7116 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/0.5596, allocations: 21.58 kB / 0.7116 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.5611, allocations: 135 kB / 0.7117 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5613, allocations: 49.67 kB / 0.7118 GB, free: 9.172 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * 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.001159/0.5624, allocations: 497.1 kB / 0.7123 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.5629, allocations: 171.3 kB / 0.7124 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.5657, allocations: 1.103 MB / 0.7135 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.5657, allocations: 6.625 kB / 0.7135 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5658, allocations: 3.344 kB / 0.7135 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001766/0.5675, allocations: 0.8309 MB / 0.7143 GB, free: 7.676 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005581/0.5731, allocations: 2.718 MB / 0.717 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5731, allocations: 11.5 kB / 0.717 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.5739, allocations: 154.6 kB / 0.7171 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.5741, allocations: 36.81 kB / 0.7172 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.5742, allocations: 24.33 kB / 0.7172 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.5754, allocations: 1.379 MB / 0.7185 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5754, allocations: 3.938 kB / 0.7185 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.5788, allocations: 1.641 MB / 0.7202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.5799, allocations: 366.6 kB / 0.7205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/0.5805, allocations: 23.98 kB / 0.7205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.582, allocations: 115.8 kB / 0.7206 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.5822, allocations: 64.42 kB / 0.7207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.5823, allocations: 44.66 kB / 0.7207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002306/0.5846, allocations: 1.07 MB / 0.7218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5846, allocations: 0 / 0.7218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004245/0.5889, allocations: 0.9549 MB / 0.7227 GB, free: 272 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005811/0.5947, allocations: 2.581 MB / 0.7252 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004124/0.5989, allocations: 1.612 MB / 0.7268 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.5989, allocations: 3.938 kB / 0.7268 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.6002, allocations: 0.5832 MB / 0.7274 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005653/0.6059, allocations: 0.8482 MB / 0.7282 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/0.6345, allocations: 10.94 MB / 0.7389 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.636, allocations: 1.397 MB / 0.7403 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002509/0.6385, allocations: 415.9 kB / 0.7407 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.6399, allocations: 0.7491 MB / 0.7414 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/0.6399, allocations: 0 / 0.7414 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09091/0.7308, allocations: 49.13 MB / 0.7894 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.731, allocations: 241.7 kB / 0.7896 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.611, allocations: 4.062 kB / 0.7896 GB, free: 11.49 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) Environment - environmentSimulation: