Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001154, allocations: 103.4 kB / 16.35 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 195.1 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 75.12 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2248, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004995/0.2298, allocations: 2.794 MB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4083/0.6381, allocations: 1.586 MB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.6384, allocations: 12.5 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000892/0.6393, allocations: 308.4 kB / 0.7894 GB, free: 46.49 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.6397, allocations: 180 kB / 0.7895 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.6403, allocations: 351.8 kB / 0.7899 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.6409, allocations: 0.7258 MB / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.6414, allocations: 461.8 kB / 0.791 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.6416, allocations: 260.4 kB / 0.7913 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.6418, allocations: 282.5 kB / 0.7915 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.6419, allocations: 53.31 kB / 0.7916 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.6421, allocations: 101 kB / 0.7917 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.6423, allocations: 192.1 kB / 0.7919 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.6425, allocations: 325.4 kB / 0.7922 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.6431, allocations: 0.7881 MB / 0.7929 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6431, allocations: 4.406 kB / 0.7929 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6431, allocations: 0 / 0.7929 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.6431, allocations: 0 / 0.7929 GB, free: 46.02 MB / 0.6544 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.001187/0.6443, allocations: 1.013 MB / 0.7939 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6444, allocations: 10.31 kB / 0.7939 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.6445, allocations: 87.17 kB / 0.794 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.645, allocations: 488.4 kB / 0.7945 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.6451, allocations: 48.09 kB / 0.7945 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.6451, allocations: 62.53 kB / 0.7946 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.6459, allocations: 0.6054 MB / 0.7952 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.6459, allocations: 12.17 kB / 0.7952 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.646, allocations: 22.47 kB / 0.7952 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.646, allocations: 13.09 kB / 0.7952 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.6466, allocations: 376.6 kB / 0.7956 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.6485, allocations: 2.556 MB / 0.7981 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.6491, allocations: 286.4 kB / 0.7984 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6493, allocations: 137.7 kB / 0.7985 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.6494, allocations: 3.469 kB / 0.7985 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.6498, allocations: 220 kB / 0.7987 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.535e-06/0.6498, allocations: 0 / 0.7987 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0007878/0.6506, allocations: 457.1 kB / 0.7991 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.6507, allocations: 90.78 kB / 0.7992 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.6513, allocations: 0.6206 MB / 0.7998 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.6514, allocations: 43.12 kB / 0.7999 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.6516, allocations: 368.2 kB / 0.8002 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.6516, allocations: 97.5 kB / 0.8003 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.6518, allocations: 147.9 kB / 0.8005 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.6519, allocations: 380.3 kB / 0.8008 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.6521, allocations: 128.2 kB / 0.801 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.6525, allocations: 333.6 kB / 0.8013 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.6529, allocations: 411.7 kB / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.653, allocations: 4.984 kB / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007986/0.6538, allocations: 0.5168 MB / 0.8022 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6538, allocations: 10.22 kB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6538, allocations: 8.266 kB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6538, allocations: 12.53 kB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.6541, allocations: 76.11 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.6541, allocations: 13.36 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.6543, allocations: 63.86 kB / 0.8023 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.6544, allocations: 26.38 kB / 0.8024 GB, free: 40.61 MB / 0.6544 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,timer.passed,$PRE.timer.passed,transition3.enableFire,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.localActive,$PRE.off.localActive,off.active,transition4.enableFire,transition1.enableFire,transition2.enableFire,stateGraphRoot.activeSteps,norm.oldActive,$PRE.norm.oldActive,norm.newActive,$PRE.norm.newActive,norm.outPort[2].available,norm.inPort[2].occupied,norm.localActive,$PRE.norm.localActive,norm.active,cooDow.active,cooDow.oldActive,$PRE.cooDow.oldActive,cooDow.newActive,$PRE.cooDow.newActive,cooDow.outPort[2].available,cooDow.inPort[2].occupied,cooDow.localActive,$PRE.cooDow.localActive,and1.y,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,actMod,$whenCondition4,$whenCondition3,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.6547, allocations: 268.9 kB / 0.8026 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.6548, allocations: 59.09 kB / 0.8027 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.6555, allocations: 410.1 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6555, allocations: 4.25 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6555, allocations: 4 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6556, allocations: 4.75 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.6571, allocations: 1.044 MB / 0.8041 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6571, allocations: 0.5156 kB / 0.8041 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.6572, allocations: 22.83 kB / 0.8041 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.6572, allocations: 4.109 kB / 0.8041 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.6573, allocations: 13.48 kB / 0.8041 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6573, allocations: 2.031 kB / 0.8041 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6573, allocations: 4 kB / 0.8042 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.6579, allocations: 486 kB / 0.8046 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.658, allocations: 138 kB / 0.8047 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.6581, allocations: 9.609 kB / 0.8048 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.6583, allocations: 16.69 kB / 0.8048 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6584, allocations: 36.97 kB / 0.8048 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.6584, allocations: 17.88 kB / 0.8048 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005043/0.6589, allocations: 421.2 kB / 0.8052 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.659, allocations: 0 / 0.8052 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005458/0.6595, allocations: 131.6 kB / 0.8054 GB, free: 39 MB / 0.6544 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.localActive,cooDow.active,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.6605, allocations: 451.1 kB / 0.8058 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.6613, allocations: 381.8 kB / 0.8061 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6613, allocations: 0 / 0.8061 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.6616, allocations: 171.4 kB / 0.8063 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.6622, allocations: 102.9 kB / 0.8064 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6639, allocations: 1.1 MB / 0.8075 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.6644, allocations: 0.9341 MB / 0.8084 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002812/0.6647, allocations: 77.22 kB / 0.8085 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.6648, allocations: 51.69 kB / 0.8085 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6648, allocations: 1.281 kB / 0.8085 GB, free: 37.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.01355/0.6784, allocations: 5.423 MB / 0.8138 GB, free: 37.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)