Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001219/0.001218, allocations: 176.7 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.608/1.608, 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.0009157/0.0009154, allocations: 94.78 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.26e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2585, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/1.035, allocations: 147.7 MB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.035, allocations: 95.16 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05281/1.088, allocations: 15.38 MB / 1.139 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.884e-06/1.088, allocations: 0 / 1.139 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.264e-05/1.088, allocations: 20 kB / 1.139 GB, free: 29.34 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001586/1.09, allocations: 0.894 MB / 1.14 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.09, allocations: 8.031 kB / 1.14 GB, free: 28.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/1.09, allocations: 102.8 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000841/1.091, allocations: 462.3 kB / 1.141 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.091, allocations: 82.09 kB / 1.141 GB, free: 27.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/1.091, allocations: 62.7 kB / 1.141 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/1.092, allocations: 0.6392 MB / 1.141 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/1.093, allocations: 7.891 kB / 1.141 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/1.093, allocations: 34.25 kB / 1.141 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/1.093, allocations: 12 kB / 1.141 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/1.094, allocations: 403.2 kB / 1.142 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/1.097, allocations: 2.711 MB / 1.144 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/1.098, allocations: 264.5 kB / 1.145 GB, free: 24.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/1.098, allocations: 138.1 kB / 1.145 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/1.098, allocations: 4.844 kB / 1.145 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/1.098, allocations: 188.8 kB / 1.145 GB, free: 24.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 4.017e-06/1.099, allocations: 4 kB / 1.145 GB, free: 24.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0008153/1.099, allocations: 325.3 kB / 1.145 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/1.099, allocations: 89.78 kB / 1.145 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/1.1, allocations: 0.594 MB / 1.146 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/1.1, allocations: 45.62 kB / 1.146 GB, free: 23.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/1.101, allocations: 394.4 kB / 1.146 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.101, allocations: 102.3 kB / 1.147 GB, free: 23.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/1.101, allocations: 10.34 kB / 1.147 GB, free: 23.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.101, allocations: 386 kB / 1.147 GB, free: 23.26 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/1.101, allocations: 138.8 kB / 1.147 GB, free: 23.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/1.102, allocations: 356.3 kB / 1.147 GB, free: 22.81 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/1.102, allocations: 158 kB / 1.148 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.102, allocations: 0 / 1.148 GB, free: 22.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001215/1.104, allocations: 0.5303 MB / 1.148 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.104, allocations: 13.39 kB / 1.148 GB, free: 22.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.104, allocations: 4 kB / 1.148 GB, free: 22.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/1.104, allocations: 12.72 kB / 1.148 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/1.104, allocations: 87.84 kB / 1.148 GB, free: 22.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/1.104, allocations: 14.64 kB / 1.148 GB, free: 22.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/1.105, allocations: 65.48 kB / 1.148 GB, free: 22.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/1.105, allocations: 32.28 kB / 1.148 GB, free: 22.15 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0001736/1.105, allocations: 166.8 kB / 1.148 GB, free: 22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/1.105, allocations: 69.92 kB / 1.148 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/1.106, allocations: 397.2 kB / 1.149 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.106, allocations: 4 kB / 1.149 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.106, allocations: 0.6094 kB / 1.149 GB, free: 21.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.106, allocations: 10.23 kB / 1.149 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.108, allocations: 1.014 MB / 1.15 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.108, allocations: 0.7031 kB / 1.15 GB, free: 21.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/1.109, allocations: 38.58 kB / 1.15 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/1.109, allocations: 0 / 1.15 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/1.109, allocations: 17.66 kB / 1.15 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/1.109, allocations: 0.5625 kB / 1.15 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.109, allocations: 0 / 1.15 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/1.109, allocations: 457.8 kB / 1.15 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/1.11, allocations: 147.4 kB / 1.151 GB, free: 20.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.11, allocations: 10.62 kB / 1.151 GB, free: 20.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/1.11, allocations: 36.78 kB / 1.151 GB, free: 20.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.11, allocations: 56.34 kB / 1.151 GB, free: 20.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/1.11, allocations: 20.84 kB / 1.151 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007416/1.111, allocations: 436.8 kB / 1.151 GB, free: 20.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/1.111, allocations: 0 / 1.151 GB, free: 20.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008682/1.112, allocations: 131 kB / 1.151 GB, free: 19.99 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001437/1.114, allocations: 440.1 kB / 1.152 GB, free: 19.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009264/1.114, allocations: 385.1 kB / 1.152 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.115, allocations: 8.125 kB / 1.152 GB, free: 19.44 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/1.115, allocations: 164.4 kB / 1.152 GB, free: 19.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/1.116, allocations: 79.31 kB / 1.152 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.118, allocations: 0.8224 MB / 1.153 GB, free: 18.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.118, allocations: 0.9677 MB / 1.154 GB, free: 17.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004595/1.119, allocations: 80.36 kB / 1.154 GB, free: 17.71 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/1.119, allocations: 47.09 kB / 1.154 GB, free: 17.67 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/1.119, allocations: 4 kB / 1.154 GB, free: 17.67 MB / 0.7448 GB Notification: Performance of Templates: time 0.02007/1.139, allocations: 6.068 MB / 1.16 GB, free: 14.16 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)