Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.619/4.619, allocations: 0.5623 GB / 0.5775 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002745/0.002744, allocations: 360.5 kB / 0.6446 GB, free: 21.7 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.418/4.418, allocations: 410.7 MB / 1.113 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 194.4 kB / 1.226 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005228, allocations: 14.12 kB / 1.349 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2668, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.009785/0.2767, allocations: 4.148 MB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007495/0.2842, allocations: 2.096 MB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.2857, allocations: 31.88 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.2864, allocations: 122.8 kB / 1.468 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2875, allocations: 157.7 kB / 1.468 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.2901, allocations: 0.5748 MB / 1.468 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.2928, allocations: 1.592 MB / 1.47 GB, free: 212 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.295, allocations: 1.098 MB / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.2957, allocations: 427.1 kB / 1.471 GB, free: 210.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.2964, allocations: 481.4 kB / 1.472 GB, free: 210 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.2966, allocations: 53.88 kB / 1.472 GB, free: 210 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.2971, allocations: 147.8 kB / 1.472 GB, free: 209.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.2973, allocations: 235 kB / 1.472 GB, free: 209.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2976, allocations: 253 kB / 1.472 GB, free: 209.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.2995, allocations: 1.521 MB / 1.474 GB, free: 207.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2996, allocations: 0 / 1.474 GB, free: 207.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2996, allocations: 0 / 1.474 GB, free: 207.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.937e-05/0.2996, allocations: 0.5938 kB / 1.474 GB, free: 207.8 MB / 0.8073 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.003448/0.3031, allocations: 1.388 MB / 1.475 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3032, allocations: 8.75 kB / 1.475 GB, free: 206.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.3036, allocations: 166.1 kB / 1.475 GB, free: 206.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.3052, allocations: 0.7216 MB / 1.476 GB, free: 205.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3054, allocations: 127 kB / 1.476 GB, free: 205.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.3058, allocations: 161.6 kB / 1.476 GB, free: 205.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.3097, allocations: 1.597 MB / 1.478 GB, free: 203.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.9e-05/0.3098, allocations: 3.938 kB / 1.478 GB, free: 203.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.31, allocations: 63.98 kB / 1.478 GB, free: 203.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.31, allocations: 42.3 kB / 1.478 GB, free: 203.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.3136, allocations: 1.205 MB / 1.479 GB, free: 202.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009762/0.3234, allocations: 5.681 MB / 1.485 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.3262, allocations: 1.059 MB / 1.486 GB, free: 195.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.3274, allocations: 485.5 kB / 1.486 GB, free: 194.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3276, allocations: 14.66 kB / 1.486 GB, free: 194.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.329, allocations: 0.5147 MB / 1.487 GB, free: 194.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=118): time 4.709e-06/0.329, allocations: 0 / 1.487 GB, free: 194.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118): time 0.003253/0.3323, allocations: 1.195 MB / 1.488 GB, free: 193.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3324, allocations: 81.06 kB / 1.488 GB, free: 193 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3334, allocations: 0.6558 MB / 1.489 GB, free: 192.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.3337, allocations: 75.11 kB / 1.489 GB, free: 192.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.3342, allocations: 0.5388 MB / 1.489 GB, free: 191.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/0.3346, allocations: 311.9 kB / 1.49 GB, free: 191.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.3347, allocations: 24 kB / 1.49 GB, free: 191.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3348, allocations: 407.4 kB / 1.49 GB, free: 191 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.336, allocations: 406.8 kB / 1.49 GB, free: 190.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.3374, allocations: 0.7517 MB / 1.491 GB, free: 189.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3386, allocations: 418.6 kB / 1.492 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.3387, allocations: 3 kB / 1.492 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00313/0.3418, allocations: 1.23 MB / 1.493 GB, free: 188.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.3419, allocations: 8 kB / 1.493 GB, free: 188.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.3419, allocations: 15.98 kB / 1.493 GB, free: 188 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.342, allocations: 16 kB / 1.493 GB, free: 188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3431, allocations: 179.6 kB / 1.493 GB, free: 187.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.3432, allocations: 19.94 kB / 1.493 GB, free: 187.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3444, allocations: 190.7 kB / 1.493 GB, free: 187.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.3446, allocations: 68.47 kB / 1.493 GB, free: 187.6 MB / 0.8073 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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,controlBus.controlMode,$PRE.operationModes.initialStepWithSignal.localActive,operationModes.initialStepWithSignal.localActive,$PRE.operationModes.initialStepWithSignal.newActive,operationModes.initialStepWithSignal.newActive,$PRE.operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.active,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.condition,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t1.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.condition,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.condition,operationModes.t3.enableFire,operationModes.t4.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.condition,operationModes.t7.enableFire,operationModes.booleanExpression.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.condition,operationModes.t9.enableFire,operationModes.not1.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.sum.u[6],operationModes.yFan,operationModes.yEco,operationModes.or2.y,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,operationModes.preCooSta.and3.u[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008829/0.3455, allocations: 429.5 kB / 1.494 GB, free: 187.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3457, allocations: 86.88 kB / 1.494 GB, free: 187.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.3483, allocations: 1.031 MB / 1.495 GB, free: 186 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.3484, allocations: 7.969 kB / 1.495 GB, free: 186 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3484, allocations: 0 / 1.495 GB, free: 186 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.3489, allocations: 263.6 kB / 1.495 GB, free: 185.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.3491, allocations: 28.55 kB / 1.495 GB, free: 185.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/0.3499, allocations: 76.22 kB / 1.495 GB, free: 185.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/0.3503, allocations: 156.1 kB / 1.495 GB, free: 185.5 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003014/0.3534, allocations: 1.091 MB / 1.496 GB, free: 184.4 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003537/0.357, allocations: 1.684 MB / 1.498 GB, free: 182.7 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.358, allocations: 0.4922 MB / 1.498 GB, free: 182.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005632/0.3586, allocations: 371.1 kB / 1.499 GB, free: 181.9 MB / 0.8073 GB Notification: Performance of Backend: time 5.01e-07/0.3586, allocations: 0 / 1.499 GB, free: 181.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.3611, allocations: 0.8558 MB / 1.5 GB, free: 181 MB / 0.8073 GB Notification: Performance of SimCode: time 0.004763/0.3659, allocations: 2.701 MB / 1.502 GB, free: 178.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.03436/0.4004, allocations: 12.28 MB / 1.514 GB, free: 166.1 MB / 0.8073 GB