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.611/1.611, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001102/0.001102, allocations: 180.8 kB / 361.4 MB, free: 6.812 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.634/1.634, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001055/0.001055, allocations: 96.19 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.326e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6265, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.8218, allocations: 144.7 MB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.8221, allocations: 83.95 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04448/0.8666, allocations: 16.96 MB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8666, allocations: 0 / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.149e-05/0.8667, allocations: 12 kB / 1.122 GB, free: 10.03 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.002036/0.8688, allocations: 0.9116 MB / 1.123 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.8688, allocations: 8.031 kB / 1.123 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.8692, allocations: 94.83 kB / 1.123 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.8702, allocations: 0.5007 MB / 1.124 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.8703, allocations: 51.02 kB / 1.124 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.8704, allocations: 31.98 kB / 1.124 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005916/0.871, allocations: 294.6 kB / 1.124 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.8717, allocations: 481.6 kB / 1.125 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.8718, allocations: 7.938 kB / 1.125 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.8718, allocations: 3.953 kB / 1.125 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.8718, allocations: 12 kB / 1.125 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.8743, allocations: 1.98 MB / 1.127 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.8747, allocations: 263.6 kB / 1.127 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.8749, allocations: 126.6 kB / 1.127 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.8749, allocations: 4 kB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.8753, allocations: 194.9 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 4.388e-06/0.8753, allocations: 7.938 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0005682/0.8759, allocations: 328.3 kB / 1.128 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.876, allocations: 114.8 kB / 1.128 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.8767, allocations: 0.6205 MB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.8768, allocations: 37.69 kB / 1.128 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.8771, allocations: 386.3 kB / 1.129 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.8772, allocations: 94.8 kB / 1.129 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.8772, allocations: 0 / 1.129 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8773, allocations: 333.9 kB / 1.129 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.8775, allocations: 113.5 kB / 1.129 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.8779, allocations: 286.4 kB / 1.129 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.8781, allocations: 128.7 kB / 1.13 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8781, allocations: 4 kB / 1.13 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006419/0.8788, allocations: 434.8 kB / 1.13 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8788, allocations: 9.094 kB / 1.13 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.8788, allocations: 4.562 kB / 1.13 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.8788, allocations: 8 kB / 1.13 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.8791, allocations: 75.83 kB / 1.13 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8791, allocations: 12.8 kB / 1.13 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8794, allocations: 39.73 kB / 1.13 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.8794, allocations: 20 kB / 1.13 GB, free: 1.703 MB / 0.7292 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.0001645/0.8796, allocations: 154 kB / 1.13 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.8797, allocations: 79.09 kB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.8805, allocations: 385.9 kB / 1.131 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8805, allocations: 5.031 kB / 1.131 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.8805, allocations: 3.984 kB / 1.131 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8805, allocations: 0 / 1.131 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.882, allocations: 0.9948 MB / 1.132 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.882, allocations: 0 / 1.132 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.8822, allocations: 39.91 kB / 1.132 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.8822, allocations: 0 / 1.132 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.8822, allocations: 6.734 kB / 1.132 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8822, allocations: 3.938 kB / 1.132 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8822, allocations: 2.578 kB / 1.132 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.8829, allocations: 479 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.883, allocations: 153.4 kB / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.8831, allocations: 11.98 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.8833, allocations: 15.98 kB / 1.132 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.8834, allocations: 48.36 kB / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.8835, allocations: 16 kB / 1.132 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005326/0.884, allocations: 459.1 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/0.884, allocations: 4 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00059/0.8846, allocations: 115.8 kB / 1.133 GB, free: 14.68 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.0009944/0.8856, allocations: 413.3 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.8862, allocations: 343.2 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8862, allocations: 1.125 kB / 1.134 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.8865, allocations: 161.6 kB / 1.134 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.887, allocations: 111.2 kB / 1.134 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.8885, allocations: 0.8572 MB / 1.135 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.8892, allocations: 0.9833 MB / 1.136 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.8895, allocations: 102.1 kB / 1.136 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.8896, allocations: 55.42 kB / 1.136 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.8896, allocations: 0 / 1.136 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of Templates: time 0.01394/0.9036, allocations: 6.124 MB / 1.142 GB, free: 5.777 MB / 0.7448 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)