Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001257/0.001257, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001412/0.001412, allocations: 67.89 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2451, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.4922/0.7373, allocations: 4.737 MB / 0.7894 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004732/0.7421, allocations: 2.169 MB / 0.7915 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.7433, allocations: 34.41 kB / 0.7916 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.7439, allocations: 188.7 kB / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.7447, allocations: 184.9 kB / 0.7919 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.7468, allocations: 0.8278 MB / 0.7927 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.7488, allocations: 1.852 MB / 0.7945 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.7508, allocations: 1.488 MB / 0.796 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.7514, allocations: 0.6357 MB / 0.7966 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.752, allocations: 0.6661 MB / 0.7973 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.7522, allocations: 188.7 kB / 0.7974 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.7527, allocations: 293.8 kB / 0.7977 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.753, allocations: 413.5 kB / 0.7981 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.7536, allocations: 0.7332 MB / 0.7988 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.7562, allocations: 2.1 MB / 0.8009 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.7563, allocations: 0.5 kB / 0.8009 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.366e-06/0.7563, allocations: 1.906 kB / 0.8009 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.344e-05/0.7563, allocations: 0.5 kB / 0.8009 GB, free: 42.69 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.003503/0.7598, allocations: 1.669 MB / 0.8025 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.7599, allocations: 8.406 kB / 0.8025 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.7602, allocations: 161.4 kB / 0.8027 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.7615, allocations: 0.7533 MB / 0.8034 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.7617, allocations: 128 kB / 0.8035 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.7619, allocations: 161.1 kB / 0.8037 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.765, allocations: 1.606 MB / 0.8053 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.765, allocations: 5.344 kB / 0.8053 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7651, allocations: 60.42 kB / 0.8053 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/0.7652, allocations: 37.97 kB / 0.8054 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.7678, allocations: 1.214 MB / 0.8065 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008589/0.7764, allocations: 5.651 MB / 0.8121 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.7786, allocations: 1.044 MB / 0.8131 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.7795, allocations: 489.8 kB / 0.8135 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.7796, allocations: 15.23 kB / 0.8136 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.7806, allocations: 0.523 MB / 0.8141 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=118): time 5.23e-06/0.7806, allocations: 1.125 kB / 0.8141 GB, free: 34.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118): time 0.002634/0.7833, allocations: 1.205 MB / 0.8152 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.7833, allocations: 79.16 kB / 0.8153 GB, free: 34.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.7844, allocations: 0.6576 MB / 0.816 GB, free: 33.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.7846, allocations: 75.75 kB / 0.816 GB, free: 33.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.7851, allocations: 0.5423 MB / 0.8166 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.7854, allocations: 313.7 kB / 0.8169 GB, free: 33.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/0.786, allocations: 338.2 kB / 0.8172 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7861, allocations: 343.5 kB / 0.8175 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.7869, allocations: 407.8 kB / 0.8179 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.788, allocations: 0.7576 MB / 0.8186 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.7894, allocations: 0.997 MB / 0.8196 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.7894, allocations: 3.375 kB / 0.8196 GB, free: 31.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002559/0.792, allocations: 1.237 MB / 0.8208 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.792, allocations: 12.03 kB / 0.8208 GB, free: 30.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.7921, allocations: 15.12 kB / 0.8209 GB, free: 30.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.474e-05/0.7922, allocations: 18.59 kB / 0.8209 GB, free: 30.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.7929, allocations: 182 kB / 0.821 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.636e-05/0.7929, allocations: 22.67 kB / 0.8211 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.7938, allocations: 169.5 kB / 0.8212 GB, free: 30.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.794, allocations: 62.67 kB / 0.8213 GB, free: 30.52 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 121 ($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.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,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.booleanExpression.y,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,PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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.0008243/0.7948, allocations: 417.7 kB / 0.8217 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.795, allocations: 96.28 kB / 0.8218 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.797, allocations: 1.036 MB / 0.8228 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.7971, allocations: 6.609 kB / 0.8228 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.7971, allocations: 0 / 0.8228 GB, free: 29.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.7975, allocations: 259.2 kB / 0.823 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.7976, allocations: 28.28 kB / 0.8231 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.7981, allocations: 58.52 kB / 0.8231 GB, free: 29.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.7984, allocations: 134.9 kB / 0.8233 GB, free: 29.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002154/0.8006, allocations: 1.083 MB / 0.8243 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002609/0.8032, allocations: 1.692 MB / 0.826 GB, free: 28.19 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008014/0.804, allocations: 0.4955 MB / 0.8265 GB, free: 27.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005592/0.8046, allocations: 378.5 kB / 0.8268 GB, free: 27.81 MB / 0.6544 GB Notification: Performance of Backend: time 7.31e-07/0.8046, allocations: 0 / 0.8268 GB, free: 27.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.8069, allocations: 0.8785 MB / 0.8277 GB, free: 27.43 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004043/0.811, allocations: 2.289 MB / 0.8299 GB, free: 26.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.03498/0.846, allocations: 13.81 MB / 0.8434 GB, free: 22.47 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe 2>&1)