Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.0009573/0.0009573, allocations: 178.6 kB / 371.6 MB, free: 3.348 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.434/1.434, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0009208/0.0009207, allocations: 90.7 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.863e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8112/1.074, allocations: 147.6 MB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.074, allocations: 90.84 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03304/1.107, allocations: 14.35 MB / 1.138 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.392e-06/1.107, allocations: 0 / 1.138 GB, free: 29.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.228e-05/1.107, allocations: 20 kB / 1.138 GB, free: 29.96 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001435/1.109, allocations: 0.8248 MB / 1.139 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.109, allocations: 8.031 kB / 1.139 GB, free: 29.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/1.109, allocations: 94.89 kB / 1.139 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/1.11, allocations: 441 kB / 1.139 GB, free: 28.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/1.11, allocations: 72.97 kB / 1.139 GB, free: 28.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/1.11, allocations: 56.41 kB / 1.139 GB, free: 28.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/1.111, allocations: 0.6028 MB / 1.14 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.111, allocations: 0 / 1.14 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/1.111, allocations: 28.06 kB / 1.14 GB, free: 28.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.111, allocations: 12 kB / 1.14 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/1.111, allocations: 369 kB / 1.14 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/1.114, allocations: 2.642 MB / 1.143 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/1.114, allocations: 256.5 kB / 1.143 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/1.114, allocations: 139.2 kB / 1.143 GB, free: 25.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/1.114, allocations: 8.266 kB / 1.143 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/1.115, allocations: 204.3 kB / 1.144 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 2.374e-06/1.115, allocations: 0.75 kB / 1.144 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005538/1.115, allocations: 341.8 kB / 1.144 GB, free: 25.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.115, allocations: 93.27 kB / 1.144 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/1.116, allocations: 0.5639 MB / 1.145 GB, free: 24.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/1.116, allocations: 45.73 kB / 1.145 GB, free: 24.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/1.116, allocations: 363.7 kB / 1.145 GB, free: 24.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/1.116, allocations: 96.2 kB / 1.145 GB, free: 24.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.116, allocations: 13.88 kB / 1.145 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.116, allocations: 380.6 kB / 1.145 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.116, allocations: 122.2 kB / 1.146 GB, free: 23.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/1.117, allocations: 327.2 kB / 1.146 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/1.117, allocations: 144.2 kB / 1.146 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.117, allocations: 0.7969 kB / 1.146 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006219/1.118, allocations: 0.5065 MB / 1.146 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.118, allocations: 8.781 kB / 1.147 GB, free: 23.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.118, allocations: 8 kB / 1.147 GB, free: 23.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.118, allocations: 16.45 kB / 1.147 GB, free: 23.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.118, allocations: 72.22 kB / 1.147 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/1.118, allocations: 15.94 kB / 1.147 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/1.118, allocations: 38.98 kB / 1.147 GB, free: 23.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/1.118, allocations: 26 kB / 1.147 GB, free: 22.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: 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001174/1.118, allocations: 168.5 kB / 1.147 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/1.118, allocations: 72.05 kB / 1.147 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005922/1.119, allocations: 396.6 kB / 1.147 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.119, allocations: 4 kB / 1.147 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.119, allocations: 0.75 kB / 1.147 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.119, allocations: 6.25 kB / 1.147 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/1.12, allocations: 1.06 MB / 1.148 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.12, allocations: 0 / 1.148 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/1.12, allocations: 27.84 kB / 1.148 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/1.121, allocations: 4 kB / 1.148 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.121, allocations: 9.234 kB / 1.148 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.121, allocations: 0 / 1.148 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.121, allocations: 2.672 kB / 1.148 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/1.121, allocations: 478.9 kB / 1.149 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/1.121, allocations: 142.6 kB / 1.149 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/1.121, allocations: 13.84 kB / 1.149 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/1.121, allocations: 14.91 kB / 1.149 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.121, allocations: 49.25 kB / 1.149 GB, free: 21.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.122, allocations: 17.8 kB / 1.149 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003998/1.122, allocations: 414.4 kB / 1.149 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/1.122, allocations: 0 / 1.149 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004797/1.122, allocations: 131.7 kB / 1.15 GB, free: 20.82 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: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.0009997/1.123, allocations: 431.7 kB / 1.15 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000533/1.124, allocations: 372.5 kB / 1.15 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.124, allocations: 1.562 kB / 1.15 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/1.124, allocations: 173.9 kB / 1.151 GB, free: 20.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/1.125, allocations: 93.73 kB / 1.151 GB, free: 20.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/1.126, allocations: 0.7765 MB / 1.151 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/1.126, allocations: 0.95 MB / 1.152 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002357/1.127, allocations: 73.62 kB / 1.152 GB, free: 18.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.127, allocations: 47.14 kB / 1.152 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.127, allocations: 0 / 1.152 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.01218/1.139, allocations: 5.668 MB / 1.158 GB, free: 15.27 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)