Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 162 kB / 24.97 MB, free: 8.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8799/0.8799, allocations: 177.1 MB / 205.4 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.881/1.881, allocations: 389.6 MB / 0.6362 GB, free: 13.38 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.603e-05, allocations: 9.547 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.004303/0.004319, allocations: 4.632 MB / 0.7805 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.006703, allocations: 2.177 MB / 0.7827 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.006994, allocations: 35.75 kB / 0.7827 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.007318, allocations: 189.9 kB / 0.7829 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.007699, allocations: 205.9 kB / 0.7831 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009477/0.008647, allocations: 0.8422 MB / 0.7839 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.009742, allocations: 1.89 MB / 0.7857 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009986/0.01074, allocations: 1.209 MB / 0.7869 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.01134, allocations: 0.9746 MB / 0.7879 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003798/0.01172, allocations: 0.4985 MB / 0.7884 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.01186, allocations: 188 kB / 0.7885 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.01215, allocations: 299.8 kB / 0.7888 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.01236, allocations: 418.7 kB / 0.7892 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.01265, allocations: 0.491 MB / 0.7897 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.01356, allocations: 1.335 MB / 0.791 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01356, allocations: 4 kB / 0.791 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01356, allocations: 0 / 0.791 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.01357, allocations: 0 / 0.791 GB, free: 14.45 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.001355/0.01492, allocations: 1.599 MB / 0.7926 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.01496, allocations: 8.031 kB / 0.7926 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.01552, allocations: 288.7 kB / 0.7929 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.0161, allocations: 0.5254 MB / 0.7934 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.01624, allocations: 127.3 kB / 0.7935 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.01635, allocations: 160.3 kB / 0.7936 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.01729, allocations: 1.141 MB / 0.7948 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.01732, allocations: 8.125 kB / 0.7948 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.01738, allocations: 63.94 kB / 0.7948 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.0174, allocations: 43.94 kB / 0.7949 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.01793, allocations: 464.4 kB / 0.7953 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.02082, allocations: 4.204 MB / 0.7994 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.02145, allocations: 0.6935 MB / 0.8001 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.02173, allocations: 229.7 kB / 0.8003 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.02177, allocations: 32.92 kB / 0.8003 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.02215, allocations: 451.4 kB / 0.8008 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=124): time 2.395e-06/0.02215, allocations: 0 / 0.8008 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of matching and sorting (n=124): time 0.000616/0.02277, allocations: 0.5914 MB / 0.8014 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.02285, allocations: 264.2 kB / 0.8016 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.02316, allocations: 0.5608 MB / 0.8022 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.02323, allocations: 85.69 kB / 0.8022 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.02343, allocations: 490.9 kB / 0.8027 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.0236, allocations: 345.2 kB / 0.803 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.02385, allocations: 343.2 kB / 0.8034 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.02393, allocations: 341.9 kB / 0.8037 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.02411, allocations: 142.8 kB / 0.8038 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.02444, allocations: 0.5762 MB / 0.8044 GB, free: 4 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.361/0.3854, allocations: 0.6964 MB / 0.8051 GB, free: 33.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/0.3854, allocations: 2.5 kB / 0.8051 GB, free: 33.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.0008377/0.3862, allocations: 0.7115 MB / 0.8058 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3863, allocations: 9.469 kB / 0.8058 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.3863, allocations: 10.84 kB / 0.8058 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3863, allocations: 15.88 kB / 0.8058 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.3868, allocations: 212.9 kB / 0.806 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.3868, allocations: 23.66 kB / 0.806 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.3871, allocations: 145.1 kB / 0.8062 GB, free: 33.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.3872, allocations: 44.16 kB / 0.8062 GB, free: 33.03 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.start.t_start,$PRE.operationModes.start.t_start,operationModes.t5.t_start,$PRE.operationModes.t5.t_start,operationModes.t3.t_start,$PRE.operationModes.t3.t_start,operationModes.t4.t_start,$PRE.operationModes.t4.t_start,operationModes.t7.t_start,$PRE.operationModes.t7.t_start,operationModes.t9.t_start,$PRE.operationModes.t9.t_start,operationModes.t8.t_start,$PRE.operationModes.t8.t_start,PID.I.trigger_internal,operationModes.preCooSta.and3.u[2],occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,modSel1.y,modSel.y,operationModes.or2.y,operationModes.yEco,operationModes.yFan,operationModes.sum.u[6],operationModes.sum.u[5],operationModes.sum.u[4],operationModes.sum.u[3],operationModes.sum.u[2],operationModes.sum.u[1],operationModes.t8.enableFire,operationModes.not1.y,operationModes.t9.enableFire,operationModes.t9.localCondition,operationModes.preCooSta.and3.u[3],operationModes.preCooSta.and3.u[1],operationModes.t7.enableFire,operationModes.t7.localCondition,operationModes.morPreCoo.active,operationModes.morPreCoo.oldActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.localActive,operationModes.t4.enableFire,operationModes.t4.localCondition,operationModes.t3.enableFire,operationModes.t3.localCondition,operationModes.occ.active,operationModes.occ.oldActive,$PRE.operationModes.occ.oldActive,operationModes.occ.newActive,$PRE.operationModes.occ.newActive,operationModes.occ.inPort[3].occupied,operationModes.occ.inPort[2].occupied,operationModes.occ.localActive,$PRE.operationModes.occ.localActive,operationModes.t5.enableFire,operationModes.t5.localCondition,operationModes.t6.t_start,$PRE.operationModes.t6.t_start,operationModes.t6.fire,operationModes.t6.enableFire,operationModes.morWarUp.active,operationModes.morWarUp.oldActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.inPort[2].occupied,operationModes.morWarUp.localActive,$PRE.operationModes.morWarUp.localActive,operationModes.stateGraphRoot.activeSteps,operationModes.t1.t_start,$PRE.operationModes.t1.t_start,operationModes.t1.fire,operationModes.t1.enableFire,operationModes.t1.localCondition,operationModes.t2.t_start,$PRE.operationModes.t2.t_start,operationModes.t2.fire,operationModes.t2.enableFire,operationModes.t2.localCondition,operationModes.unOccNigSetBac.active,operationModes.unOccNigSetBac.oldActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.outPort[2].available,operationModes.unOccNigSetBac.localActive,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccOff.active,operationModes.unOccOff.oldActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.outPort[4].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.localActive,$PRE.operationModes.unOccOff.localActive,operationModes.start.enableFire,operationModes.initialStepWithSignal.active,operationModes.initialStepWithSignal.oldActive,$PRE.operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.newActive,$PRE.operationModes.initialStepWithSignal.newActive,operationModes.initialStepWithSignal.localActive,$PRE.operationModes.initialStepWithSignal.localActive,controlBus.controlMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,operationModes.start.condition,operationModes.stateGraphRoot.suspend,operationModes.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003461/0.3875, allocations: 286.9 kB / 0.8065 GB, free: 32.88 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3877, allocations: 93.17 kB / 0.8066 GB, free: 32.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.3882, allocations: 484.2 kB / 0.807 GB, free: 32.83 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3882, allocations: 8.25 kB / 0.807 GB, free: 32.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3882, allocations: 2.75 kB / 0.807 GB, free: 32.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.3884, allocations: 109.6 kB / 0.8071 GB, free: 32.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.3885, allocations: 28.06 kB / 0.8072 GB, free: 32.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3886, allocations: 45.53 kB / 0.8072 GB, free: 32.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.3888, allocations: 106.8 kB / 0.8073 GB, free: 32.82 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006231/0.3895, allocations: 1.132 MB / 0.8084 GB, free: 32.13 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008565/0.3903, allocations: 1.382 MB / 0.8098 GB, free: 31.33 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002737/0.3906, allocations: 260.3 kB / 0.81 GB, free: 31.31 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3907, allocations: 187 kB / 0.8102 GB, free: 31.29 MB / 0.7605 GB Notification: Performance of Backend: time 3.11e-07/0.3907, allocations: 0.6562 kB / 0.8102 GB, free: 31.29 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.3919, allocations: 0.6027 MB / 0.8108 GB, free: 31.2 MB / 0.7605 GB Notification: Performance of SimCode: time 0.002428/0.3943, allocations: 2.43 MB / 0.8132 GB, free: 29.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.02024/0.4145, allocations: 15.18 MB / 0.828 GB, free: 27.02 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe >> ../files/Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.sim & ./Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.992213868536055]