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.725/1.725, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.00118/0.00118, allocations: 177.9 kB / 372.9 MB, free: 10.16 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.575/1.575, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007111/0.0007111, allocations: 96.17 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 21.17 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6578/0.8564, allocations: 145.8 MB / 1.123 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.8566, allocations: 91.03 kB / 1.123 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03129/0.8879, allocations: 14.32 MB / 1.137 GB, free: 28.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.888, allocations: 4 kB / 1.137 GB, free: 28.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.899e-05/0.8881, allocations: 23.03 kB / 1.137 GB, free: 28.37 MB / 0.698 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.001285/0.8893, allocations: 0.9099 MB / 1.138 GB, free: 27.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.8894, allocations: 11.56 kB / 1.138 GB, free: 27.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.8895, allocations: 85.12 kB / 1.138 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.8901, allocations: 462.8 kB / 1.139 GB, free: 27.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.8901, allocations: 45.16 kB / 1.139 GB, free: 27.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.8902, allocations: 55.88 kB / 1.139 GB, free: 27.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.8909, allocations: 0.6106 MB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.891, allocations: 4 kB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.891, allocations: 22.03 kB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.891, allocations: 15.38 kB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.8916, allocations: 385.8 kB / 1.14 GB, free: 26.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.8939, allocations: 2.572 MB / 1.142 GB, free: 24.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.8944, allocations: 292.9 kB / 1.142 GB, free: 24.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.8946, allocations: 136.5 kB / 1.143 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.8947, allocations: 3.875 kB / 1.143 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.895, allocations: 212.3 kB / 1.143 GB, free: 24.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.895, allocations: 3.688 kB / 1.143 GB, free: 24.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0007395/0.8958, allocations: 454.9 kB / 1.143 GB, free: 24.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.8958, allocations: 92.38 kB / 1.143 GB, free: 24.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.8964, allocations: 0.6533 MB / 1.144 GB, free: 24.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.8965, allocations: 43.45 kB / 1.144 GB, free: 24.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.8967, allocations: 362 kB / 1.144 GB, free: 24.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.8968, allocations: 96.75 kB / 1.144 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.8969, allocations: 11.59 kB / 1.144 GB, free: 23.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.897, allocations: 382 kB / 1.145 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.8973, allocations: 136.4 kB / 1.145 GB, free: 23.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.8975, allocations: 335.4 kB / 1.145 GB, free: 23.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.898, allocations: 408.8 kB / 1.146 GB, free: 23.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.898, allocations: 3.844 kB / 1.146 GB, free: 23.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006576/0.8987, allocations: 0.514 MB / 1.146 GB, free: 22.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.8987, allocations: 7.719 kB / 1.146 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.8987, allocations: 11.84 kB / 1.146 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.8988, allocations: 7.656 kB / 1.146 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.899, allocations: 73.7 kB / 1.146 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.899, allocations: 11.72 kB / 1.146 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.8992, allocations: 49.83 kB / 1.146 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.8993, allocations: 27.09 kB / 1.146 GB, free: 22.86 MB / 0.698 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.000366/0.8996, allocations: 272.2 kB / 1.147 GB, free: 22.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.8997, allocations: 62.17 kB / 1.147 GB, free: 22.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.9003, allocations: 416.3 kB / 1.147 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9003, allocations: 3.688 kB / 1.147 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9004, allocations: 0 / 1.147 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9004, allocations: 7.922 kB / 1.147 GB, free: 22.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.9016, allocations: 1.061 MB / 1.148 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9016, allocations: 0 / 1.148 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.9017, allocations: 30.61 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.9018, allocations: 3.875 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.9018, allocations: 18.27 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9018, allocations: 0 / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9018, allocations: 0 / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.9023, allocations: 481 kB / 1.149 GB, free: 21.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.9024, allocations: 150.2 kB / 1.149 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.9025, allocations: 15.14 kB / 1.149 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.9027, allocations: 11.22 kB / 1.149 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.9028, allocations: 50.77 kB / 1.149 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.9028, allocations: 19.17 kB / 1.149 GB, free: 21.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000392/0.9032, allocations: 426.2 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9032, allocations: 4 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005318/0.9038, allocations: 122.1 kB / 1.149 GB, free: 21.47 MB / 0.698 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.0009738/0.9047, allocations: 489.7 kB / 1.15 GB, free: 21.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.9054, allocations: 384 kB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9054, allocations: 0 / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.9056, allocations: 175.6 kB / 1.15 GB, free: 21.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.9062, allocations: 97.23 kB / 1.15 GB, free: 21.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.9077, allocations: 1.276 MB / 1.152 GB, free: 20.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.9081, allocations: 0.9343 MB / 1.153 GB, free: 19.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.9084, allocations: 73.86 kB / 1.153 GB, free: 19.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.9085, allocations: 53.23 kB / 1.153 GB, free: 19.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9085, allocations: 3.938 kB / 1.153 GB, free: 19.54 MB / 0.698 GB Notification: Performance of Templates: time 0.01014/0.9186, allocations: 5.587 MB / 1.158 GB, free: 16.3 MB / 0.698 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)