Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 179.2 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007486/0.0007485, allocations: 88.48 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 11.06 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1767, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.004433/0.1811, allocations: 5.081 MB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1848, allocations: 3.135 MB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.1855, allocations: 35.81 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1867, allocations: 0.6223 MB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.1875, allocations: 420.5 kB / 0.9058 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1891, allocations: 0.8928 MB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1905, allocations: 2.115 MB / 0.9088 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.1916, allocations: 1.17 MB / 0.9099 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.192, allocations: 0.6063 MB / 0.9105 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.1924, allocations: 0.672 MB / 0.9111 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1926, allocations: 64 kB / 0.9112 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.1928, allocations: 139.9 kB / 0.9113 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.1931, allocations: 0.5098 MB / 0.9118 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.1935, allocations: 0.8612 MB / 0.9127 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1948, allocations: 2.545 MB / 0.9152 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1948, allocations: 0 / 0.9152 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1949, allocations: 0 / 0.9152 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.1949, allocations: 0 / 0.9152 GB, free: 49.23 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002519/0.1974, allocations: 2.122 MB / 0.9172 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1975, allocations: 12.02 kB / 0.9173 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.1977, allocations: 253.8 kB / 0.9175 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.1993, allocations: 1.464 MB / 0.9189 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1994, allocations: 144.6 kB / 0.9191 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1995, allocations: 155.9 kB / 0.9192 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.2014, allocations: 1.483 MB / 0.9207 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.2014, allocations: 4 kB / 0.9207 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.2015, allocations: 59.97 kB / 0.9207 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.2016, allocations: 36 kB / 0.9208 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.203, allocations: 1.024 MB / 0.9218 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/0.2084, allocations: 6.262 MB / 0.9279 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2096, allocations: 0.804 MB / 0.9287 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.2101, allocations: 395.8 kB / 0.929 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.2103, allocations: 122 kB / 0.9291 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000739/0.2111, allocations: 0.5204 MB / 0.9297 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 4.048e-06/0.2111, allocations: 7.938 kB / 0.9297 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=103): time 0.001805/0.2129, allocations: 1.213 MB / 0.9308 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.213, allocations: 127.7 kB / 0.931 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.2147, allocations: 2.027 MB / 0.9329 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.2148, allocations: 81.69 kB / 0.933 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.2154, allocations: 0.9411 MB / 0.9339 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.2155, allocations: 260.6 kB / 0.9342 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2157, allocations: 221.6 kB / 0.9344 GB, free: 28.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.2157, allocations: 301.1 kB / 0.9347 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.2164, allocations: 431.8 kB / 0.9351 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.2172, allocations: 0.8604 MB / 0.9359 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.2183, allocations: 1.031 MB / 0.937 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.2183, allocations: 4 kB / 0.937 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001763/0.2201, allocations: 1.428 MB / 0.9383 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2201, allocations: 8 kB / 0.9384 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2201, allocations: 15.94 kB / 0.9384 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.2201, allocations: 20 kB / 0.9384 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.2207, allocations: 207.5 kB / 0.9386 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.2207, allocations: 23.94 kB / 0.9386 GB, free: 24.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.2214, allocations: 171 kB / 0.9388 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.2214, allocations: 71.98 kB / 0.9388 GB, free: 24.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 127 ($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,con.timer.yAcc,$PRE.con.timer.yAcc,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.PEle.tab.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,con.timer.reset_internal,$PRE.con.timer.reset_internal,PEle.tab.nextTimeEventScaled,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timeDel.y,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.pre.u,$PRE.con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition2.localCondition,con.transition1.enableFire,con.transition1.localCondition,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,stateGraphRoot.activeSteps,conWat.offStaBy.y,conWat.opeMod,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 200 * 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.0006092/0.2221, allocations: 0.6002 MB / 0.9394 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2222, allocations: 189.6 kB / 0.9396 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.2236, allocations: 1.052 MB / 0.9406 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2236, allocations: 7.969 kB / 0.9406 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2237, allocations: 4 kB / 0.9407 GB, free: 22.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.224, allocations: 370.3 kB / 0.941 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.2242, allocations: 31.98 kB / 0.941 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.2246, allocations: 63.95 kB / 0.9411 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.2248, allocations: 140.8 kB / 0.9412 GB, free: 21.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001372/0.2262, allocations: 0.9975 MB / 0.9422 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001262/0.2275, allocations: 1.191 MB / 0.9434 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005404/0.228, allocations: 459.8 kB / 0.9438 GB, free: 18.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001457/0.2295, allocations: 1.289 MB / 0.9451 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of Backend: time 4.91e-07/0.2295, allocations: 0 / 0.9451 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.2321, allocations: 1.207 MB / 0.9462 GB, free: 16.53 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003984/0.2361, allocations: 4.218 MB / 0.9504 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.02755/0.2637, allocations: 17.79 MB / 0.9677 GB, free: 10.55 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1)