Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",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.001011/0.001012, allocations: 99.78 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.001303/0.001303, 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.703/1.703, 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.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.000472/0.000472, allocations: 20.88 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 116.3 MB / 0.7872 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04582/0.2653, allocations: 44.86 MB / 0.831 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.2896, allocations: 15.63 MB / 0.8463 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.2928, allocations: 67.56 kB / 0.8464 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.2965, allocations: 0.9654 MB / 0.8473 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.3045, allocations: 2.331 MB / 0.8496 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00792/0.3125, allocations: 2.994 MB / 0.8525 GB, free: 8.961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005161/0.3176, allocations: 2.776 MB / 0.8552 GB, free: 6.184 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.3196, allocations: 1.238 MB / 0.8564 GB, free: 4.918 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.3224, allocations: 1.37 MB / 0.8578 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.3238, allocations: 0.9137 MB / 0.8587 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.324, allocations: 68 kB / 0.8587 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.3271, allocations: 1.377 MB / 0.8601 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.3275, allocations: 390.4 kB / 0.8604 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.3281, allocations: 408.6 kB / 0.8608 GB, free: 400 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.331, allocations: 2.439 MB / 0.8632 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.331, allocations: 0 / 0.8632 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.331, allocations: 0 / 0.8632 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.3311, allocations: 0 / 0.8632 GB, free: 13.95 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003713/0.3348, allocations: 2.225 MB / 0.8654 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3348, allocations: 8.031 kB / 0.8654 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.3351, allocations: 173 kB / 0.8656 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.337, allocations: 484.9 kB / 0.866 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.3397, allocations: 1.532 MB / 0.8675 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.3401, allocations: 162.2 kB / 0.8677 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3402, allocations: 120 kB / 0.8678 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.3427, allocations: 1.376 MB / 0.8691 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.3427, allocations: 7.938 kB / 0.8691 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3428, allocations: 44 kB / 0.8692 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3428, allocations: 32 kB / 0.8692 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.3453, allocations: 1.117 MB / 0.8703 GB, free: 6.445 MB / 0.6856 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.008632/0.354, allocations: 7.152 MB / 0.8773 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.3565, allocations: 1.418 MB / 0.8787 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004635/0.3611, allocations: 3.094 MB / 0.8817 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.3622, allocations: 454.9 kB / 0.8821 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004463/0.3626, allocations: 91.25 kB / 0.8822 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.415e-06/0.3627, allocations: 0 / 0.8822 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.003007/0.3657, allocations: 1.28 MB / 0.8835 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.3658, allocations: 141 kB / 0.8836 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.3678, allocations: 1.609 MB / 0.8852 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.3679, allocations: 41.7 kB / 0.8852 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/0.3686, allocations: 0.8842 MB / 0.8861 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3688, allocations: 220.8 kB / 0.8863 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.3689, allocations: 20 kB / 0.8863 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.369, allocations: 353.9 kB / 0.8866 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.3699, allocations: 390.1 kB / 0.887 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.3711, allocations: 0.7871 MB / 0.8878 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3721, allocations: 0.4966 MB / 0.8883 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3722, allocations: 4 kB / 0.8883 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002655/0.3748, allocations: 1.332 MB / 0.8896 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.001657/0.3765, allocations: 4.368 MB / 0.8938 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.3765, allocations: 12 kB / 0.8938 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.3766, allocations: 16 kB / 0.8939 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.3776, allocations: 271.6 kB / 0.8941 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.3776, allocations: 19.94 kB / 0.8941 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3789, allocations: 136.4 kB / 0.8943 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/0.379, allocations: 59.97 kB / 0.8943 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.379, allocations: 4 kB / 0.8943 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002295/0.3813, allocations: 1.165 MB / 0.8955 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3813, allocations: 12 kB / 0.8955 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3813, allocations: 19.95 kB / 0.8955 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/0.3823, allocations: 268.2 kB / 0.8958 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.3823, allocations: 19.94 kB / 0.8958 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3835, allocations: 143.3 kB / 0.8959 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.3836, allocations: 55.98 kB / 0.896 GB, free: 10.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0007787/0.3844, allocations: 485.2 kB / 0.8964 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.3846, allocations: 165.9 kB / 0.8966 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.3871, allocations: 1.159 MB / 0.8977 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3872, allocations: 8 kB / 0.8977 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3872, allocations: 0 / 0.8977 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001889/0.3891, allocations: 0.9978 MB / 0.8987 GB, free: 7.59 MB / 0.7169 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.004291/0.3934, allocations: 2.483 MB / 0.9011 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.3934, allocations: 3.953 kB / 0.9011 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/0.3941, allocations: 151.9 kB / 0.9013 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.3943, allocations: 40.77 kB / 0.9013 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.3944, allocations: 27.98 kB / 0.9013 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.3956, allocations: 1.378 MB / 0.9027 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3957, allocations: 4.062 kB / 0.9027 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.3989, allocations: 1.635 MB / 0.9043 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007323/0.3996, allocations: 362.6 kB / 0.9046 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.3999, allocations: 15.98 kB / 0.9046 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.4009, allocations: 111.9 kB / 0.9047 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.401, allocations: 56.44 kB / 0.9048 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.4011, allocations: 35.97 kB / 0.9048 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001654/0.4027, allocations: 1.133 MB / 0.9059 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4027, allocations: 4 kB / 0.9059 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002772/0.4055, allocations: 0.9357 MB / 0.9069 GB, free: 14.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005281/0.4108, allocations: 2.984 MB / 0.9098 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00371/0.4145, allocations: 1.705 MB / 0.9114 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.4146, allocations: 5.75 kB / 0.9114 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.4158, allocations: 0.5643 MB / 0.912 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/0.4193, allocations: 0.7387 MB / 0.9127 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3426/0.7619, allocations: 12.31 MB / 0.9247 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/0.7629, allocations: 1.405 MB / 0.9261 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001861/0.7648, allocations: 425.3 kB / 0.9265 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008819/0.7657, allocations: 0.7265 MB / 0.9272 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/0.7657, allocations: 0 / 0.9272 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.872/4.638, allocations: 47.2 MB / 0.9733 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/4.638, allocations: 249.2 kB / 0.9736 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.673/8.311, allocations: 0 / 0.9736 GB, free: 103.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: