Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 105.2 kB / 16.36 MB, free: 6.309 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.001507/0.001507, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.611/1.611, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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.001884/0.001885, allocations: 75.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3113, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.5329/0.8443, allocations: 5.247 MB / 0.7899 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004898/0.8492, allocations: 3.174 MB / 0.793 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.8502, allocations: 33.81 kB / 0.793 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.8519, allocations: 0.6959 MB / 0.7937 GB, free: 45.39 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001012/0.8529, allocations: 484 kB / 0.7942 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.8548, allocations: 0.9946 MB / 0.7952 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.8569, allocations: 2.291 MB / 0.7974 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.8585, allocations: 1.415 MB / 0.7988 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.8593, allocations: 0.8102 MB / 0.7996 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.8601, allocations: 0.8358 MB / 0.8004 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.8604, allocations: 200.1 kB / 0.8006 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.861, allocations: 303.7 kB / 0.8009 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.8615, allocations: 0.6645 MB / 0.8015 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.8623, allocations: 1.027 MB / 0.8025 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.8658, allocations: 2.862 MB / 0.8053 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8659, allocations: 4 kB / 0.8053 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8659, allocations: 1.344 kB / 0.8053 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.024e-05/0.8659, allocations: 0 / 0.8053 GB, free: 40.46 MB / 0.6544 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.005042/0.871, allocations: 2.548 MB / 0.8078 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.8711, allocations: 9.953 kB / 0.8078 GB, free: 38.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/0.8717, allocations: 254.1 kB / 0.8081 GB, free: 38.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.8742, allocations: 1.483 MB / 0.8095 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.8744, allocations: 154.9 kB / 0.8097 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.8746, allocations: 142.3 kB / 0.8098 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.8772, allocations: 1.486 MB / 0.8112 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.8772, allocations: 5.188 kB / 0.8112 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8773, allocations: 60.69 kB / 0.8113 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.8774, allocations: 31.66 kB / 0.8113 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.8793, allocations: 1.018 MB / 0.8123 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008168/0.8875, allocations: 6.203 MB / 0.8184 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.8891, allocations: 0.7993 MB / 0.8192 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.8898, allocations: 397.7 kB / 0.8195 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.8901, allocations: 132.8 kB / 0.8197 GB, free: 31.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.8911, allocations: 0.5123 MB / 0.8202 GB, free: 31.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=102): time 3.957e-06/0.8911, allocations: 1.219 kB / 0.8202 GB, free: 31.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.002832/0.8939, allocations: 1.229 MB / 0.8214 GB, free: 30.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.894, allocations: 123.2 kB / 0.8215 GB, free: 30.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.8979, allocations: 2.033 MB / 0.8235 GB, free: 29.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.8982, allocations: 85.64 kB / 0.8236 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.899, allocations: 0.9299 MB / 0.8245 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.8993, allocations: 265.8 kB / 0.8247 GB, free: 28.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006244/0.9, allocations: 363.4 kB / 0.8251 GB, free: 28.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.9, allocations: 302.7 kB / 0.8254 GB, free: 28.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.9009, allocations: 434.3 kB / 0.8258 GB, free: 28.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.902, allocations: 0.84 MB / 0.8266 GB, free: 27.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.9036, allocations: 1.023 MB / 0.8276 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.9036, allocations: 2.469 kB / 0.8276 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003271/0.9069, allocations: 1.41 MB / 0.829 GB, free: 26.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.9069, allocations: 8.188 kB / 0.829 GB, free: 26.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.907, allocations: 11.47 kB / 0.829 GB, free: 26.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.092e-05/0.907, allocations: 20.38 kB / 0.829 GB, free: 26.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.9078, allocations: 211.9 kB / 0.8292 GB, free: 26.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-05/0.9078, allocations: 25.38 kB / 0.8292 GB, free: 26.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.9092, allocations: 146.2 kB / 0.8294 GB, free: 26.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.9094, allocations: 68.73 kB / 0.8294 GB, free: 26.13 MB / 0.6544 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,$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,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.timer.passed,$PRE.con.timer.passed,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,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition7) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001459/0.9109, allocations: 0.6053 MB / 0.83 GB, free: 25.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.9114, allocations: 188.3 kB / 0.8302 GB, free: 25.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.9136, allocations: 1.05 MB / 0.8312 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.9136, allocations: 9.375 kB / 0.8312 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9137, allocations: 1.312 kB / 0.8312 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/0.9143, allocations: 381.5 kB / 0.8316 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.9146, allocations: 36.41 kB / 0.8316 GB, free: 24.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.915, allocations: 42.17 kB / 0.8317 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.9154, allocations: 146.4 kB / 0.8318 GB, free: 24.92 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001845/0.9173, allocations: 0.9929 MB / 0.8328 GB, free: 24.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001905/0.9192, allocations: 1.199 MB / 0.834 GB, free: 23.89 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007551/0.92, allocations: 460 kB / 0.8344 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002316/0.9223, allocations: 1.297 MB / 0.8357 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of Backend: time 1.032e-06/0.9223, allocations: 5.094 kB / 0.8357 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004154/0.9265, allocations: 1.195 MB / 0.8368 GB, free: 22.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006572/0.9331, allocations: 3.589 MB / 0.8403 GB, free: 20.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.05694/0.99, allocations: 19.38 MB / 0.8593 GB, free: 13.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1)