Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.001218/0.001218, allocations: 185.6 kB / 371.8 MB, free: 10.8 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.825/1.825, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.001045/0.001045, allocations: 87.78 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004697, allocations: 12.86 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.005299/0.253, allocations: 4.595 MB / 0.9838 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005379/0.2584, allocations: 3.063 MB / 0.9868 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2599, allocations: 31.88 kB / 0.9868 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.2618, allocations: 0.6004 MB / 0.9874 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.2634, allocations: 382.1 kB / 0.9877 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.266, allocations: 0.7108 MB / 0.9884 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.2688, allocations: 1.986 MB / 0.9904 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.2712, allocations: 1.198 MB / 0.9915 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.2724, allocations: 0.5988 MB / 0.9921 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.2734, allocations: 0.6529 MB / 0.9928 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.2737, allocations: 63.94 kB / 0.9928 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.2744, allocations: 147.9 kB / 0.993 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.275, allocations: 0.506 MB / 0.9935 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.2755, allocations: 368.5 kB / 0.9938 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.2773, allocations: 2.127 MB / 0.9959 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2774, allocations: 0 / 0.9959 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2774, allocations: 0 / 0.9959 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000128/0.2775, allocations: 0 / 0.9959 GB, free: 11.09 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.003635/0.2811, allocations: 2.138 MB / 0.998 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.2812, allocations: 8.031 kB / 0.998 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003505/0.2816, allocations: 257.8 kB / 0.9982 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.2834, allocations: 1.483 MB / 0.9997 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.2836, allocations: 148.6 kB / 0.9998 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.2837, allocations: 144 kB / 1 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.2857, allocations: 1.474 MB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.2857, allocations: 3.938 kB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.2858, allocations: 59.98 kB / 1.001 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.2859, allocations: 32 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.2874, allocations: 1.004 MB / 1.002 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006798/0.2942, allocations: 6.278 MB / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2959, allocations: 0.7882 MB / 1.009 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006801/0.2967, allocations: 397 kB / 1.01 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.297, allocations: 126.1 kB / 1.01 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009402/0.298, allocations: 0.5087 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=102): time 4.749e-06/0.298, allocations: 4 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.002668/0.3007, allocations: 1.217 MB / 1.012 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.3008, allocations: 123.8 kB / 1.012 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.3046, allocations: 2.016 MB / 1.014 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.3048, allocations: 85.62 kB / 1.014 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.3059, allocations: 0.9333 MB / 1.015 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.3062, allocations: 268.7 kB / 1.015 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.681e-05/0.3063, allocations: 32 kB / 1.015 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3066, allocations: 361.9 kB / 1.015 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/0.3075, allocations: 427.8 kB / 1.016 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3087, allocations: 0.8361 MB / 1.016 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.3104, allocations: 1.007 MB / 1.017 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.3104, allocations: 4 kB / 1.017 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002956/0.3134, allocations: 1.401 MB / 1.019 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.3135, allocations: 16.06 kB / 1.019 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.3135, allocations: 8 kB / 1.019 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.3135, allocations: 23.94 kB / 1.019 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.3142, allocations: 203.5 kB / 1.019 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.871e-05/0.3143, allocations: 27.88 kB / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.3154, allocations: 166.6 kB / 1.019 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.3155, allocations: 67.98 kB / 1.019 GB, free: 2.145 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.001444/0.317, allocations: 0.5954 MB / 1.02 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/0.3175, allocations: 185.7 kB / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.3198, allocations: 1.048 MB / 1.021 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.3199, allocations: 11.91 kB / 1.021 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3199, allocations: 0 / 1.021 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.3207, allocations: 386.4 kB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.3211, allocations: 39.98 kB / 1.022 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.3217, allocations: 51.97 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.3221, allocations: 160.8 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001989/0.3241, allocations: 0.9936 MB / 1.023 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00184/0.3259, allocations: 1.187 MB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007072/0.3266, allocations: 459.8 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002291/0.3289, allocations: 1.286 MB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of Backend: time 9.02e-07/0.3289, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003322/0.3323, allocations: 1.186 MB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of SimCode: time 0.006892/0.3392, allocations: 4.05 MB / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of Templates: time 0.03843/0.3776, allocations: 17.46 MB / 1.048 GB, free: 5.172 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1)