Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 184 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.538/2.538, allocations: 205.4 MB / 0.5767 GB, free: 20.69 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.61 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004607, allocations: 12.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006231/0.2434, allocations: 2.516 MB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.2487, allocations: 1.522 MB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.2493, allocations: 11.94 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.2509, allocations: 282.8 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008368/0.2518, allocations: 157.6 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.2533, allocations: 277.3 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.2547, allocations: 0.6521 MB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.2556, allocations: 394 kB / 0.9047 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.256, allocations: 219.1 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2565, allocations: 230.9 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2566, allocations: 23.94 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.257, allocations: 75.89 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.2573, allocations: 159.4 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.2575, allocations: 129.3 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.2585, allocations: 0.5381 MB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2585, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2585, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2586, allocations: 0 / 0.906 GB, free: 58.23 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0021/0.2607, allocations: 0.8927 MB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.2607, allocations: 12.03 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.261, allocations: 83.91 kB / 0.907 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.2621, allocations: 473.2 kB / 0.9074 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2623, allocations: 75.56 kB / 0.9075 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.2624, allocations: 63.94 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.2641, allocations: 0.6091 MB / 0.9082 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.2641, allocations: 0 / 0.9082 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.2642, allocations: 24 kB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2643, allocations: 12 kB / 0.9082 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2656, allocations: 379.5 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.2696, allocations: 2.58 MB / 0.9111 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2708, allocations: 278.8 kB / 0.9113 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.2713, allocations: 140.7 kB / 0.9115 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.2714, allocations: 7.984 kB / 0.9115 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/0.2721, allocations: 214.5 kB / 0.9117 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.659e-06/0.2722, allocations: 4 kB / 0.9117 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001707/0.2739, allocations: 445.9 kB / 0.9121 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.274, allocations: 81.11 kB / 0.9122 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.2753, allocations: 0.6363 MB / 0.9128 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.2754, allocations: 37.7 kB / 0.9129 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.2758, allocations: 376.2 kB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.276, allocations: 94.8 kB / 0.9133 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.276, allocations: 16 kB / 0.9133 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2762, allocations: 382.8 kB / 0.9137 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.2768, allocations: 129.2 kB / 0.9138 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006919/0.2775, allocations: 339.8 kB / 0.9141 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.2781, allocations: 152.7 kB / 0.9143 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.2781, allocations: 4 kB / 0.9143 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001635/0.2797, allocations: 0.5189 MB / 0.9148 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.2798, allocations: 11.94 kB / 0.9148 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.2798, allocations: 12.09 kB / 0.9148 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.2799, allocations: 11.94 kB / 0.9148 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.2804, allocations: 79.83 kB / 0.9149 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.2805, allocations: 11.94 kB / 0.9149 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.2811, allocations: 63.36 kB / 0.915 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.2812, allocations: 28 kB / 0.915 GB, free: 48.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,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.localCondition,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.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0005909/0.2818, allocations: 270.8 kB / 0.9153 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2819, allocations: 67.17 kB / 0.9153 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.2833, allocations: 398.7 kB / 0.9157 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.2833, allocations: 4 kB / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2833, allocations: 0 / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2833, allocations: 0 / 0.9157 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.286, allocations: 1.039 MB / 0.9167 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.286, allocations: 0 / 0.9167 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.2863, allocations: 27.92 kB / 0.9167 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.2863, allocations: 0 / 0.9167 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.2863, allocations: 12 kB / 0.9168 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.2864, allocations: 11.92 kB / 0.9168 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2864, allocations: 0 / 0.9168 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.2876, allocations: 478.5 kB / 0.9172 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.2878, allocations: 140.2 kB / 0.9174 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.288, allocations: 15.98 kB / 0.9174 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2884, allocations: 8 kB / 0.9174 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.2887, allocations: 51.67 kB / 0.9174 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.2888, allocations: 15.98 kB / 0.9174 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009883/0.2898, allocations: 411 kB / 0.9178 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.61e-07/0.2898, allocations: 0 / 0.9178 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001324/0.2912, allocations: 135.6 kB / 0.918 GB, free: 45.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.001954/0.2932, allocations: 445.5 kB / 0.9184 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.2946, allocations: 391.2 kB / 0.9188 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2947, allocations: 0 / 0.9188 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.2952, allocations: 172.1 kB / 0.9189 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.2964, allocations: 90.81 kB / 0.919 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.2995, allocations: 1.271 MB / 0.9203 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3001, allocations: 0.9313 MB / 0.9212 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004806/0.3006, allocations: 84.34 kB / 0.9212 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3008, allocations: 47.42 kB / 0.9213 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.563e-06/0.3008, allocations: 0 / 0.9213 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.0162/0.3171, allocations: 4.958 MB / 0.9261 GB, free: 37.2 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)