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.001308/0.001308, allocations: 103.1 kB / 16.36 MB, free: 6.305 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.001132/0.001132, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001491/0.001491, allocations: 68.47 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004565/0.2358, allocations: 2.79 MB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3582/0.594, allocations: 1.598 MB / 0.7891 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.5944, allocations: 11.25 kB / 0.7891 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009585/0.5953, allocations: 309 kB / 0.7894 GB, free: 46.53 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.0004484/0.5958, allocations: 185.5 kB / 0.7896 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.5966, allocations: 336.6 kB / 0.7899 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.5973, allocations: 0.7284 MB / 0.7906 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.5978, allocations: 459.3 kB / 0.791 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.5981, allocations: 269.4 kB / 0.7913 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.5983, allocations: 276.9 kB / 0.7915 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.529e-05/0.5984, allocations: 56.47 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.5986, allocations: 100.9 kB / 0.7917 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.5988, allocations: 194.7 kB / 0.7919 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.599, allocations: 326.7 kB / 0.7922 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.5997, allocations: 0.7767 MB / 0.793 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5997, allocations: 0 / 0.793 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5997, allocations: 0.8438 kB / 0.793 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5997, allocations: 1.125 kB / 0.793 GB, free: 46.06 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.001173/0.6009, allocations: 1.019 MB / 0.7939 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.6009, allocations: 11.31 kB / 0.794 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.6011, allocations: 86.66 kB / 0.794 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.6016, allocations: 494.5 kB / 0.7945 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.6017, allocations: 50.36 kB / 0.7946 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.6018, allocations: 58.97 kB / 0.7946 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.6025, allocations: 0.6134 MB / 0.7952 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6026, allocations: 2.906 kB / 0.7952 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.6026, allocations: 24.94 kB / 0.7952 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6026, allocations: 13.91 kB / 0.7953 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.6032, allocations: 378.2 kB / 0.7956 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6052, allocations: 2.552 MB / 0.7981 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.6057, allocations: 288.1 kB / 0.7984 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.606, allocations: 136.4 kB / 0.7985 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.606, allocations: 7.938 kB / 0.7985 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.6064, allocations: 208.4 kB / 0.7987 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/0.6064, allocations: 4 kB / 0.7987 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0007858/0.6072, allocations: 462.4 kB / 0.7992 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6072, allocations: 88.8 kB / 0.7993 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.6078, allocations: 0.6225 MB / 0.7999 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.6079, allocations: 41.58 kB / 0.7999 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.6081, allocations: 370.6 kB / 0.8003 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.6082, allocations: 88.23 kB / 0.8003 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.6083, allocations: 148.6 kB / 0.8005 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.6084, allocations: 384.6 kB / 0.8008 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.6087, allocations: 129 kB / 0.801 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.609, allocations: 334.1 kB / 0.8013 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.6095, allocations: 415.5 kB / 0.8017 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6095, allocations: 0 / 0.8017 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007408/0.6102, allocations: 0.5135 MB / 0.8022 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6102, allocations: 11.84 kB / 0.8022 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6103, allocations: 8.188 kB / 0.8022 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.6103, allocations: 10.66 kB / 0.8022 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.6105, allocations: 79.92 kB / 0.8023 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.6106, allocations: 11.81 kB / 0.8023 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.6108, allocations: 59.17 kB / 0.8024 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.6108, allocations: 29.42 kB / 0.8024 GB, free: 40.66 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.0002684/0.6111, allocations: 273.5 kB / 0.8026 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.6112, allocations: 59.25 kB / 0.8027 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.6119, allocations: 411.5 kB / 0.8031 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6119, allocations: 4.656 kB / 0.8031 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6119, allocations: 0 / 0.8031 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.612, allocations: 2.578 kB / 0.8031 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.6135, allocations: 1.051 MB / 0.8041 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6135, allocations: 1.875 kB / 0.8041 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.6137, allocations: 25.91 kB / 0.8042 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.6137, allocations: 1.219 kB / 0.8042 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.6137, allocations: 14.09 kB / 0.8042 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6137, allocations: 1.25 kB / 0.8042 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6137, allocations: 1.953 kB / 0.8042 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.6143, allocations: 485.2 kB / 0.8046 GB, free: 39.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.6144, allocations: 141 kB / 0.8048 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.6145, allocations: 9.422 kB / 0.8048 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.6147, allocations: 16.06 kB / 0.8048 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.6148, allocations: 42.12 kB / 0.8048 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.6148, allocations: 13.98 kB / 0.8048 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005104/0.6153, allocations: 416.3 kB / 0.8052 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6154, allocations: 0 / 0.8052 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005814/0.6159, allocations: 135.7 kB / 0.8054 GB, free: 39.05 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.001086/0.617, allocations: 446.3 kB / 0.8058 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007707/0.6178, allocations: 383.9 kB / 0.8062 GB, free: 38.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6178, allocations: 0.5625 kB / 0.8062 GB, free: 38.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.6181, allocations: 171.9 kB / 0.8063 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.6187, allocations: 97.42 kB / 0.8064 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.6207, allocations: 1.141 MB / 0.8075 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6212, allocations: 0.9317 MB / 0.8084 GB, free: 37.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6213, allocations: 50.05 kB / 0.8085 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of SimCode: time 9.91e-07/0.6214, allocations: 0 / 0.8085 GB, free: 37.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.0173/0.6387, allocations: 7.701 MB / 0.816 GB, free: 36.36 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)