Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001055/0.001054, allocations: 181.5 kB / 371.6 MB, free: 3.402 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.548/1.548, 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.001009/0.001009, allocations: 90.81 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.894e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.256, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/1.002, allocations: 146.4 MB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.002, allocations: 83.42 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04199/1.044, allocations: 17.16 MB / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.136e-06/1.045, allocations: 0.7031 kB / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.814e-05/1.045, allocations: 24.64 kB / 1.14 GB, free: 29.53 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001638/1.046, allocations: 0.9047 MB / 1.14 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.046, allocations: 8.031 kB / 1.141 GB, free: 28.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/1.047, allocations: 99.88 kB / 1.141 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/1.048, allocations: 497.2 kB / 1.141 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.048, allocations: 76.16 kB / 1.141 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.048, allocations: 55.08 kB / 1.141 GB, free: 28.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/1.049, allocations: 0.5273 MB / 1.142 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.049, allocations: 4 kB / 1.142 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/1.049, allocations: 24.52 kB / 1.142 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/1.049, allocations: 17.36 kB / 1.142 GB, free: 27.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/1.049, allocations: 335.8 kB / 1.142 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/1.052, allocations: 2.079 MB / 1.144 GB, free: 25.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/1.052, allocations: 289.7 kB / 1.144 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.052, allocations: 137.2 kB / 1.145 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/1.053, allocations: 4.625 kB / 1.145 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/1.053, allocations: 207.5 kB / 1.145 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.394e-06/1.053, allocations: 0 / 1.145 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.0006184/1.053, allocations: 359.5 kB / 1.145 GB, free: 25.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.054, allocations: 110.8 kB / 1.145 GB, free: 25.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/1.055, allocations: 0.6726 MB / 1.146 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/1.055, allocations: 43.86 kB / 1.146 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.055, allocations: 376.3 kB / 1.146 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.055, allocations: 109.2 kB / 1.146 GB, free: 24.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/1.055, allocations: 14.56 kB / 1.146 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.055, allocations: 328.7 kB / 1.147 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.055, allocations: 126.2 kB / 1.147 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/1.056, allocations: 303.4 kB / 1.147 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/1.056, allocations: 138.3 kB / 1.147 GB, free: 23.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/1.056, allocations: 4 kB / 1.147 GB, free: 23.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000925/1.057, allocations: 499.5 kB / 1.148 GB, free: 23.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.057, allocations: 8 kB / 1.148 GB, free: 23.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.057, allocations: 4 kB / 1.148 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.057, allocations: 8.516 kB / 1.148 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.058, allocations: 70.03 kB / 1.148 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.058, allocations: 9.484 kB / 1.148 GB, free: 23.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/1.058, allocations: 53.25 kB / 1.148 GB, free: 23.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/1.058, allocations: 27.42 kB / 1.148 GB, free: 23.07 MB / 0.7448 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 () * 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.0001828/1.058, allocations: 170.3 kB / 1.148 GB, free: 22.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.058, allocations: 69.17 kB / 1.148 GB, free: 22.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/1.059, allocations: 425.8 kB / 1.148 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.059, allocations: 8 kB / 1.148 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.059, allocations: 4.609 kB / 1.148 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.059, allocations: 6.141 kB / 1.148 GB, free: 22.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.061, allocations: 1.092 MB / 1.15 GB, free: 21.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.061, allocations: 0 / 1.15 GB, free: 21.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/1.061, allocations: 32.48 kB / 1.15 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/1.061, allocations: 8 kB / 1.15 GB, free: 21.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/1.061, allocations: 10.22 kB / 1.15 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.061, allocations: 0 / 1.15 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.062, allocations: 3.953 kB / 1.15 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/1.062, allocations: 498.8 kB / 1.15 GB, free: 21.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/1.062, allocations: 161.5 kB / 1.15 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.063, allocations: 12.22 kB / 1.15 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.063, allocations: 28.38 kB / 1.15 GB, free: 21.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.063, allocations: 45.42 kB / 1.15 GB, free: 21.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/1.063, allocations: 21.81 kB / 1.15 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008909/1.064, allocations: 0.4929 MB / 1.151 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.064, allocations: 0 / 1.151 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008563/1.065, allocations: 139.4 kB / 1.151 GB, free: 20.77 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 (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) * 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.001438/1.066, allocations: 444.9 kB / 1.151 GB, free: 20.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007326/1.067, allocations: 379.3 kB / 1.152 GB, free: 20.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.067, allocations: 0 / 1.152 GB, free: 20.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/1.067, allocations: 170.1 kB / 1.152 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/1.068, allocations: 108.5 kB / 1.152 GB, free: 20.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/1.07, allocations: 0.8862 MB / 1.153 GB, free: 19.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/1.071, allocations: 0.974 MB / 1.154 GB, free: 18.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004325/1.071, allocations: 101.1 kB / 1.154 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.071, allocations: 54.91 kB / 1.154 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/1.071, allocations: 0 / 1.154 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of Templates: time 0.01732/1.088, allocations: 6.914 MB / 1.161 GB, free: 14.32 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)