Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 99.86 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.001684/0.001684, 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.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3914/0.3914, allocations: 54.99 MB / 325.4 MB, free: 0.7539 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: Annex60 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.0005007/0.0005008, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2926, allocations: 60.72 MB / 457.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Validation.ControlledFlowMachine): time 0.573/0.8657, allocations: 301.1 MB / 0.7406 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05535/0.9211, allocations: 45 MB / 0.7845 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0117/0.9328, allocations: 147 kB / 0.7847 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.9443, allocations: 2.621 MB / 0.7872 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02579/0.9701, allocations: 7.445 MB / 0.7945 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01687/0.987, allocations: 4.953 MB / 0.7994 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01664/1.004, allocations: 7.809 MB / 0.807 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007912/1.012, allocations: 3.418 MB / 0.8103 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/1.026, allocations: 5.181 MB / 0.8154 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005494/1.031, allocations: 2.771 MB / 0.8181 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001632/1.033, allocations: 240 kB / 0.8183 GB, free: 316 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009357/1.042, allocations: 2.933 MB / 0.8212 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003629/1.046, allocations: 2.107 MB / 0.8232 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003479/1.049, allocations: 1.381 MB / 0.8246 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/1.063, allocations: 8.436 MB / 0.8328 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.063, allocations: 0 / 0.8328 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.447e-06/1.063, allocations: 0 / 0.8328 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004154/1.064, allocations: 0 / 0.8328 GB, free: 1.406 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 770 * Number of variables: 770 Notification: Performance of Generate backend data structure: time 0.01927/1.083, allocations: 6.931 MB / 0.8396 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.083, allocations: 8.031 kB / 0.8396 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009801/1.093, allocations: 1.44 MB / 0.841 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/1.114, allocations: 10.9 MB / 0.8516 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/1.114, allocations: 258 kB / 0.8519 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/1.116, allocations: 352 kB / 0.8522 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01537/1.131, allocations: 4.74 MB / 0.8569 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/1.132, allocations: 7.906 kB / 0.8569 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000993/1.133, allocations: 124 kB / 0.857 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/1.133, allocations: 113.8 kB / 0.8571 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/1.144, allocations: 3.579 MB / 0.8606 GB, free: 4.648 MB / 0.5919 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.2832/1.427, allocations: 18.26 MB / 0.8784 GB, free: 230.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007071/1.434, allocations: 2.824 MB / 0.8812 GB, free: 229.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.583e-05/1.434, allocations: 37.53 kB / 0.8812 GB, free: 229.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005494/1.44, allocations: 2.444 MB / 0.8836 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003097/1.443, allocations: 399.8 kB / 0.884 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=170): time 7.885e-06/1.443, allocations: 0 / 0.884 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=170): time 0.01507/1.458, allocations: 4.959 MB / 0.8888 GB, free: 227.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.458, allocations: 457.3 kB / 0.8893 GB, free: 227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/1.473, allocations: 8.664 MB / 0.8977 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008702/1.474, allocations: 83.64 kB / 0.8978 GB, free: 223.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/1.476, allocations: 2.732 MB / 0.9005 GB, free: 221.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008772/1.477, allocations: 0.5891 MB / 0.901 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.477, allocations: 57.84 kB / 0.9011 GB, free: 221.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.477, allocations: 421.2 kB / 0.9015 GB, free: 220.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/1.48, allocations: 1.526 MB / 0.903 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.484, allocations: 2.763 MB / 0.9057 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/1.488, allocations: 1.865 MB / 0.9075 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/1.488, allocations: 9.594 kB / 0.9075 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01104/1.499, allocations: 4.866 MB / 0.9123 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.002916/1.502, allocations: 15.08 MB / 0.927 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.339e-05/1.502, allocations: 35.86 kB / 0.927 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.504, allocations: 414 kB / 0.9274 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006235/1.51, allocations: 1.12 MB / 0.9285 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/1.518, allocations: 5.521 MB / 0.9339 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005807/1.524, allocations: 452.4 kB / 0.9343 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005476/1.524, allocations: 242.1 kB / 0.9346 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.524, allocations: 3.938 kB / 0.9346 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006696/1.531, allocations: 4.658 MB / 0.9391 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.068e-05/1.531, allocations: 34.75 kB / 0.9392 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/1.533, allocations: 0.6649 MB / 0.9398 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/1.535, allocations: 0.6321 MB / 0.9404 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.546, allocations: 8.731 MB / 0.949 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.551, allocations: 321.9 kB / 0.9493 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/1.552, allocations: 207.3 kB / 0.9495 GB, free: 188.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (328): * Single equations (assignments): 316 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003311/1.555, allocations: 1.559 MB / 0.951 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.557, allocations: 0.5259 MB / 0.9515 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008618/1.565, allocations: 3.612 MB / 0.955 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.565, allocations: 16 kB / 0.955 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.565, allocations: 0 / 0.955 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006498/1.572, allocations: 3.164 MB / 0.9581 GB, free: 182.5 MB / 0.5919 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.01574/1.588, allocations: 7.812 MB / 0.9658 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.588, allocations: 8.047 kB / 0.9658 GB, free: 174.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004622/1.592, allocations: 0.9412 MB / 0.9667 GB, free: 173.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/1.593, allocations: 406.7 kB / 0.9671 GB, free: 173.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.594, allocations: 51.97 kB / 0.9671 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/1.599, allocations: 5.118 MB / 0.9721 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.599, allocations: 4.031 kB / 0.9721 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.61, allocations: 5.082 MB / 0.9771 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/1.613, allocations: 0.8961 MB / 0.978 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.614, allocations: 40 kB / 0.978 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/1.618, allocations: 411.2 kB / 0.9784 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.619, allocations: 121.7 kB / 0.9785 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.619, allocations: 95.94 kB / 0.9786 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007115/1.626, allocations: 6.238 MB / 0.9847 GB, free: 155 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.626, allocations: 0 / 0.9847 GB, free: 155 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00903/1.635, allocations: 2.641 MB / 0.9873 GB, free: 152.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/1.636, allocations: 0.6102 MB / 0.9879 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.652, allocations: 6.917 MB / 0.9946 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.652, allocations: 4.438 kB / 0.9946 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007075/1.659, allocations: 2.147 MB / 0.9967 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/1.671, allocations: 3.215 MB / 0.9999 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.687, allocations: 11.89 MB / 1.011 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.689, allocations: 3.448 MB / 1.015 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006286/1.696, allocations: 1.501 MB / 1.016 GB, free: 122.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.697, allocations: 419.3 kB / 1.017 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.697, allocations: 0 / 1.017 GB, free: 122.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.3753/2.072, allocations: 124.7 MB / 1.138 GB, free: 223.7 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: