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.255/2.255, allocations: 253.2 MB / 260.6 MB, free: 7.594 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.001493/0.001492, allocations: 189.8 kB / 319.9 MB, free: 3.066 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.005/2.005, allocations: 205.5 MB / 0.5708 GB, free: 15.22 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.00114/0.00114, allocations: 98.56 kB / 0.6751 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.19e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.884/1.088, allocations: 145.2 MB / 1.03 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.088, allocations: 93.81 kB / 1.031 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1183/1.206, allocations: 28.66 MB / 1.059 GB, free: 24 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.174e-06/1.206, allocations: 0 / 1.059 GB, free: 24 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000143/1.207, allocations: 40.05 kB / 1.059 GB, free: 15.98 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.004295/1.211, allocations: 1.399 MB / 1.06 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.211, allocations: 8.031 kB / 1.06 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/1.212, allocations: 166.1 kB / 1.06 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/1.214, allocations: 0.7639 MB / 1.061 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.214, allocations: 55.06 kB / 1.061 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/1.215, allocations: 106.7 kB / 1.061 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003363/1.218, allocations: 1.052 MB / 1.062 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/1.222, allocations: 1.417 MB / 1.063 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/1.222, allocations: 3.938 kB / 1.063 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/1.222, allocations: 11.98 kB / 1.063 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/1.222, allocations: 36 kB / 1.063 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/1.234, allocations: 5.546 MB / 1.069 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.236, allocations: 1.022 MB / 1.07 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.237, allocations: 460.9 kB / 1.07 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/1.238, allocations: 28.72 kB / 1.07 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/1.239, allocations: 0.5707 MB / 1.071 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 5.35e-06/1.239, allocations: 8 kB / 1.071 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.00259/1.242, allocations: 0.8832 MB / 1.072 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.242, allocations: 160.4 kB / 1.072 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/1.243, allocations: 0.5183 MB / 1.072 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002761/1.243, allocations: 57.31 kB / 1.072 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006277/1.244, allocations: 0.5381 MB / 1.073 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/1.244, allocations: 301.2 kB / 1.073 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/1.244, allocations: 4 kB / 1.073 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002404/1.245, allocations: 409.8 kB / 1.074 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.246, allocations: 407.4 kB / 1.074 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.247, allocations: 0.7348 MB / 1.075 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/1.248, allocations: 421 kB / 1.075 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.248, allocations: 0 / 1.075 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003619/1.252, allocations: 1.266 MB / 1.076 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.895e-05/1.252, allocations: 46.69 kB / 1.076 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.252, allocations: 11.98 kB / 1.076 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.244e-05/1.252, allocations: 20 kB / 1.077 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.254, allocations: 192.9 kB / 1.077 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.499e-05/1.254, allocations: 27.92 kB / 1.077 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.255, allocations: 139.7 kB / 1.077 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/1.256, allocations: 69.17 kB / 1.077 GB, free: 0.7812 MB / 0.6823 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.000505/1.256, allocations: 226.8 kB / 1.077 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.256, allocations: 94.86 kB / 1.077 GB, free: 480 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002953/1.259, allocations: 1.011 MB / 1.078 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.259, allocations: 12 kB / 1.078 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.259, allocations: 8 kB / 1.078 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/1.259, allocations: 7.969 kB / 1.078 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/1.266, allocations: 2.28 MB / 1.08 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.266, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.267, allocations: 122.6 kB / 1.081 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/1.267, allocations: 8 kB / 1.081 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.267, allocations: 15.59 kB / 1.081 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.277e-05/1.267, allocations: 4 kB / 1.081 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.267, allocations: 11.95 kB / 1.081 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/1.271, allocations: 1.615 MB / 1.082 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/1.272, allocations: 266 kB / 1.082 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/1.272, allocations: 7.375 kB / 1.082 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.273, allocations: 71.88 kB / 1.083 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/1.273, allocations: 161.8 kB / 1.083 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.274, allocations: 49.72 kB / 1.083 GB, free: 12.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005392/1.274, allocations: 312 kB / 1.083 GB, free: 12.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/1.274, allocations: 0 / 1.083 GB, free: 12.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001477/1.276, allocations: 255.2 kB / 1.083 GB, free: 11.83 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.0004771/1.276, allocations: 203.3 kB / 1.083 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00295/1.279, allocations: 1.234 MB / 1.085 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.279, allocations: 0.9375 kB / 1.085 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.28, allocations: 0.5397 MB / 1.085 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.282, allocations: 155.1 kB / 1.085 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/1.287, allocations: 1.571 MB / 1.087 GB, free: 8.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/1.288, allocations: 1.152 MB / 1.088 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00121/1.289, allocations: 172.2 kB / 1.088 GB, free: 7.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/1.29, allocations: 90.22 kB / 1.088 GB, free: 7.535 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.29, allocations: 0 / 1.088 GB, free: 7.535 MB / 0.698 GB Notification: Performance of Templates: time 0.03813/1.328, allocations: 11.34 MB / 1.099 GB, free: 12.31 MB / 0.7136 GB