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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001169/0.001169, allocations: 181.8 kB / 371.6 MB, free: 3.406 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.1 MB / 0.6309 GB, free: 11.77 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.0009444/0.0009443, allocations: 92.02 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.435e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6593/0.8955, allocations: 146.6 MB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.8958, allocations: 88.84 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03188/0.9277, allocations: 14.25 MB / 1.137 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9277, allocations: 4 kB / 1.137 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.9278, allocations: 12 kB / 1.137 GB, free: 30.87 MB / 0.7448 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.001226/0.929, allocations: 0.8267 MB / 1.138 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.9291, allocations: 9.156 kB / 1.138 GB, free: 30.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.9293, allocations: 86.89 kB / 1.138 GB, free: 30.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.9299, allocations: 444.1 kB / 1.138 GB, free: 29.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.93, allocations: 44.78 kB / 1.138 GB, free: 29.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.9301, allocations: 59.67 kB / 1.138 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.9309, allocations: 0.5956 MB / 1.139 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.931, allocations: 4.5 kB / 1.139 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.931, allocations: 24.39 kB / 1.139 GB, free: 29.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.9311, allocations: 15.95 kB / 1.139 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.9316, allocations: 369 kB / 1.139 GB, free: 28.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.9339, allocations: 2.556 MB / 1.142 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.9344, allocations: 276.6 kB / 1.142 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.9346, allocations: 143.8 kB / 1.142 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.9346, allocations: 4 kB / 1.142 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.9349, allocations: 213.8 kB / 1.142 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 2.445e-06/0.9349, allocations: 0 / 1.142 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0005506/0.9355, allocations: 341.1 kB / 1.143 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.9355, allocations: 89.8 kB / 1.143 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.9361, allocations: 0.5768 MB / 1.143 GB, free: 25.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.9362, allocations: 46.31 kB / 1.144 GB, free: 25.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.9364, allocations: 362 kB / 1.144 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.9365, allocations: 93.89 kB / 1.144 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.9365, allocations: 12.81 kB / 1.144 GB, free: 25.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.9367, allocations: 376.9 kB / 1.144 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.9369, allocations: 123.8 kB / 1.144 GB, free: 24.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.9371, allocations: 332.1 kB / 1.145 GB, free: 24.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.9374, allocations: 144.3 kB / 1.145 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9374, allocations: 0.75 kB / 1.145 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006564/0.938, allocations: 0.5068 MB / 1.145 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9381, allocations: 8 kB / 1.145 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9381, allocations: 11.95 kB / 1.145 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.9381, allocations: 8.75 kB / 1.145 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.9383, allocations: 76.19 kB / 1.145 GB, free: 24.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.9384, allocations: 14.23 kB / 1.145 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.9386, allocations: 48.78 kB / 1.146 GB, free: 24.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.9387, allocations: 29.56 kB / 1.146 GB, free: 23.99 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.00012/0.9388, allocations: 164.8 kB / 1.146 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.9389, allocations: 60.56 kB / 1.146 GB, free: 23.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006089/0.9395, allocations: 409.1 kB / 1.146 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9395, allocations: 11.95 kB / 1.146 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9395, allocations: 0.7969 kB / 1.146 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.9395, allocations: 2.062 kB / 1.146 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.9411, allocations: 1.055 MB / 1.147 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.9411, allocations: 0 / 1.147 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.9413, allocations: 27.56 kB / 1.147 GB, free: 22.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.9413, allocations: 8 kB / 1.147 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.9413, allocations: 6.047 kB / 1.147 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.9413, allocations: 4 kB / 1.147 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.9413, allocations: 0 / 1.147 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.9419, allocations: 479.6 kB / 1.148 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.942, allocations: 143.5 kB / 1.148 GB, free: 22.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.9421, allocations: 11.77 kB / 1.148 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.9423, allocations: 17.22 kB / 1.148 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.9425, allocations: 50.72 kB / 1.148 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.9425, allocations: 17.45 kB / 1.148 GB, free: 22.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005179/0.943, allocations: 423.1 kB / 1.148 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9431, allocations: 4 kB / 1.148 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006364/0.9437, allocations: 117.5 kB / 1.148 GB, free: 21.81 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.001036/0.9447, allocations: 444.3 kB / 1.149 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006338/0.9454, allocations: 381.4 kB / 1.149 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.9454, allocations: 0 / 1.149 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.9456, allocations: 169.7 kB / 1.149 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.9461, allocations: 80.33 kB / 1.149 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.9474, allocations: 0.7864 MB / 1.15 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.9478, allocations: 0.9477 MB / 1.151 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000252/0.9481, allocations: 74.84 kB / 1.151 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.9482, allocations: 46.53 kB / 1.151 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.9482, allocations: 0 / 1.151 GB, free: 19.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.0116/0.9598, allocations: 5.648 MB / 1.157 GB, free: 16.24 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)