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.864/1.864, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001147/0.001147, allocations: 197 kB / 377.1 MB, free: 1.531 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.498/1.498, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.0008949/0.0008949, allocations: 92.72 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004094, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3122, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9777/1.29, allocations: 146.5 MB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.29, allocations: 95.23 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04703/1.337, allocations: 17.22 MB / 1.148 GB, free: 17.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.325e-06/1.337, allocations: 0 / 1.148 GB, free: 17.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.58e-05/1.338, allocations: 12 kB / 1.148 GB, free: 17.59 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.001543/1.339, allocations: 1.029 MB / 1.149 GB, free: 16.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.339, allocations: 12.02 kB / 1.149 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/1.339, allocations: 97.17 kB / 1.149 GB, free: 16.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/1.34, allocations: 0.496 MB / 1.15 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/1.34, allocations: 75.94 kB / 1.15 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/1.34, allocations: 56.8 kB / 1.15 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007896/1.341, allocations: 0.5415 MB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.341, allocations: 7.938 kB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/1.341, allocations: 17.41 kB / 1.151 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.341, allocations: 12 kB / 1.151 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/1.342, allocations: 344.8 kB / 1.151 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/1.344, allocations: 2.083 MB / 1.153 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/1.345, allocations: 290.5 kB / 1.153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.345, allocations: 4 kB / 1.153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/1.345, allocations: 209.1 kB / 1.153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/1.345, allocations: 0 / 1.153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0008191/1.346, allocations: 476.6 kB / 1.154 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/1.346, allocations: 116.7 kB / 1.154 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/1.347, allocations: 0.6772 MB / 1.155 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/1.347, allocations: 47.34 kB / 1.155 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/1.347, allocations: 381.2 kB / 1.155 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/1.347, allocations: 103.9 kB / 1.155 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/1.347, allocations: 8 kB / 1.155 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/1.347, allocations: 336.5 kB / 1.156 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.347, allocations: 132.2 kB / 1.156 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/1.348, allocations: 304.3 kB / 1.156 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/1.348, allocations: 148.5 kB / 1.156 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.348, allocations: 0 / 1.156 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000685/1.349, allocations: 0.498 MB / 1.157 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.349, allocations: 10.34 kB / 1.157 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.349, allocations: 4 kB / 1.157 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/1.349, allocations: 8 kB / 1.157 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.349, allocations: 75.39 kB / 1.157 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.349, allocations: 11.94 kB / 1.157 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/1.349, allocations: 58.61 kB / 1.157 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.349, allocations: 24 kB / 1.157 GB, free: 9.504 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 () * 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.0003322/1.35, allocations: 279.2 kB / 1.157 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/1.35, allocations: 68.75 kB / 1.157 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/1.35, allocations: 443.9 kB / 1.157 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/1.351, allocations: 4 kB / 1.157 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.351, allocations: 0 / 1.157 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.351, allocations: 3.375 kB / 1.157 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/1.352, allocations: 1.104 MB / 1.159 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.352, allocations: 7.938 kB / 1.159 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.352, allocations: 33.28 kB / 1.159 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.352, allocations: 1.312 kB / 1.159 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/1.352, allocations: 13.36 kB / 1.159 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.352, allocations: 7.609 kB / 1.159 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.352, allocations: 0 / 1.159 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/1.353, allocations: 0.4947 MB / 1.159 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.353, allocations: 157 kB / 1.159 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/1.353, allocations: 17.55 kB / 1.159 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.353, allocations: 20.41 kB / 1.159 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.353, allocations: 46.58 kB / 1.159 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/1.353, allocations: 18.81 kB / 1.159 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006003/1.354, allocations: 0.5052 MB / 1.16 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/1.354, allocations: 0 / 1.16 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006047/1.355, allocations: 136 kB / 1.16 GB, free: 6.43 MB / 0.7292 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.001478/1.356, allocations: 489.4 kB / 1.16 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007001/1.357, allocations: 388.8 kB / 1.161 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.357, allocations: 0 / 1.161 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.357, allocations: 174.4 kB / 1.161 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/1.358, allocations: 114.9 kB / 1.161 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.359, allocations: 1.406 MB / 1.162 GB, free: 4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.36, allocations: 0.9734 MB / 1.163 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002831/1.36, allocations: 98.77 kB / 1.164 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.36, allocations: 59.41 kB / 1.164 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/1.36, allocations: 0 / 1.164 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of Templates: time 0.01476/1.375, allocations: 6.809 MB / 1.17 GB, free: 12.11 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)