Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") 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.207 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.001573/0.001574, allocations: 182.1 kB / 371.8 MB, free: 10.82 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.59/1.59, allocations: 205.4 MB / 0.6304 GB, free: 10.59 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.001077/0.001077, allocations: 103.7 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 11.53 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.003988/0.2343, allocations: 3.987 MB / 0.9832 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003644/0.238, allocations: 2.841 MB / 0.986 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.2385, allocations: 27.81 kB / 0.986 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.2398, allocations: 0.6029 MB / 0.9866 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.2404, allocations: 335.1 kB / 0.9869 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.2419, allocations: 0.6352 MB / 0.9875 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2434, allocations: 1.729 MB / 0.9892 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2444, allocations: 1.008 MB / 0.9902 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.2449, allocations: 0.5134 MB / 0.9907 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2453, allocations: 0.5637 MB / 0.9912 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2455, allocations: 52 kB / 0.9913 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2458, allocations: 123.9 kB / 0.9914 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.246, allocations: 406.6 kB / 0.9918 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2462, allocations: 304.7 kB / 0.9921 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.2473, allocations: 1.73 MB / 0.9938 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2473, allocations: 0 / 0.9938 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2473, allocations: 0 / 0.9938 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.2473, allocations: 0 / 0.9938 GB, free: 13.3 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.002162/0.2495, allocations: 1.753 MB / 0.9955 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2496, allocations: 8.031 kB / 0.9955 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.2498, allocations: 202.5 kB / 0.9957 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2511, allocations: 1.103 MB / 0.9968 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.2512, allocations: 144.6 kB / 0.9969 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.2513, allocations: 128 kB / 0.997 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.2531, allocations: 1.337 MB / 0.9983 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.2532, allocations: 7.938 kB / 0.9983 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.2532, allocations: 48 kB / 0.9984 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.2533, allocations: 32 kB / 0.9984 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2546, allocations: 0.9015 MB / 0.9993 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.259, allocations: 5.561 MB / 1.005 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2601, allocations: 0.6985 MB / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.2605, allocations: 359.7 kB / 1.006 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.2606, allocations: 24.94 kB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000716/0.2613, allocations: 492.9 kB / 1.006 GB, free: 68 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=93): time 3.847e-06/0.2613, allocations: 0 / 1.006 GB, free: 68 kB / 0.6198 GB Notification: Performance of matching and sorting (n=93): time 0.001985/0.2633, allocations: 1.096 MB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.2634, allocations: 127.8 kB / 1.007 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.2654, allocations: 1.605 MB / 1.009 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.2655, allocations: 81.69 kB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.2661, allocations: 0.7475 MB / 1.01 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.2663, allocations: 233.1 kB / 1.01 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.2664, allocations: 24 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2665, allocations: 357.9 kB / 1.01 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.2672, allocations: 371.8 kB / 1.011 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/0.2681, allocations: 0.7564 MB / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2693, allocations: 0.8984 MB / 1.012 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.2693, allocations: 7.938 kB / 1.012 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001972/0.2713, allocations: 1.222 MB / 1.014 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2713, allocations: 12 kB / 1.014 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.2714, allocations: 8 kB / 1.014 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/0.2714, allocations: 20 kB / 1.014 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.272, allocations: 163.6 kB / 1.014 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.272, allocations: 23.92 kB / 1.014 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.2727, allocations: 155 kB / 1.014 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/0.2728, allocations: 64.05 kB / 1.014 GB, free: 7.762 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.0008639/0.2736, allocations: 0.5244 MB / 1.014 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.2739, allocations: 150.1 kB / 1.015 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2755, allocations: 0.9544 MB / 1.016 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2755, allocations: 3.984 kB / 1.016 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2755, allocations: 0 / 1.016 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.2759, allocations: 250.9 kB / 1.016 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.276, allocations: 32 kB / 1.016 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.2764, allocations: 47.95 kB / 1.016 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.2767, allocations: 140.8 kB / 1.016 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001595/0.2783, allocations: 0.935 MB / 1.017 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001422/0.2797, allocations: 1.087 MB / 1.018 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006281/0.2804, allocations: 427.8 kB / 1.018 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001538/0.2819, allocations: 0.9964 MB / 1.019 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of Backend: time 8.72e-07/0.2819, allocations: 0 / 1.019 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003315/0.2853, allocations: 1.133 MB / 1.02 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of SimCode: time 0.005013/0.2903, allocations: 3.303 MB / 1.024 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.02982/0.3202, allocations: 14.08 MB / 1.037 GB, free: 15.8 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1)