Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001061/0.001061, allocations: 175.5 kB / 371.8 MB, free: 10.27 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.656/1.656, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.000919/0.0009191, allocations: 101 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 16.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2065, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7406/0.9472, allocations: 145.5 MB / 1.122 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/0.9476, allocations: 95.47 kB / 1.122 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05957/1.007, allocations: 17.21 MB / 1.138 GB, free: 27.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/1.007, allocations: 0 / 1.138 GB, free: 27.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001099/1.007, allocations: 11.62 kB / 1.138 GB, free: 27.34 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002494/1.01, allocations: 1.03 MB / 1.139 GB, free: 26.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.01, allocations: 15.48 kB / 1.139 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/1.01, allocations: 93.05 kB / 1.14 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.012, allocations: 0.4963 MB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/1.012, allocations: 77.45 kB / 1.14 GB, free: 26.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/1.012, allocations: 47.53 kB / 1.14 GB, free: 26.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/1.013, allocations: 0.5484 MB / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.013, allocations: 4 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/1.013, allocations: 17.91 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/1.013, allocations: 15.45 kB / 1.141 GB, free: 25.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/1.014, allocations: 344.9 kB / 1.141 GB, free: 25.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/1.018, allocations: 2.074 MB / 1.143 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/1.018, allocations: 296.6 kB / 1.143 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/1.018, allocations: 7.875 kB / 1.143 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/1.019, allocations: 209.9 kB / 1.144 GB, free: 24.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 4.057e-06/1.019, allocations: 0 / 1.144 GB, free: 24.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.001284/1.02, allocations: 484.2 kB / 1.144 GB, free: 24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/1.02, allocations: 109.7 kB / 1.144 GB, free: 23.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/1.022, allocations: 0.6823 MB / 1.145 GB, free: 23.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/1.022, allocations: 46.83 kB / 1.145 GB, free: 23.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/1.022, allocations: 376 kB / 1.145 GB, free: 23.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.022, allocations: 106.8 kB / 1.145 GB, free: 23.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/1.022, allocations: 11 kB / 1.145 GB, free: 23.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.023, allocations: 331.9 kB / 1.146 GB, free: 23.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/1.023, allocations: 134.4 kB / 1.146 GB, free: 23.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/1.023, allocations: 302.3 kB / 1.146 GB, free: 22.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.024, allocations: 143.6 kB / 1.146 GB, free: 22.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.024, allocations: 3.844 kB / 1.146 GB, free: 22.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00117/1.025, allocations: 0.5042 MB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.025, allocations: 9.562 kB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.025, allocations: 7.844 kB / 1.147 GB, free: 22.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/1.025, allocations: 7.688 kB / 1.147 GB, free: 22.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/1.026, allocations: 72.16 kB / 1.147 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/1.026, allocations: 11.67 kB / 1.147 GB, free: 22.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/1.026, allocations: 53.7 kB / 1.147 GB, free: 22.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/1.026, allocations: 26.44 kB / 1.147 GB, free: 22.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0005394/1.027, allocations: 272.5 kB / 1.147 GB, free: 22.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.027, allocations: 69.12 kB / 1.147 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/1.028, allocations: 448.8 kB / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.028, allocations: 3.719 kB / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.028, allocations: 0 / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.028, allocations: 4.031 kB / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/1.03, allocations: 1.104 MB / 1.149 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.03, allocations: 3.984 kB / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/1.03, allocations: 42.27 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/1.03, allocations: 0 / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/1.03, allocations: 10.06 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.03, allocations: 3.844 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.03, allocations: 0 / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/1.031, allocations: 0.4978 MB / 1.149 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/1.032, allocations: 159 kB / 1.149 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.032, allocations: 15.53 kB / 1.149 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/1.032, allocations: 22.73 kB / 1.149 GB, free: 21.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.032, allocations: 52.3 kB / 1.149 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/1.032, allocations: 15.59 kB / 1.149 GB, free: 21.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008727/1.033, allocations: 0.5068 MB / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.033, allocations: 0 / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000995/1.034, allocations: 130.6 kB / 1.15 GB, free: 21.17 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: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001568/1.036, allocations: 482.9 kB / 1.151 GB, free: 20.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.037, allocations: 387.5 kB / 1.151 GB, free: 20.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.037, allocations: 0 / 1.151 GB, free: 20.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/1.037, allocations: 182.5 kB / 1.151 GB, free: 20.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008533/1.038, allocations: 116 kB / 1.151 GB, free: 20.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/1.041, allocations: 1.406 MB / 1.153 GB, free: 20.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/1.042, allocations: 0.9733 MB / 1.154 GB, free: 19.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004936/1.042, allocations: 98.12 kB / 1.154 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/1.042, allocations: 52.73 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.042, allocations: 4 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of Templates: time 0.02007/1.063, allocations: 6.811 MB / 1.16 GB, free: 13.94 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)