Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.881/1.881, allocations: 288.4 MB / 303.4 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.001619/0.001619, allocations: 180.4 kB / 372 MB, free: 10.3 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.906/1.906, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0009371/0.0009372, allocations: 93.03 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 11.72 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003858/0.2418, allocations: 2.41 MB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.2449, allocations: 1.522 MB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.2453, allocations: 11.94 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.2465, allocations: 276.2 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.2469, allocations: 155.3 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.2478, allocations: 285.6 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000527/0.2483, allocations: 0.6364 MB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.2488, allocations: 366.1 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2491, allocations: 211.1 kB / 0.9853 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2493, allocations: 234.8 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.2494, allocations: 24 kB / 0.9855 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2496, allocations: 67.91 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2497, allocations: 155.4 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2498, allocations: 129.3 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.2503, allocations: 0.5381 MB / 0.9864 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2503, allocations: 0 / 0.9864 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2503, allocations: 0 / 0.9864 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2503, allocations: 0 / 0.9864 GB, free: 20.67 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.001205/0.2515, allocations: 0.8847 MB / 0.9873 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2516, allocations: 19.95 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2517, allocations: 86.92 kB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.2523, allocations: 456 kB / 0.9878 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.2523, allocations: 53.3 kB / 0.9879 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2524, allocations: 60 kB / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.2531, allocations: 0.6052 MB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2532, allocations: 0 / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.2532, allocations: 24 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2532, allocations: 12 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.2538, allocations: 375.5 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2555, allocations: 2.584 MB / 0.9914 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.2561, allocations: 283 kB / 0.9917 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2563, allocations: 140.7 kB / 0.9918 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.2563, allocations: 4 kB / 0.9918 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.2566, allocations: 209.8 kB / 0.992 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/0.2567, allocations: 7.938 kB / 0.992 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006719/0.2573, allocations: 462.5 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2574, allocations: 81.11 kB / 0.9926 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.2579, allocations: 0.6285 MB / 0.9932 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.2579, allocations: 45.7 kB / 0.9932 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2581, allocations: 360.3 kB / 0.9936 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.2582, allocations: 102.7 kB / 0.9937 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.2582, allocations: 12 kB / 0.9937 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.2583, allocations: 378.8 kB / 0.994 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.2585, allocations: 129.2 kB / 0.9941 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.2588, allocations: 333.5 kB / 0.9945 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.259, allocations: 144.8 kB / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.259, allocations: 0 / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006225/0.2596, allocations: 0.5143 MB / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2597, allocations: 8 kB / 0.9951 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2597, allocations: 4.781 kB / 0.9951 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2597, allocations: 12 kB / 0.9951 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2599, allocations: 79.78 kB / 0.9952 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2599, allocations: 11.94 kB / 0.9952 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2602, allocations: 59.42 kB / 0.9953 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.2602, allocations: 28 kB / 0.9953 GB, free: 11.12 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.0002462/0.2605, allocations: 270.8 kB / 0.9956 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.2605, allocations: 63.25 kB / 0.9956 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.2611, allocations: 403.4 kB / 0.996 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2611, allocations: 4 kB / 0.996 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2612, allocations: 3.953 kB / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2612, allocations: 0 / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.2623, allocations: 1.047 MB / 0.997 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2623, allocations: 3.984 kB / 0.997 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.604e-05/0.2624, allocations: 27.92 kB / 0.9971 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2624, allocations: 7.953 kB / 0.9971 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.2624, allocations: 4 kB / 0.9971 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2624, allocations: 4 kB / 0.9971 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2624, allocations: 0 / 0.9971 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.2629, allocations: 483.2 kB / 0.9975 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.263, allocations: 140.2 kB / 0.9977 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.2631, allocations: 15.94 kB / 0.9977 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2632, allocations: 15.98 kB / 0.9977 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2633, allocations: 43.94 kB / 0.9977 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.2634, allocations: 15.98 kB / 0.9978 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003507/0.2637, allocations: 407 kB / 0.9982 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2637, allocations: 3.938 kB / 0.9982 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004541/0.2642, allocations: 139.6 kB / 0.9983 GB, free: 7.945 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.0009233/0.2651, allocations: 458.6 kB / 0.9987 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.2657, allocations: 375.4 kB / 0.9991 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2658, allocations: 0 / 0.9991 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.266, allocations: 175.8 kB / 0.9993 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.2665, allocations: 90.69 kB / 0.9993 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2679, allocations: 1.27 MB / 1.001 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2682, allocations: 0.9302 MB / 1.001 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.2684, allocations: 84.33 kB / 1.002 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2685, allocations: 47.42 kB / 1.002 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.2685, allocations: 0 / 1.002 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of Templates: time 0.009291/0.2778, allocations: 4.957 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)