Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.0009895/0.0009898, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.631/1.631, allocations: 205.4 MB / 0.6316 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.0009078/0.0009079, allocations: 98.23 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004997, allocations: 11.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2424, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.004403/0.2468, allocations: 4.599 MB / 0.9852 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004098/0.2509, allocations: 3.063 MB / 0.9882 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.2517, allocations: 31.81 kB / 0.9883 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.2531, allocations: 0.5931 MB / 0.9888 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008594/0.254, allocations: 382.1 kB / 0.9892 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.2557, allocations: 0.7178 MB / 0.9899 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2574, allocations: 1.99 MB / 0.9918 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.2587, allocations: 1.19 MB / 0.993 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.2592, allocations: 0.6066 MB / 0.9936 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.2597, allocations: 0.6568 MB / 0.9942 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.2598, allocations: 60 kB / 0.9943 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.2602, allocations: 147.9 kB / 0.9944 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/0.2605, allocations: 0.4943 MB / 0.9949 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.261, allocations: 0.8363 MB / 0.9957 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.2623, allocations: 2.127 MB / 0.9978 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2623, allocations: 0 / 0.9978 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2623, allocations: 0 / 0.9978 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.2623, allocations: 4 kB / 0.9978 GB, free: 9.785 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.002701/0.2651, allocations: 2.128 MB / 0.9999 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2651, allocations: 12.03 kB / 0.9999 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2654, allocations: 257.8 kB / 1 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.2671, allocations: 1.475 MB / 1.002 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.2672, allocations: 156.6 kB / 1.002 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2674, allocations: 140 kB / 1.002 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.2693, allocations: 1.482 MB / 1.003 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2693, allocations: 3.938 kB / 1.003 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.2694, allocations: 56 kB / 1.003 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2694, allocations: 32 kB / 1.003 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.2709, allocations: 1.004 MB / 1.004 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/0.2772, allocations: 6.278 MB / 1.011 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.2787, allocations: 0.7896 MB / 1.011 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.2793, allocations: 396.6 kB / 1.012 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.2796, allocations: 122.1 kB / 1.012 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009509/0.2805, allocations: 0.5169 MB / 1.012 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=102): time 5.36e-06/0.2806, allocations: 3.938 kB / 1.012 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.002279/0.2828, allocations: 1.22 MB / 1.013 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.2829, allocations: 123.8 kB / 1.014 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.2856, allocations: 2.02 MB / 1.016 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.2858, allocations: 77.7 kB / 1.016 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/0.2866, allocations: 0.9372 MB / 1.017 GB, free: 6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.2868, allocations: 256.7 kB / 1.017 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.2869, allocations: 36 kB / 1.017 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2871, allocations: 361.9 kB / 1.017 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/0.2879, allocations: 427.7 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.289, allocations: 0.8361 MB / 1.018 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2905, allocations: 1.011 MB / 1.019 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.2905, allocations: 4 kB / 1.019 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002684/0.2932, allocations: 1.401 MB / 1.021 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.2933, allocations: 8 kB / 1.021 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.2933, allocations: 12 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/0.2933, allocations: 20 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.294, allocations: 207.5 kB / 1.021 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/0.294, allocations: 24.47 kB / 1.021 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/0.295, allocations: 170.6 kB / 1.021 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.2951, allocations: 67.98 kB / 1.021 GB, free: 0.8516 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition8,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition3,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.PEle.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.staBy.active,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.pumOn.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.localCondition,con.transition7.enableFire,con.transition10.localCondition,con.transition10.enableFire,con.assWatMas.nand.y,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.localCondition,con.transition1.enableFire,con.transition2.localCondition,con.transition2.enableFire,con.nor.active,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.pre.u,con.warUpCtr.pre.u,con.transition6.localCondition,con.transition6.enableFire,con.plaOff.active,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.transition4.localCondition,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.001385/0.2965, allocations: 0.6051 MB / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.2969, allocations: 185.7 kB / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.2988, allocations: 1.048 MB / 1.023 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.2988, allocations: 7.922 kB / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2988, allocations: 0 / 1.023 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/0.2995, allocations: 386.3 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.2997, allocations: 39.98 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.3002, allocations: 51.95 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/0.3005, allocations: 160.8 kB / 1.024 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00179/0.3023, allocations: 1.001 MB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001745/0.3041, allocations: 1.191 MB / 1.026 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007266/0.3048, allocations: 451.8 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00196/0.3068, allocations: 1.286 MB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of Backend: time 7.11e-07/0.3068, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003444/0.3103, allocations: 1.19 MB / 1.029 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of SimCode: time 0.00598/0.3163, allocations: 4.052 MB / 1.033 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of Templates: time 0.03517/0.3514, allocations: 17.56 MB / 1.05 GB, free: 3.734 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1)