Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.629/1.629, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009464, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000775/0.000775, allocations: 93.38 kB / 0.7808 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 16 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.619, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1781/0.7971, allocations: 149.2 MB / 1.172 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.7974, allocations: 97.28 kB / 1.172 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0451/0.8425, allocations: 17.6 MB / 1.189 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8426, allocations: 0 / 1.189 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.022e-05/0.8426, allocations: 20.59 kB / 1.189 GB, free: 11.14 MB / 0.7605 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.001792/0.8444, allocations: 1.031 MB / 1.19 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8445, allocations: 12.02 kB / 1.19 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.8448, allocations: 91.81 kB / 1.19 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.8457, allocations: 0.5284 MB / 1.191 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.194e-05/0.8458, allocations: 71.83 kB / 1.191 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.8459, allocations: 60.36 kB / 1.191 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/0.8468, allocations: 0.5468 MB / 1.192 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8468, allocations: 3.938 kB / 1.192 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.8469, allocations: 21.12 kB / 1.192 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.8469, allocations: 12 kB / 1.192 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.8475, allocations: 344.6 kB / 1.192 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.85, allocations: 1.946 MB / 1.194 GB, free: 6.246 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.8506, allocations: 356.7 kB / 1.194 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.8509, allocations: 164.4 kB / 1.194 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.8509, allocations: 4 kB / 1.194 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.8514, allocations: 268 kB / 1.195 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.8514, allocations: 0 / 1.195 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44): time 0.0009959/0.8524, allocations: 0.4998 MB / 1.195 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.8525, allocations: 200.3 kB / 1.195 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.8535, allocations: 0.7462 MB / 1.196 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.8536, allocations: 51.75 kB / 1.196 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.8539, allocations: 368.9 kB / 1.196 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.854, allocations: 114.6 kB / 1.196 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.854, allocations: 8 kB / 1.196 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8541, allocations: 334 kB / 1.197 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.8544, allocations: 129.2 kB / 1.197 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.8548, allocations: 326.6 kB / 1.197 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.8554, allocations: 380.5 kB / 1.198 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8554, allocations: 0 / 1.198 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008657/0.8563, allocations: 0.5182 MB / 1.198 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8563, allocations: 8.719 kB / 1.198 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8564, allocations: 4 kB / 1.198 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.8564, allocations: 8.562 kB / 1.198 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.8566, allocations: 72.45 kB / 1.198 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.8566, allocations: 12 kB / 1.198 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.8569, allocations: 55.67 kB / 1.198 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.857, allocations: 27.98 kB / 1.198 GB, free: 1.379 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,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 (75): * Single equations (assignments): 75 * 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.0003548/0.8573, allocations: 281.3 kB / 1.199 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.8575, allocations: 83.55 kB / 1.199 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/0.8582, allocations: 434.8 kB / 1.199 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8582, allocations: 11.94 kB / 1.199 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8583, allocations: 0 / 1.199 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.8583, allocations: 7.734 kB / 1.199 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.8598, allocations: 1.116 MB / 1.2 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.8598, allocations: 4 kB / 1.2 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.86, allocations: 31.92 kB / 1.2 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.86, allocations: 4 kB / 1.2 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.86, allocations: 11.98 kB / 1.2 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.86, allocations: 7.938 kB / 1.2 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.86, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.8607, allocations: 0.5338 MB / 1.201 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.8609, allocations: 164.1 kB / 1.201 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/0.861, allocations: 12 kB / 1.201 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.8612, allocations: 25.98 kB / 1.201 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8613, allocations: 56.3 kB / 1.201 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.8613, allocations: 23.92 kB / 1.201 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005966/0.8619, allocations: 0.499 MB / 1.201 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.862, allocations: 0 / 1.201 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005159/0.8625, allocations: 136 kB / 1.202 GB, free: 13.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,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,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001094/0.8636, allocations: 490.4 kB / 1.202 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006782/0.8643, allocations: 397.2 kB / 1.202 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8643, allocations: 0 / 1.202 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.8646, allocations: 202.3 kB / 1.203 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.8653, allocations: 123.2 kB / 1.203 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.8673, allocations: 1.428 MB / 1.204 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.8678, allocations: 0.9654 MB / 1.205 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002946/0.8681, allocations: 96.08 kB / 1.205 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.8683, allocations: 59.42 kB / 1.205 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.743e-06/0.8683, allocations: 0 / 1.205 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.01364/0.8819, allocations: 6.961 MB / 1.212 GB, free: 3.586 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)