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.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009862/0.0009862, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.629/1.629, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0008278/0.0008279, allocations: 102.2 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 12.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.733/0.9524, allocations: 145.6 MB / 1.123 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/0.9529, allocations: 93.28 kB / 1.123 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04098/0.9939, allocations: 17.27 MB / 1.14 GB, free: 27.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9939, allocations: 0 / 1.14 GB, free: 27.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.983e-05/0.994, allocations: 19.45 kB / 1.14 GB, free: 27.2 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.001302/0.9953, allocations: 1.014 MB / 1.141 GB, free: 26.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.9953, allocations: 7.719 kB / 1.141 GB, free: 26.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.9955, allocations: 100.5 kB / 1.141 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.9962, allocations: 0.5193 MB / 1.141 GB, free: 25.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.9962, allocations: 78.12 kB / 1.142 GB, free: 25.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.9963, allocations: 54.44 kB / 1.142 GB, free: 25.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.997, allocations: 0.535 MB / 1.142 GB, free: 25.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.9971, allocations: 7.875 kB / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.9971, allocations: 25.48 kB / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.9971, allocations: 11.53 kB / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.9976, allocations: 348 kB / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.9997, allocations: 2.079 MB / 1.144 GB, free: 24.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/1, allocations: 303.2 kB / 1.145 GB, free: 24.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/1, allocations: 145.1 kB / 1.145 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/1.001, allocations: 11.28 kB / 1.145 GB, free: 24.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/1.001, allocations: 209.3 kB / 1.145 GB, free: 23.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.797e-06/1.001, allocations: 0 / 1.145 GB, free: 23.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.000792/1.002, allocations: 478.4 kB / 1.146 GB, free: 23.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/1.002, allocations: 118.5 kB / 1.146 GB, free: 23.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/1.003, allocations: 0.7593 MB / 1.146 GB, free: 23.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/1.003, allocations: 43.86 kB / 1.146 GB, free: 23.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/1.003, allocations: 376.9 kB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/1.003, allocations: 102.4 kB / 1.147 GB, free: 23.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/1.003, allocations: 14.31 kB / 1.147 GB, free: 23.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.003, allocations: 321.5 kB / 1.147 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.003, allocations: 140.9 kB / 1.147 GB, free: 22.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/1.004, allocations: 311.2 kB / 1.148 GB, free: 22.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/1.004, allocations: 368.7 kB / 1.148 GB, free: 22.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.004, allocations: 0 / 1.148 GB, free: 22.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006865/1.005, allocations: 0.5 MB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.005, allocations: 7.406 kB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.005, allocations: 4.406 kB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.005, allocations: 11.38 kB / 1.149 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.005, allocations: 74.98 kB / 1.149 GB, free: 22.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.005, allocations: 11.5 kB / 1.149 GB, free: 22.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/1.005, allocations: 56.55 kB / 1.149 GB, free: 22.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/1.005, allocations: 26.8 kB / 1.149 GB, free: 22.21 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.000329/1.006, allocations: 278.4 kB / 1.149 GB, free: 22.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/1.006, allocations: 81.41 kB / 1.149 GB, free: 22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006877/1.007, allocations: 432.9 kB / 1.149 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/1.007, allocations: 11.53 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.007, allocations: 0 / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.007, allocations: 3.984 kB / 1.149 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.008, allocations: 1.101 MB / 1.151 GB, free: 21.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.008, allocations: 0 / 1.151 GB, free: 21.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/1.008, allocations: 34.42 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.008, allocations: 0 / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/1.008, allocations: 12.98 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.008, allocations: 3.844 kB / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.008, allocations: 0 / 1.151 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/1.009, allocations: 0.503 MB / 1.151 GB, free: 21.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.009, allocations: 154.2 kB / 1.151 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/1.009, allocations: 11.69 kB / 1.151 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.009, allocations: 27.34 kB / 1.151 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.009, allocations: 45.75 kB / 1.151 GB, free: 20.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.009, allocations: 27.39 kB / 1.151 GB, free: 20.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004941/1.01, allocations: 0.5017 MB / 1.152 GB, free: 20.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.01, allocations: 0 / 1.152 GB, free: 20.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005307/1.01, allocations: 134.6 kB / 1.152 GB, free: 20.78 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.001049/1.011, allocations: 485.1 kB / 1.152 GB, free: 20.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006323/1.012, allocations: 384.2 kB / 1.153 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.012, allocations: 0 / 1.153 GB, free: 20.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.012, allocations: 183.6 kB / 1.153 GB, free: 20.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/1.013, allocations: 123.5 kB / 1.153 GB, free: 20.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/1.015, allocations: 1.405 MB / 1.154 GB, free: 19.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/1.015, allocations: 0.955 MB / 1.155 GB, free: 18.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002923/1.015, allocations: 105.7 kB / 1.155 GB, free: 18.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.015, allocations: 53.39 kB / 1.156 GB, free: 18.76 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/1.015, allocations: 0 / 1.156 GB, free: 18.76 MB / 0.698 GB Notification: Performance of Templates: time 0.01265/1.028, allocations: 6.882 MB / 1.162 GB, free: 13.01 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)