Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.832/1.832, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.00108/0.00108, allocations: 179.6 kB / 372.9 MB, free: 10.14 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.593/1.593, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0008953/0.0008953, allocations: 108.5 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 15.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.003868/0.2153, allocations: 3.979 MB / 0.9846 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003718/0.2191, allocations: 2.856 MB / 0.9874 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.2196, allocations: 31.81 kB / 0.9875 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.2209, allocations: 0.6029 MB / 0.988 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.2216, allocations: 339.6 kB / 0.9884 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.2233, allocations: 0.6227 MB / 0.989 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.2249, allocations: 1.733 MB / 0.9907 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2261, allocations: 1 MB / 0.9916 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.2265, allocations: 0.5095 MB / 0.9921 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.2269, allocations: 0.5598 MB / 0.9927 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.2271, allocations: 52 kB / 0.9927 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.2273, allocations: 131.9 kB / 0.9929 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.2276, allocations: 410.5 kB / 0.9933 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.228, allocations: 0.6851 MB / 0.9939 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2291, allocations: 1.722 MB / 0.9956 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2291, allocations: 0 / 0.9956 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2292, allocations: 0 / 0.9956 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.2292, allocations: 0 / 0.9956 GB, free: 12.05 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00221/0.2314, allocations: 1.753 MB / 0.9973 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2315, allocations: 8.031 kB / 0.9973 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.2317, allocations: 206.5 kB / 0.9975 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2329, allocations: 1.092 MB / 0.9986 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.2331, allocations: 144.6 kB / 0.9987 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2332, allocations: 132 kB / 0.9988 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.2349, allocations: 1.333 MB / 1 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.235, allocations: 3.938 kB / 1 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2351, allocations: 52 kB / 1 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.2351, allocations: 28 kB / 1 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.2365, allocations: 0.9015 MB / 1.001 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.2413, allocations: 5.565 MB / 1.007 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.2425, allocations: 0.7142 MB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.2431, allocations: 359.7 kB / 1.008 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.2432, allocations: 16.94 kB / 1.008 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008667/0.244, allocations: 0.4892 MB / 1.008 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=93): time 3.677e-06/0.244, allocations: 0 / 1.008 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=93): time 0.001947/0.246, allocations: 1.096 MB / 1.009 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.2461, allocations: 123.8 kB / 1.009 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.2482, allocations: 1.609 MB / 1.011 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.2484, allocations: 81.69 kB / 1.011 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006514/0.249, allocations: 0.7398 MB / 1.012 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.2493, allocations: 237.1 kB / 1.012 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.2493, allocations: 28 kB / 1.012 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2495, allocations: 357.9 kB / 1.012 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.2502, allocations: 375.8 kB / 1.013 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.2511, allocations: 0.7486 MB / 1.013 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.2524, allocations: 0.8984 MB / 1.014 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.2524, allocations: 4 kB / 1.014 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002114/0.2546, allocations: 1.222 MB / 1.015 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.2546, allocations: 11.98 kB / 1.015 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.2546, allocations: 12 kB / 1.015 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.2547, allocations: 16 kB / 1.015 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.2552, allocations: 171.5 kB / 1.016 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/0.2553, allocations: 23.92 kB / 1.016 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.256, allocations: 147.1 kB / 1.016 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.2561, allocations: 59.98 kB / 1.016 GB, free: 6.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 118 ($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,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.avaSig,con.runSig,con.opeMod,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.enableFire,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,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,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,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 174 * 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.0009679/0.257, allocations: 0.5205 MB / 1.016 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.2573, allocations: 158.1 kB / 1.016 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.259, allocations: 0.9428 MB / 1.017 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.259, allocations: 7.984 kB / 1.017 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.259, allocations: 0 / 1.017 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.2593, allocations: 250.9 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.2595, allocations: 39.98 kB / 1.018 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.2598, allocations: 43.97 kB / 1.018 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.2601, allocations: 136.8 kB / 1.018 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0015/0.2616, allocations: 0.9311 MB / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001448/0.2631, allocations: 1.091 MB / 1.02 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005858/0.2637, allocations: 427.8 kB / 1.02 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001268/0.265, allocations: 1 MB / 1.021 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of Backend: time 6.01e-07/0.265, allocations: 0 / 1.021 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.2677, allocations: 1.139 MB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of SimCode: time 0.004739/0.2724, allocations: 3.297 MB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.02937/0.3018, allocations: 14.18 MB / 1.039 GB, free: 14.45 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1)