Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.144/2.144, allocations: 251.1 MB / 266.1 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001503, allocations: 172.1 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 94.44 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004687, allocations: 16.03 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/0.4538, allocations: 145 MB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.4542, allocations: 95.94 kB / 1.041 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7012/1.155, allocations: 29.04 MB / 1.069 GB, free: 143.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.155, allocations: 4.625 kB / 1.069 GB, free: 143.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001239/1.156, allocations: 33.97 kB / 1.069 GB, free: 143.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.004808/1.16, allocations: 1.484 MB / 1.07 GB, free: 143 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.161, allocations: 13.34 kB / 1.07 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008092/1.161, allocations: 170.6 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/1.164, allocations: 0.7534 MB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/1.164, allocations: 134.4 kB / 1.071 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/1.165, allocations: 163.5 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/1.17, allocations: 1.667 MB / 1.073 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/1.17, allocations: 10.56 kB / 1.073 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/1.17, allocations: 60.19 kB / 1.073 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/1.17, allocations: 41.2 kB / 1.073 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/1.174, allocations: 1.223 MB / 1.075 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/1.185, allocations: 5.809 MB / 1.08 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/1.189, allocations: 1.148 MB / 1.081 GB, free: 139.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/1.189, allocations: 25.39 kB / 1.081 GB, free: 139.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/1.191, allocations: 0.6403 MB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=123): time 4.569e-06/1.191, allocations: 0 / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.004506/1.195, allocations: 1.392 MB / 1.083 GB, free: 139 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/1.195, allocations: 150.3 kB / 1.083 GB, free: 138.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.197, allocations: 0.5931 MB / 1.084 GB, free: 138.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/1.197, allocations: 82.06 kB / 1.084 GB, free: 138.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005455/1.197, allocations: 0.5374 MB / 1.085 GB, free: 138.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/1.198, allocations: 322.3 kB / 1.085 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.198, allocations: 32.75 kB / 1.085 GB, free: 138.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.198, allocations: 408.9 kB / 1.085 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.2, allocations: 467.9 kB / 1.086 GB, free: 137.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.202, allocations: 0.8003 MB / 1.087 GB, free: 137.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/1.204, allocations: 0.5064 MB / 1.087 GB, free: 137.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.204, allocations: 2.844 kB / 1.087 GB, free: 137.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003794/1.207, allocations: 1.486 MB / 1.089 GB, free: 136.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/1.207, allocations: 57.42 kB / 1.089 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.207, allocations: 7.812 kB / 1.089 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.163e-05/1.208, allocations: 19.31 kB / 1.089 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.209, allocations: 188 kB / 1.089 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/1.209, allocations: 23.03 kB / 1.089 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.21, allocations: 190.9 kB / 1.089 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/1.211, allocations: 69.05 kB / 1.089 GB, free: 136.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 125 ($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,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.initialStep.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.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.t1.condition,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.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.enableFire,operationModes.t3.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.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.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.yFan,mode.u,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,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 (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * 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.001104/1.212, allocations: 430.1 kB / 1.09 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/1.212, allocations: 96.77 kB / 1.09 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/1.215, allocations: 1.158 MB / 1.091 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.215, allocations: 15.59 kB / 1.091 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.215, allocations: 0 / 1.091 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.215, allocations: 11.22 kB / 1.091 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/1.221, allocations: 2.594 MB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.222, allocations: 3.422 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/1.223, allocations: 118.4 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/1.223, allocations: 6.531 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/1.223, allocations: 29.56 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.223, allocations: 6.406 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.223, allocations: 3.953 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/1.227, allocations: 1.801 MB / 1.095 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/1.228, allocations: 259 kB / 1.095 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.228, allocations: 34.53 kB / 1.096 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.229, allocations: 90.41 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/1.23, allocations: 158.4 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.23, allocations: 49.25 kB / 1.096 GB, free: 133.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006449/1.23, allocations: 377.3 kB / 1.096 GB, free: 133 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.23, allocations: 0 / 1.096 GB, free: 133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001594/1.232, allocations: 307.4 kB / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (cap.T,PID.I.y,PID.D.x) * Number of discrete variables: 93 (operationModes.t6.enableFire,operationModes.t2.enableFire,operationModes.t1.enableFire,operationModes.morPreCoo.localActive,operationModes.occ.localActive,operationModes.morWarUp.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccOff.localActive,operationModes.initialStep.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,operationModes.initialStep.newActive,operationModes.initialStep.oldActive,operationModes.initialStep.active,operationModes.start.enableFire,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,operationModes.unOccOff.newActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,operationModes.unOccNigSetBac.outPort[2].available,operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.fire,operationModes.t2.t_start,operationModes.t2.condition,operationModes.t1.fire,operationModes.t1.t_start,operationModes.t1.condition,operationModes.stateGraphRoot.activeSteps,operationModes.morWarUp.inPort[2].occupied,operationModes.morWarUp.newActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.fire,operationModes.t6.t_start,operationModes.t5.enableFire,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,operationModes.occ.newActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.enableFire,operationModes.t3.condition,operationModes.t4.enableFire,operationModes.morPreCoo.newActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.enableFire,operationModes.t7.condition,operationModes.and1.u2,operationModes.and1.y,operationModes.preCooSta.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.enableFire,operationModes.and2.u2,operationModes.and2.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.yFan,mode.u,modSel.y,modSel1.y,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc) * Number of discrete states: 13 (occSch.tNonOcc,occSch.tOcc,operationModes.initialStep.newActive,operationModes.unOccOff.newActive,operationModes.unOccNigSetBac.newActive,operationModes.morWarUp.newActive,operationModes.occ.newActive,operationModes.morPreCoo.newActive,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0004473/1.233, allocations: 216.2 kB / 1.097 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003455/1.236, allocations: 1.373 MB / 1.098 GB, free: 132.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/1.236, allocations: 0 / 1.098 GB, free: 132.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.238, allocations: 0.5909 MB / 1.099 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.239, allocations: 181.8 kB / 1.099 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/1.244, allocations: 2.569 MB / 1.101 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/1.245, allocations: 1.153 MB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001095/1.246, allocations: 165.6 kB / 1.103 GB, free: 129 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.247, allocations: 94.19 kB / 1.103 GB, free: 128.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.834e-06/1.247, allocations: 0 / 1.103 GB, free: 128.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03406/1.281, allocations: 12.11 MB / 1.114 GB, free: 117.1 MB / 0.698 GB