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.199/2.199, allocations: 252.6 MB / 265.2 MB, free: 5.672 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001482, allocations: 193.4 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001145/0.001144, allocations: 105.6 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.243e-05, allocations: 11.98 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8469/1.038, allocations: 144.9 MB / 1.036 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.039, allocations: 92.5 kB / 1.037 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1287/1.167, allocations: 29.01 MB / 1.065 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/1.167, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001225/1.168, allocations: 39.94 kB / 1.065 GB, free: 12.93 MB / 0.6823 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.004285/1.172, allocations: 1.39 MB / 1.066 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.172, allocations: 8.031 kB / 1.066 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/1.173, allocations: 170.1 kB / 1.066 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/1.175, allocations: 0.7611 MB / 1.067 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.175, allocations: 132.8 kB / 1.067 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/1.176, allocations: 168.2 kB / 1.067 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004451/1.18, allocations: 1.623 MB / 1.069 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.083e-05/1.18, allocations: 3.938 kB / 1.069 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/1.181, allocations: 65.42 kB / 1.069 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/1.181, allocations: 40 kB / 1.069 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/1.184, allocations: 1.167 MB / 1.07 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/1.196, allocations: 5.811 MB / 1.076 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/1.2, allocations: 1.082 MB / 1.077 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/1.201, allocations: 496.9 kB / 1.077 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/1.201, allocations: 20.11 kB / 1.077 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.203, allocations: 0.6186 MB / 1.078 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 4.869e-06/1.203, allocations: 4 kB / 1.078 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.002786/1.206, allocations: 0.9568 MB / 1.079 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.206, allocations: 149.5 kB / 1.079 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/1.207, allocations: 0.5939 MB / 1.08 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002867/1.207, allocations: 78.38 kB / 1.08 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.208, allocations: 0.5417 MB / 1.08 GB, free: 368 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/1.208, allocations: 313.4 kB / 1.081 GB, free: 104 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/1.208, allocations: 33.62 kB / 1.081 GB, free: 92 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000256/1.209, allocations: 414.4 kB / 1.081 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.21, allocations: 444.4 kB / 1.082 GB, free: 15.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/1.212, allocations: 0.7742 MB / 1.082 GB, free: 14.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.213, allocations: 491.7 kB / 1.083 GB, free: 14.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/1.213, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003956/1.217, allocations: 1.435 MB / 1.084 GB, free: 12.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/1.217, allocations: 49.69 kB / 1.084 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/1.217, allocations: 12.16 kB / 1.084 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.802e-05/1.217, allocations: 20 kB / 1.084 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.219, allocations: 187.5 kB / 1.084 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.074e-05/1.219, allocations: 23.92 kB / 1.084 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.22, allocations: 187.1 kB / 1.085 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.221, allocations: 71.98 kB / 1.085 GB, free: 12.25 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 () * 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.0005317/1.221, allocations: 279.4 kB / 1.085 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.221, allocations: 90.97 kB / 1.085 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.225, allocations: 1.104 MB / 1.086 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.225, allocations: 16 kB / 1.086 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.225, allocations: 0 / 1.086 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.225, allocations: 7.969 kB / 1.086 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/1.231, allocations: 2.55 MB / 1.089 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.231, allocations: 4 kB / 1.089 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.233, allocations: 111.8 kB / 1.089 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/1.233, allocations: 11.95 kB / 1.089 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.233, allocations: 35.97 kB / 1.089 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.233, allocations: 4 kB / 1.089 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.233, allocations: 0 / 1.089 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/1.237, allocations: 1.725 MB / 1.09 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/1.238, allocations: 267.6 kB / 1.091 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.238, allocations: 32 kB / 1.091 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.239, allocations: 87.86 kB / 1.091 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/1.24, allocations: 157.1 kB / 1.091 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.24, allocations: 51.91 kB / 1.091 GB, free: 5.621 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007066/1.241, allocations: 371.2 kB / 1.091 GB, free: 5.266 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.241, allocations: 0 / 1.091 GB, free: 5.266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001409/1.242, allocations: 307.5 kB / 1.092 GB, free: 4.965 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) * 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.0004688/1.243, allocations: 212.7 kB / 1.092 GB, free: 4.742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003432/1.246, allocations: 1.317 MB / 1.093 GB, free: 3.414 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.246, allocations: 0 / 1.093 GB, free: 3.414 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.248, allocations: 0.5742 MB / 1.094 GB, free: 2.844 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.249, allocations: 189.4 kB / 1.094 GB, free: 2.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/1.254, allocations: 1.64 MB / 1.096 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.255, allocations: 1.15 MB / 1.097 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0012/1.256, allocations: 180.5 kB / 1.097 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/1.257, allocations: 95.41 kB / 1.097 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of SimCode: time 1.303e-06/1.257, allocations: 0 / 1.097 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.03997/1.297, allocations: 12.09 MB / 1.109 GB, free: 3.555 MB / 0.7136 GB