Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.386/2.386, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001393/0.001393, allocations: 185.7 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.757/2.757, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001005/0.001005, allocations: 95.16 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 12.22 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.006241/0.2174, allocations: 4.063 MB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.2235, allocations: 2.746 MB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2246, allocations: 31.81 kB / 0.9062 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.2268, allocations: 0.5952 MB / 0.9068 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.2283, allocations: 344.6 kB / 0.9071 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.2312, allocations: 0.63 MB / 0.9077 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.2343, allocations: 1.734 MB / 0.9094 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.2364, allocations: 0.9775 MB / 0.9104 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.2372, allocations: 0.5095 MB / 0.9109 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.2379, allocations: 0.5636 MB / 0.9114 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.2381, allocations: 52 kB / 0.9115 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.2385, allocations: 104 kB / 0.9116 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004177/0.2389, allocations: 406.5 kB / 0.9119 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.2393, allocations: 312.7 kB / 0.9122 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.2413, allocations: 1.726 MB / 0.9139 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2414, allocations: 0 / 0.9139 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2414, allocations: 0 / 0.9139 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.576e-05/0.2415, allocations: 4 kB / 0.9139 GB, free: 50.68 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00395/0.2454, allocations: 1.759 MB / 0.9156 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.2455, allocations: 8.031 kB / 0.9157 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.2461, allocations: 210.4 kB / 0.9159 GB, free: 48.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.2484, allocations: 1.03 MB / 0.9169 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.2486, allocations: 136.9 kB / 0.917 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.2489, allocations: 131.9 kB / 0.9171 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.2521, allocations: 1.342 MB / 0.9184 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.2522, allocations: 7.938 kB / 0.9184 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/0.2523, allocations: 51.98 kB / 0.9185 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.2524, allocations: 35.98 kB / 0.9185 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.255, allocations: 0.8977 MB / 0.9194 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.2677, allocations: 5.55 MB / 0.9248 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.2708, allocations: 0.702 MB / 0.9255 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.2722, allocations: 347.7 kB / 0.9258 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.2724, allocations: 13 kB / 0.9258 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.2737, allocations: 488.9 kB / 0.9263 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 4.95e-06/0.2737, allocations: 4 kB / 0.9263 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.003083/0.2768, allocations: 1.08 MB / 0.9274 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.2769, allocations: 127.8 kB / 0.9275 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/0.2798, allocations: 1.621 MB / 0.9291 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.2801, allocations: 77.62 kB / 0.9291 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.2808, allocations: 0.7477 MB / 0.9299 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.2812, allocations: 233.1 kB / 0.9301 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.2813, allocations: 36 kB / 0.9301 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2814, allocations: 357.9 kB / 0.9305 GB, free: 33.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.2825, allocations: 375.8 kB / 0.9308 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.2838, allocations: 0.7737 MB / 0.9316 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.2849, allocations: 402.2 kB / 0.932 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2849, allocations: 3.938 kB / 0.932 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003309/0.2882, allocations: 1.252 MB / 0.9332 GB, free: 30.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2883, allocations: 8 kB / 0.9332 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.2884, allocations: 12 kB / 0.9332 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/0.2884, allocations: 16.81 kB / 0.9332 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2894, allocations: 175.6 kB / 0.9334 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.2895, allocations: 23.94 kB / 0.9334 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2906, allocations: 142.8 kB / 0.9336 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.2908, allocations: 63.98 kB / 0.9336 GB, free: 29.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.con.timer.yAcc,con.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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,con.warUpCtr.y,$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,con.timeDel.y,$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,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 180 * 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.00112/0.2919, allocations: 0.5328 MB / 0.9341 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.2923, allocations: 154.1 kB / 0.9343 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.2947, allocations: 0.935 MB / 0.9352 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.2947, allocations: 3.984 kB / 0.9352 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2947, allocations: 0 / 0.9352 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.2952, allocations: 251 kB / 0.9354 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.2955, allocations: 24 kB / 0.9355 GB, free: 27.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.2962, allocations: 47.95 kB / 0.9355 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004117/0.2966, allocations: 140.8 kB / 0.9356 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002351/0.299, allocations: 0.9193 MB / 0.9365 GB, free: 26.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002255/0.3013, allocations: 1.064 MB / 0.9376 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009029/0.3022, allocations: 415.8 kB / 0.938 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001942/0.3042, allocations: 1.004 MB / 0.939 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of Backend: time 1.283e-06/0.3042, allocations: 4 kB / 0.939 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003847/0.3081, allocations: 1.131 MB / 0.9401 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.006255/0.3144, allocations: 3.34 MB / 0.9433 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.04216/0.3566, allocations: 13.92 MB / 0.9569 GB, free: 6.031 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1)