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.522/1.522, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001059/0.001059, allocations: 180.8 kB / 366.7 MB, free: 1.637 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.508/1.508, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008161/0.0008161, allocations: 86.89 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.463e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5647, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.7382, allocations: 145.7 MB / 1.116 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.7385, allocations: 87.94 kB / 1.116 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04181/0.7803, allocations: 16.97 MB / 1.132 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7804, allocations: 4 kB / 1.132 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.97e-05/0.7804, allocations: 12 kB / 1.132 GB, free: 3.379 MB / 0.7292 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.001091/0.7815, allocations: 0.9077 MB / 1.133 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.7815, allocations: 8.031 kB / 1.133 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.7817, allocations: 94.83 kB / 1.133 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.7824, allocations: 0.5046 MB / 1.134 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.7825, allocations: 51.02 kB / 1.134 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.7826, allocations: 32 kB / 1.134 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005013/0.7831, allocations: 294.5 kB / 1.134 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.7838, allocations: 477.6 kB / 1.135 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7838, allocations: 4 kB / 1.135 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.7838, allocations: 11.78 kB / 1.135 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.7839, allocations: 12 kB / 1.135 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.7859, allocations: 1.983 MB / 1.136 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.7862, allocations: 259.6 kB / 1.137 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.7864, allocations: 128.8 kB / 1.137 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.7864, allocations: 4 kB / 1.137 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.7867, allocations: 191.7 kB / 1.137 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.936e-06/0.7868, allocations: 7.922 kB / 1.137 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.0005121/0.7873, allocations: 324.3 kB / 1.137 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.7873, allocations: 110.8 kB / 1.137 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.788, allocations: 0.6283 MB / 1.138 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.7881, allocations: 41.7 kB / 1.138 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.7884, allocations: 376.6 kB / 1.138 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.7884, allocations: 98.78 kB / 1.139 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.7885, allocations: 0 / 1.139 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7886, allocations: 333.9 kB / 1.139 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.7888, allocations: 109.6 kB / 1.139 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.7891, allocations: 290.5 kB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.7893, allocations: 124.7 kB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7893, allocations: 7.938 kB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006055/0.7899, allocations: 443.1 kB / 1.14 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7899, allocations: 4 kB / 1.14 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7899, allocations: 4 kB / 1.14 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7899, allocations: 8 kB / 1.14 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.7902, allocations: 67.84 kB / 1.14 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7902, allocations: 11.98 kB / 1.14 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.7905, allocations: 45.11 kB / 1.14 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.7905, allocations: 24 kB / 1.14 GB, free: 11.05 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.0001455/0.7907, allocations: 149.8 kB / 1.14 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.7908, allocations: 79 kB / 1.14 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.7914, allocations: 382.6 kB / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7915, allocations: 8 kB / 1.141 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7915, allocations: 1.688 kB / 1.141 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7915, allocations: 7.984 kB / 1.141 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.7928, allocations: 0.9909 MB / 1.142 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.7928, allocations: 4 kB / 1.142 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.7929, allocations: 27.92 kB / 1.142 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.7929, allocations: 4 kB / 1.142 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.793, allocations: 11.98 kB / 1.142 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.793, allocations: 3.938 kB / 1.142 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.793, allocations: 4 kB / 1.142 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.7936, allocations: 468.5 kB / 1.142 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7937, allocations: 156.2 kB / 1.142 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.7938, allocations: 3.984 kB / 1.142 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.794, allocations: 33.91 kB / 1.142 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7941, allocations: 44.38 kB / 1.142 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.7941, allocations: 15.98 kB / 1.142 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004774/0.7946, allocations: 463.1 kB / 1.143 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7946, allocations: 0 / 1.143 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004477/0.7951, allocations: 119.8 kB / 1.143 GB, free: 8.035 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.0008913/0.796, allocations: 412.6 kB / 1.143 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.7965, allocations: 343.1 kB / 1.144 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7965, allocations: 0 / 1.144 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.7967, allocations: 161.6 kB / 1.144 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.7972, allocations: 111.7 kB / 1.144 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.7986, allocations: 0.8588 MB / 1.145 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.7991, allocations: 0.9773 MB / 1.146 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.7993, allocations: 92.97 kB / 1.146 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7995, allocations: 55.42 kB / 1.146 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.7995, allocations: 0 / 1.146 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of Templates: time 0.0114/0.8109, allocations: 6.135 MB / 1.152 GB, free: 15.13 MB / 0.7605 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)