Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.5 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 93.58 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2753, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7135/0.9889, allocations: 146.8 MB / 1.134 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.9893, allocations: 94.62 kB / 1.134 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03787/1.027, allocations: 14.34 MB / 1.148 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.455e-06/1.027, allocations: 0 / 1.148 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.146e-05/1.027, allocations: 12 kB / 1.148 GB, free: 18.52 MB / 0.7292 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.00218/1.03, allocations: 0.9134 MB / 1.149 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.03, allocations: 16.03 kB / 1.149 GB, free: 17.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/1.03, allocations: 84.52 kB / 1.149 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.031, allocations: 463.6 kB / 1.149 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/1.031, allocations: 42.86 kB / 1.149 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.031, allocations: 57.5 kB / 1.149 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.032, allocations: 0.6038 MB / 1.15 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.032, allocations: 5.219 kB / 1.15 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/1.032, allocations: 29.34 kB / 1.15 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/1.032, allocations: 12 kB / 1.15 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/1.033, allocations: 379.9 kB / 1.15 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/1.036, allocations: 2.567 MB / 1.153 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/1.037, allocations: 293.8 kB / 1.153 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/1.037, allocations: 139.2 kB / 1.153 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/1.037, allocations: 4 kB / 1.153 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/1.037, allocations: 214.2 kB / 1.154 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.637e-06/1.037, allocations: 4 kB / 1.154 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0009012/1.038, allocations: 454.5 kB / 1.154 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.038, allocations: 83.92 kB / 1.154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/1.039, allocations: 0.6501 MB / 1.155 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/1.039, allocations: 48.38 kB / 1.155 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/1.04, allocations: 358.1 kB / 1.155 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/1.04, allocations: 99.45 kB / 1.155 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/1.04, allocations: 16 kB / 1.155 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.04, allocations: 376.8 kB / 1.156 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.04, allocations: 130.7 kB / 1.156 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/1.04, allocations: 336.5 kB / 1.156 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/1.041, allocations: 417.9 kB / 1.156 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.041, allocations: 0 / 1.156 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006768/1.041, allocations: 0.5137 MB / 1.157 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.041, allocations: 8 kB / 1.157 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.041, allocations: 4 kB / 1.157 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.042, allocations: 11.94 kB / 1.157 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.042, allocations: 80.09 kB / 1.157 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.042, allocations: 13.19 kB / 1.157 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.042, allocations: 43.41 kB / 1.157 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.042, allocations: 32 kB / 1.157 GB, free: 9.551 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,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 (77): * Single equations (assignments): 77 * 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.0003338/1.042, allocations: 272.4 kB / 1.157 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/1.042, allocations: 60.94 kB / 1.157 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/1.043, allocations: 414.7 kB / 1.158 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/1.043, allocations: 8 kB / 1.158 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.043, allocations: 5.453 kB / 1.158 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.043, allocations: 5.156 kB / 1.158 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.044, allocations: 1.06 MB / 1.159 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.044, allocations: 0.9375 kB / 1.159 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/1.045, allocations: 28.56 kB / 1.159 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.045, allocations: 4 kB / 1.159 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/1.045, allocations: 18.34 kB / 1.159 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.045, allocations: 0 / 1.159 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.045, allocations: 0 / 1.159 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/1.045, allocations: 478.7 kB / 1.159 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/1.045, allocations: 144.4 kB / 1.16 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/1.045, allocations: 12.7 kB / 1.16 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.046, allocations: 19.42 kB / 1.16 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.046, allocations: 51.16 kB / 1.16 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/1.046, allocations: 22.75 kB / 1.16 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004987/1.046, allocations: 426.2 kB / 1.16 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.046, allocations: 0 / 1.16 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005711/1.047, allocations: 127 kB / 1.16 GB, free: 6.703 MB / 0.7292 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 (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: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001138/1.048, allocations: 483.8 kB / 1.161 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006194/1.049, allocations: 390.3 kB / 1.161 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.049, allocations: 0 / 1.161 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/1.049, allocations: 178 kB / 1.161 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/1.049, allocations: 86.09 kB / 1.161 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/1.051, allocations: 1.278 MB / 1.162 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/1.052, allocations: 0.9304 MB / 1.163 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002595/1.052, allocations: 81.83 kB / 1.163 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.052, allocations: 46.34 kB / 1.164 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of SimCode: time 1.302e-06/1.052, allocations: 0 / 1.164 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of Templates: time 0.01142/1.063, allocations: 5.599 MB / 1.169 GB, free: 14.36 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)