Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.562/1.562, allocations: 285.4 MB / 298 MB, free: 6.031 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.001164/0.001164, allocations: 176.8 kB / 366.4 MB, free: 2.109 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.441/1.441, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008102/0.0008101, allocations: 96.81 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.843e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6205/0.6205, allocations: 115.3 MB / 0.9709 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.8301, allocations: 145.6 MB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.8304, allocations: 95.88 kB / 1.113 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04864/0.8791, allocations: 14.25 MB / 1.127 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8791, allocations: 0 / 1.127 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.984e-05/0.8792, allocations: 16 kB / 1.127 GB, free: 7.809 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.001636/0.8809, allocations: 0.8187 MB / 1.128 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.8809, allocations: 8.031 kB / 1.128 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.8812, allocations: 88.92 kB / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.8822, allocations: 444.1 kB / 1.128 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.8822, allocations: 49.31 kB / 1.129 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.8824, allocations: 59.94 kB / 1.129 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.8835, allocations: 0.5936 MB / 1.129 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.8836, allocations: 0 / 1.129 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.8836, allocations: 20 kB / 1.129 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.8837, allocations: 15.95 kB / 1.129 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.8845, allocations: 375.7 kB / 1.13 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.8877, allocations: 2.55 MB / 1.132 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.8883, allocations: 284.8 kB / 1.132 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.8885, allocations: 144 kB / 1.132 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.8885, allocations: 4 kB / 1.132 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.8889, allocations: 209.7 kB / 1.133 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.8889, allocations: 2.438 kB / 1.133 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.000636/0.8895, allocations: 346.6 kB / 1.133 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.8896, allocations: 81.11 kB / 1.133 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.8904, allocations: 0.5809 MB / 1.134 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.8905, allocations: 45.7 kB / 1.134 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.8908, allocations: 360.4 kB / 1.134 GB, free: 460 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.8909, allocations: 90.91 kB / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.8909, allocations: 16 kB / 1.134 GB, free: 352 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.8911, allocations: 374.8 kB / 1.134 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.8914, allocations: 129.5 kB / 1.135 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.8917, allocations: 328.9 kB / 1.135 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.892, allocations: 141.5 kB / 1.135 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.892, allocations: 0 / 1.135 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008006/0.8928, allocations: 0.5027 MB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8928, allocations: 5.562 kB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.8929, allocations: 16.67 kB / 1.136 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.8929, allocations: 11.98 kB / 1.136 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.8931, allocations: 79.78 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.8932, allocations: 8 kB / 1.136 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.8934, allocations: 51.61 kB / 1.136 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.8935, allocations: 28 kB / 1.136 GB, free: 14.59 MB / 0.7448 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 () * 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.0001661/0.8937, allocations: 162 kB / 1.136 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.8937, allocations: 59.25 kB / 1.136 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.8944, allocations: 413.7 kB / 1.136 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.8944, allocations: 7.953 kB / 1.136 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8944, allocations: 0 / 1.136 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.8945, allocations: 6.797 kB / 1.136 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.8959, allocations: 1.063 MB / 1.137 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8959, allocations: 0 / 1.137 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.896, allocations: 23.92 kB / 1.137 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.896, allocations: 4 kB / 1.137 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.8961, allocations: 15.98 kB / 1.137 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8961, allocations: 0 / 1.137 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8961, allocations: 0 / 1.137 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.8966, allocations: 475.7 kB / 1.138 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.8968, allocations: 140.3 kB / 1.138 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.8969, allocations: 15.98 kB / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.897, allocations: 15.98 kB / 1.138 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8972, allocations: 47.69 kB / 1.138 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.8972, allocations: 15.98 kB / 1.138 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004459/0.8976, allocations: 423.1 kB / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8977, allocations: 0 / 1.139 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004902/0.8982, allocations: 119.9 kB / 1.139 GB, free: 11.52 MB / 0.7448 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) * 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.0009736/0.8991, allocations: 439.7 kB / 1.139 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006428/0.8998, allocations: 374.2 kB / 1.139 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8998, allocations: 0 / 1.139 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.9001, allocations: 180 kB / 1.14 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.9005, allocations: 80.66 kB / 1.14 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.9018, allocations: 0.7892 MB / 1.14 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.9024, allocations: 0.9517 MB / 1.141 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.9026, allocations: 80.7 kB / 1.141 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9028, allocations: 43.42 kB / 1.141 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.9028, allocations: 0 / 1.141 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.01149/0.9143, allocations: 5.641 MB / 1.147 GB, free: 3.199 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)