Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.002108/0.002108, allocations: 181.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001522/0.001522, allocations: 81.42 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 12.12 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003772/0.2253, allocations: 2.417 MB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.2286, allocations: 1.511 MB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.229, allocations: 15.94 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.2301, allocations: 274.8 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.2307, allocations: 152 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.2319, allocations: 286 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009333/0.2328, allocations: 0.6441 MB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006029/0.2334, allocations: 374.1 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.2338, allocations: 219.1 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.2341, allocations: 226.9 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2342, allocations: 24 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.2345, allocations: 63.91 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.2347, allocations: 155.4 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2349, allocations: 129.3 kB / 0.9846 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.2356, allocations: 0.5381 MB / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2356, allocations: 0 / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2356, allocations: 0 / 0.9852 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.2357, allocations: 0 / 0.9852 GB, free: 21.34 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001574/0.2372, allocations: 0.8847 MB / 0.986 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2373, allocations: 12.02 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2375, allocations: 90.92 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/0.2383, allocations: 471.9 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.2384, allocations: 41.31 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2385, allocations: 56 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2397, allocations: 0.6052 MB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2397, allocations: 3.938 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.2398, allocations: 31.97 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.2398, allocations: 12 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.2408, allocations: 383.5 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.2438, allocations: 2.568 MB / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.2447, allocations: 291.1 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.2451, allocations: 144.5 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.2451, allocations: 4 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005184/0.2456, allocations: 209.8 kB / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 3.035e-06/0.2457, allocations: 0 / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.001191/0.2469, allocations: 458.5 kB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.2469, allocations: 89.09 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.2478, allocations: 0.6246 MB / 0.9919 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.2479, allocations: 41.7 kB / 0.992 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.2482, allocations: 364.4 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.2483, allocations: 102.7 kB / 0.9924 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.2484, allocations: 11.94 kB / 0.9924 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2485, allocations: 386.8 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.2489, allocations: 121.2 kB / 0.9929 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.2494, allocations: 335.6 kB / 0.9932 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2498, allocations: 140.8 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.2498, allocations: 0 / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001169/0.251, allocations: 0.511 MB / 0.9939 GB, free: 12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.251, allocations: 16.14 kB / 0.9939 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.251, allocations: 8 kB / 0.9939 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.2511, allocations: 11.95 kB / 0.9939 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.2515, allocations: 79.77 kB / 0.994 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.2515, allocations: 8 kB / 0.994 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.2519, allocations: 63.42 kB / 0.9941 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.252, allocations: 24 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0004346/0.2524, allocations: 270.8 kB / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.2525, allocations: 59.25 kB / 0.9944 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.2535, allocations: 399.4 kB / 0.9948 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.2536, allocations: 7.953 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2536, allocations: 0 / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2536, allocations: 3.984 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.2556, allocations: 1.052 MB / 0.9958 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2557, allocations: 3.953 kB / 0.9958 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2559, allocations: 27.92 kB / 0.9958 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.2559, allocations: 0 / 0.9958 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.47e-05/0.256, allocations: 11.98 kB / 0.9959 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.256, allocations: 0 / 0.9959 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.256, allocations: 3.938 kB / 0.9959 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.2568, allocations: 482.8 kB / 0.9963 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.257, allocations: 144.1 kB / 0.9965 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2571, allocations: 8 kB / 0.9965 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.2574, allocations: 19.98 kB / 0.9965 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2576, allocations: 47.91 kB / 0.9965 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.2576, allocations: 16 kB / 0.9965 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006267/0.2583, allocations: 415 kB / 0.9969 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2583, allocations: 0 / 0.9969 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000706/0.259, allocations: 131.7 kB / 0.9971 GB, free: 8.617 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.2603, allocations: 445.2 kB / 0.9975 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2614, allocations: 378.5 kB / 0.9978 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2614, allocations: 3.938 kB / 0.9979 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.2618, allocations: 175.8 kB / 0.998 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.2627, allocations: 85.33 kB / 0.9981 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.2651, allocations: 1.274 MB / 0.9993 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.2656, allocations: 0.9301 MB / 1 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004178/0.266, allocations: 84.33 kB / 1 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.2662, allocations: 47.42 kB / 1 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2662, allocations: 0 / 1 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of Templates: time 0.01731/0.2836, allocations: 4.959 MB / 1.005 GB, free: 400 kB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)