Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.616/1.616, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 178.9 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007713/0.0007717, allocations: 95.97 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 12 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6386, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.82, allocations: 149.4 MB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.8203, allocations: 95.28 kB / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03715/0.8574, allocations: 14.55 MB / 1.186 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8575, allocations: 0 / 1.186 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.62e-05/0.8576, allocations: 12.66 kB / 1.186 GB, free: 13.87 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001681/0.8592, allocations: 0.9337 MB / 1.187 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8593, allocations: 12.03 kB / 1.187 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.8595, allocations: 87.89 kB / 1.187 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.8603, allocations: 469 kB / 1.188 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.8604, allocations: 47.38 kB / 1.188 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.8605, allocations: 56.38 kB / 1.188 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.8615, allocations: 0.6214 MB / 1.189 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.8615, allocations: 4.938 kB / 1.189 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.8616, allocations: 27.94 kB / 1.189 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.8616, allocations: 13.12 kB / 1.189 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.8623, allocations: 375.6 kB / 1.189 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.8651, allocations: 2.579 MB / 1.192 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.8658, allocations: 381 kB / 1.192 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.8661, allocations: 177.5 kB / 1.192 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.8662, allocations: 11.98 kB / 1.192 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/0.8666, allocations: 290.5 kB / 1.192 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=44): time 2.614e-06/0.8666, allocations: 0 / 1.192 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44): time 0.0009295/0.8675, allocations: 0.4967 MB / 1.193 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8677, allocations: 221.6 kB / 1.193 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.8684, allocations: 0.6282 MB / 1.194 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.8685, allocations: 49.7 kB / 1.194 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.8687, allocations: 356.5 kB / 1.194 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.8688, allocations: 107.4 kB / 1.194 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.8689, allocations: 8 kB / 1.194 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8691, allocations: 390.7 kB / 1.195 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.8693, allocations: 133.2 kB / 1.195 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.8697, allocations: 355.5 kB / 1.195 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.8703, allocations: 422.3 kB / 1.195 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8703, allocations: 0 / 1.195 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008521/0.8711, allocations: 0.5389 MB / 1.196 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.8712, allocations: 12.77 kB / 1.196 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8712, allocations: 4 kB / 1.196 GB, free: 3.535 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.8712, allocations: 12 kB / 1.196 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.8714, allocations: 77.7 kB / 1.196 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.8715, allocations: 17.86 kB / 1.196 GB, free: 3.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.8717, allocations: 43.69 kB / 1.196 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.8718, allocations: 28 kB / 1.196 GB, free: 3.363 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition2.t_start,transition2.t_start,$PRE.transition1.t_start,transition1.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003234/0.8721, allocations: 282.5 kB / 1.196 GB, free: 3.082 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.8722, allocations: 63.25 kB / 1.196 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.8729, allocations: 423.9 kB / 1.197 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.8729, allocations: 5.031 kB / 1.197 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8729, allocations: 4.562 kB / 1.197 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.8729, allocations: 3.984 kB / 1.197 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.8744, allocations: 1.086 MB / 1.198 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8744, allocations: 4 kB / 1.198 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.8745, allocations: 28.61 kB / 1.198 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8745, allocations: 4 kB / 1.198 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.8745, allocations: 15.92 kB / 1.198 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8746, allocations: 4 kB / 1.198 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.8746, allocations: 4 kB / 1.198 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.8752, allocations: 0.5382 MB / 1.199 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.8754, allocations: 144.9 kB / 1.199 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.8755, allocations: 23.92 kB / 1.199 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.8756, allocations: 16 kB / 1.199 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.8758, allocations: 53.75 kB / 1.199 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.8758, allocations: 23.98 kB / 1.199 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004466/0.8763, allocations: 410.8 kB / 1.199 GB, free: 140 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8763, allocations: 0 / 1.199 GB, free: 140 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007399/0.877, allocations: 131.9 kB / 1.199 GB, free: 8 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001059/0.8781, allocations: 484.2 kB / 1.2 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006744/0.8788, allocations: 413.7 kB / 1.2 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8788, allocations: 0 / 1.2 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.8791, allocations: 212 kB / 1.2 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.8798, allocations: 90.12 kB / 1.2 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.8816, allocations: 1.333 MB / 1.202 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.8821, allocations: 0.9341 MB / 1.203 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.8824, allocations: 78.95 kB / 1.203 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.8825, allocations: 48.55 kB / 1.203 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 2.1e-07/0.8825, allocations: 0 / 1.203 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.01192/0.8944, allocations: 5.717 MB / 1.208 GB, free: 7.098 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)