Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 191.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 251.6 MB / 0.5089 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 67.91 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6402, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.005088/0.6453, allocations: 3.068 MB / 0.727 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.6482, allocations: 1.697 MB / 0.7286 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.6486, allocations: 7.938 kB / 0.7287 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.6498, allocations: 403.1 kB / 0.729 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.6504, allocations: 235.2 kB / 0.7293 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.6515, allocations: 392.4 kB / 0.7296 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008069/0.6523, allocations: 0.8149 MB / 0.7304 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.6529, allocations: 483.4 kB / 0.7309 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.6532, allocations: 298.8 kB / 0.7312 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.6535, allocations: 322.5 kB / 0.7315 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.6536, allocations: 56 kB / 0.7315 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.6538, allocations: 123.9 kB / 0.7317 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.654, allocations: 211.3 kB / 0.7319 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.6543, allocations: 349.7 kB / 0.7322 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000796/0.6551, allocations: 0.8175 MB / 0.733 GB, free: 3.832 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6551, allocations: 0 / 0.733 GB, free: 3.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6552, allocations: 0 / 0.733 GB, free: 3.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6552, allocations: 0 / 0.733 GB, free: 3.832 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00148/0.6567, allocations: 1.124 MB / 0.7341 GB, free: 2.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6567, allocations: 8.031 kB / 0.7341 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.6569, allocations: 91.81 kB / 0.7342 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.6576, allocations: 0.5127 MB / 0.7347 GB, free: 1.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.6577, allocations: 67.27 kB / 0.7347 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.994e-05/0.6578, allocations: 55.94 kB / 0.7348 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.6588, allocations: 0.5424 MB / 0.7353 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6588, allocations: 7.938 kB / 0.7353 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.6589, allocations: 20 kB / 0.7354 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.6589, allocations: 12 kB / 0.7354 GB, free: 1.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.6595, allocations: 351.7 kB / 0.7357 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.662, allocations: 2.06 MB / 0.7377 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.6626, allocations: 316.6 kB / 0.738 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.6628, allocations: 149.5 kB / 0.7382 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.6628, allocations: 8.312 kB / 0.7382 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003895/0.6632, allocations: 211.3 kB / 0.7384 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.6632, allocations: 0 / 0.7384 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0008535/0.6641, allocations: 480 kB / 0.7388 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.6642, allocations: 110.8 kB / 0.7389 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.665, allocations: 0.75 MB / 0.7397 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.6651, allocations: 41.7 kB / 0.7397 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.6654, allocations: 376.6 kB / 0.7401 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.6655, allocations: 114.6 kB / 0.7402 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.6657, allocations: 134.3 kB / 0.7403 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.6658, allocations: 386.8 kB / 0.7407 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.6661, allocations: 141.2 kB / 0.7408 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.6665, allocations: 324.3 kB / 0.7411 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.667, allocations: 401.5 kB / 0.7415 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.667, allocations: 0 / 0.7415 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007784/0.6678, allocations: 0.5225 MB / 0.742 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6678, allocations: 4 kB / 0.742 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6679, allocations: 8 kB / 0.742 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6679, allocations: 12 kB / 0.742 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.6681, allocations: 67.84 kB / 0.7421 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.6682, allocations: 15.92 kB / 0.7421 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.6684, allocations: 63.45 kB / 0.7422 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.6685, allocations: 24 kB / 0.7422 GB, free: 9.91 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[2].available,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.6688, allocations: 283 kB / 0.7425 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.6689, allocations: 71.06 kB / 0.7425 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.6696, allocations: 419.6 kB / 0.7429 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6696, allocations: 8 kB / 0.7429 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6696, allocations: 0 / 0.7429 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.6697, allocations: 11.97 kB / 0.743 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6711, allocations: 1.06 MB / 0.744 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6711, allocations: 0 / 0.744 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.6712, allocations: 35.92 kB / 0.744 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6712, allocations: 4 kB / 0.744 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.6712, allocations: 11.98 kB / 0.744 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.6713, allocations: 3.938 kB / 0.744 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6713, allocations: 7.938 kB / 0.744 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.6719, allocations: 495.3 kB / 0.7445 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.672, allocations: 148 kB / 0.7447 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.6721, allocations: 8 kB / 0.7447 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.6723, allocations: 19.98 kB / 0.7447 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.6724, allocations: 48.31 kB / 0.7447 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.6724, allocations: 19.98 kB / 0.7448 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004938/0.6729, allocations: 0.499 MB / 0.7452 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6729, allocations: 0 / 0.7452 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004729/0.6734, allocations: 131.7 kB / 0.7454 GB, free: 6.555 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,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 (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.6745, allocations: 446.8 kB / 0.7458 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.6754, allocations: 428.8 kB / 0.7462 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6754, allocations: 0 / 0.7462 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.6757, allocations: 170.4 kB / 0.7464 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.6763, allocations: 132.6 kB / 0.7465 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.6783, allocations: 1.433 MB / 0.7479 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.6789, allocations: 0.9586 MB / 0.7488 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002854/0.6791, allocations: 92.78 kB / 0.7489 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.6793, allocations: 59.42 kB / 0.749 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.6793, allocations: 0 / 0.749 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of Templates: time 0.01411/0.6934, allocations: 6.581 MB / 0.7554 GB, free: 12.45 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)