Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.491/2.491, allocations: 252.6 MB / 265.2 MB, free: 5.652 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.002099/0.002099, allocations: 183.8 kB / 324.5 MB, free: 14.44 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.226/2.226, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.00112/0.00112, allocations: 95.8 kB / 0.6797 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.458e-05, allocations: 4 kB / 0.7911 GB, free: 96.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 106.2 MB / 0.8949 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8962/1.109, allocations: 138.9 MB / 1.03 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.109, allocations: 93.19 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07459/1.184, allocations: 17.15 MB / 1.047 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.354e-06/1.184, allocations: 0 / 1.047 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.158e-05/1.184, allocations: 20 kB / 1.047 GB, free: 13.01 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001949/1.186, allocations: 0.9027 MB / 1.048 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.186, allocations: 8.031 kB / 1.048 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/1.186, allocations: 94.75 kB / 1.048 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/1.188, allocations: 492.4 kB / 1.049 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/1.188, allocations: 84.14 kB / 1.049 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.188, allocations: 54.61 kB / 1.049 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.189, allocations: 0.528 MB / 1.049 GB, free: 11 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.189, allocations: 4 kB / 1.049 GB, free: 11 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/1.189, allocations: 22.23 kB / 1.049 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/1.189, allocations: 12 kB / 1.049 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/1.19, allocations: 345.8 kB / 1.05 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/1.194, allocations: 2.073 MB / 1.052 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/1.195, allocations: 286.9 kB / 1.052 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/1.195, allocations: 145.2 kB / 1.052 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/1.195, allocations: 12.31 kB / 1.052 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/1.196, allocations: 207.9 kB / 1.052 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 8.045e-06/1.196, allocations: 3.984 kB / 1.052 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.001062/1.197, allocations: 355.7 kB / 1.053 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/1.197, allocations: 114.5 kB / 1.053 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.199, allocations: 0.6712 MB / 1.054 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.199, allocations: 55.44 kB / 1.054 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/1.199, allocations: 360.3 kB / 1.054 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/1.199, allocations: 108.1 kB / 1.054 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/1.199, allocations: 11.38 kB / 1.054 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.2, allocations: 328.8 kB / 1.054 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/1.2, allocations: 129.7 kB / 1.055 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/1.201, allocations: 311.2 kB / 1.055 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/1.201, allocations: 144.6 kB / 1.055 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.201, allocations: 0 / 1.055 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001321/1.202, allocations: 0.4979 MB / 1.055 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/1.202, allocations: 8 kB / 1.055 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.202, allocations: 4 kB / 1.055 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/1.202, allocations: 8 kB / 1.055 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/1.203, allocations: 75.55 kB / 1.056 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/1.203, allocations: 15.94 kB / 1.056 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/1.204, allocations: 51.06 kB / 1.056 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.522e-05/1.204, allocations: 30.8 kB / 1.056 GB, free: 5.742 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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.0002401/1.204, allocations: 158.8 kB / 1.056 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.204, allocations: 83.06 kB / 1.056 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.205, allocations: 429.9 kB / 1.056 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.205, allocations: 4 kB / 1.056 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.205, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.205, allocations: 3.984 kB / 1.056 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/1.208, allocations: 1.104 MB / 1.057 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.208, allocations: 0 / 1.057 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.208, allocations: 31.92 kB / 1.057 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.208, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/1.208, allocations: 14.55 kB / 1.057 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.208, allocations: 7.953 kB / 1.057 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.208, allocations: 0 / 1.057 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.209, allocations: 498.9 kB / 1.058 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/1.21, allocations: 171.1 kB / 1.058 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.21, allocations: 13.94 kB / 1.058 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.21, allocations: 19.17 kB / 1.058 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.21, allocations: 54.75 kB / 1.058 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/1.21, allocations: 15.94 kB / 1.058 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001046/1.212, allocations: 0.4955 MB / 1.059 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.212, allocations: 0 / 1.059 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008535/1.212, allocations: 143.9 kB / 1.059 GB, free: 3.066 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001389/1.214, allocations: 433.9 kB / 1.059 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.215, allocations: 382 kB / 1.06 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.215, allocations: 0 / 1.06 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/1.215, allocations: 190 kB / 1.06 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/1.216, allocations: 108.4 kB / 1.06 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.219, allocations: 0.8886 MB / 1.061 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/1.22, allocations: 0.9671 MB / 1.062 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006286/1.22, allocations: 100.8 kB / 1.062 GB, free: 428 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/1.221, allocations: 55.3 kB / 1.062 GB, free: 376 kB / 0.6667 GB Notification: Performance of SimCode: time 1.543e-06/1.221, allocations: 4 kB / 1.062 GB, free: 372 kB / 0.6667 GB Notification: Performance of Templates: time 0.02464/1.245, allocations: 6.891 MB / 1.069 GB, free: 9.531 MB / 0.6823 GB