Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",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.0014/0.0014, allocations: 99 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.001617/0.001618, 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.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.795/1.795, 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.0005127/0.0005127, allocations: 15.75 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 116.3 MB / 0.7873 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001843/0.226, allocations: 1.443 MB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2271, allocations: 0.6914 MB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.2272, allocations: 0 / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.2273, allocations: 11.86 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2274, allocations: 39.86 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.2282, allocations: 352.9 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.2286, allocations: 235.6 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2287, allocations: 52.25 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2288, allocations: 135.7 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.229, allocations: 127.5 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2291, allocations: 20 kB / 0.7903 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.2291, allocations: 24 kB / 0.7903 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.2292, allocations: 47.81 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.2293, allocations: 85.56 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.2296, allocations: 271.6 kB / 0.7907 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2296, allocations: 4 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2296, allocations: 0 / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2296, allocations: 0 / 0.7907 GB, free: 8.344 MB / 0.6075 GB 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.0007197/0.2303, allocations: 0.5457 MB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2304, allocations: 8.031 kB / 0.7912 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.2304, allocations: 54.53 kB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.2305, allocations: 31.72 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.2313, allocations: 319.6 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.2314, allocations: 28.25 kB / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.2314, allocations: 36 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2317, allocations: 172.2 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2317, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.2318, allocations: 11.98 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2318, allocations: 11.94 kB / 0.7919 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.232, allocations: 112.1 kB / 0.792 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009625/0.2329, allocations: 0.5975 MB / 0.7925 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.2333, allocations: 206.5 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.2333, allocations: 4 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.2337, allocations: 254.8 kB / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.033e-06/0.2337, allocations: 0 / 0.793 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006677/0.2344, allocations: 404.1 kB / 0.7934 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.2344, allocations: 67.36 kB / 0.7934 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2346, allocations: 187 kB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.2347, allocations: 45.7 kB / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2348, allocations: 132.8 kB / 0.7938 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.2349, allocations: 98.88 kB / 0.7939 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2349, allocations: 12 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2351, allocations: 338.8 kB / 0.7942 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.2353, allocations: 145 kB / 0.7944 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.2357, allocations: 271.2 kB / 0.7946 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.236, allocations: 233 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.236, allocations: 0 / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008552/0.2369, allocations: 0.5769 MB / 0.7954 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.2369, allocations: 101.2 kB / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.237, allocations: 0 / 0.7955 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.237, allocations: 8 kB / 0.7955 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2372, allocations: 43.86 kB / 0.7955 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.2372, allocations: 11.94 kB / 0.7956 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.2377, allocations: 131.5 kB / 0.7957 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.2378, allocations: 35.98 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002352/0.238, allocations: 167.8 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.2381, allocations: 27.8 kB / 0.7959 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.2381, allocations: 30.64 kB / 0.7959 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2382, allocations: 4 kB / 0.7959 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2382, allocations: 3.938 kB / 0.7959 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2382, allocations: 7.984 kB / 0.7959 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.2391, allocations: 0.6974 MB / 0.7966 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.2391, allocations: 3.984 kB / 0.7966 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.2392, allocations: 15.94 kB / 0.7966 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2392, allocations: 4 kB / 0.7967 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2392, allocations: 11.98 kB / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2392, allocations: 0 / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2392, allocations: 3.953 kB / 0.7967 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.2397, allocations: 430.9 kB / 0.7971 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.2398, allocations: 108.7 kB / 0.7972 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.2398, allocations: 11.98 kB / 0.7972 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.24, allocations: 4 kB / 0.7972 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.24, allocations: 31.91 kB / 0.7972 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.2401, allocations: 19.98 kB / 0.7972 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.721e-05/0.2401, allocations: 126.3 kB / 0.7974 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2402, allocations: 4 kB / 0.7974 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003798/0.2405, allocations: 95.98 kB / 0.7975 GB, free: 0.9453 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0008095/0.2414, allocations: 0.9722 MB / 0.7984 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007142/0.2421, allocations: 0.5368 MB / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2421, allocations: 0 / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2423, allocations: 139.9 kB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2426, allocations: 36.84 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2446, allocations: 3.055 MB / 0.8021 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2449, allocations: 0.7526 MB / 0.8028 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000112/0.245, allocations: 34.97 kB / 0.8029 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.2451, allocations: 71.42 kB / 0.8029 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2451, allocations: 0 / 0.8029 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.2627, allocations: 5.422 MB / 0.8082 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.2629, allocations: 190.8 kB / 0.8084 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.182, allocations: 3.938 kB / 0.8084 GB, free: 5.648 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) Environment - environmentSimulation: