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.001265/0.001266, allocations: 113.4 kB / 16.38 MB, free: 6.02 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.001349/0.001349, allocations: 188.4 kB / 17.31 MB, free: 5.613 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.594/1.594, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.923/1.923, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001793/0.001794, allocations: 71.09 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.006216/0.2764, allocations: 2.805 MB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4521/0.7285, allocations: 1.593 MB / 0.7891 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.7289, allocations: 7.594 kB / 0.7891 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.7302, allocations: 308 kB / 0.7894 GB, free: 46.46 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.0004684/0.7307, allocations: 186 kB / 0.7896 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.7315, allocations: 348.2 kB / 0.7899 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.7322, allocations: 0.7277 MB / 0.7906 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.7327, allocations: 452.7 kB / 0.791 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.733, allocations: 267.5 kB / 0.7913 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.7333, allocations: 277.6 kB / 0.7916 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.7333, allocations: 57.25 kB / 0.7916 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.7336, allocations: 104.1 kB / 0.7917 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.7337, allocations: 193.4 kB / 0.7919 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.734, allocations: 318.5 kB / 0.7922 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.7348, allocations: 0.7891 MB / 0.793 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.7348, allocations: 0 / 0.793 GB, free: 46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7348, allocations: 0 / 0.793 GB, free: 46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.7348, allocations: 2.812 kB / 0.793 GB, free: 46 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.001352/0.7362, allocations: 1.014 MB / 0.794 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7362, allocations: 10.91 kB / 0.794 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.7363, allocations: 91.44 kB / 0.7941 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.7369, allocations: 493.2 kB / 0.7945 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.7369, allocations: 49.11 kB / 0.7946 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.737, allocations: 58.81 kB / 0.7946 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.7379, allocations: 0.6029 MB / 0.7952 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.7379, allocations: 7.688 kB / 0.7952 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.738, allocations: 29.33 kB / 0.7953 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.738, allocations: 10.84 kB / 0.7953 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.7386, allocations: 380.1 kB / 0.7956 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.7407, allocations: 2.552 MB / 0.7981 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.7412, allocations: 283.7 kB / 0.7984 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.7414, allocations: 139.5 kB / 0.7985 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.7415, allocations: 12.62 kB / 0.7985 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.7418, allocations: 210 kB / 0.7987 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/0.7418, allocations: 0 / 0.7987 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39): time 0.0007746/0.7426, allocations: 468.5 kB / 0.7992 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.7427, allocations: 82.97 kB / 0.7993 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.7433, allocations: 0.6236 MB / 0.7999 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.7434, allocations: 45.33 kB / 0.7999 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.7436, allocations: 363.2 kB / 0.8003 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.7437, allocations: 97.28 kB / 0.8004 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.7439, allocations: 146.8 kB / 0.8005 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.744, allocations: 385 kB / 0.8009 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.7442, allocations: 131.9 kB / 0.801 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.7446, allocations: 330.1 kB / 0.8013 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.745, allocations: 409 kB / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7451, allocations: 0 / 0.8017 GB, free: 40.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007507/0.7458, allocations: 0.5196 MB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7458, allocations: 9.188 kB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7459, allocations: 6.5 kB / 0.8022 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.7459, allocations: 13.84 kB / 0.8022 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.7461, allocations: 73.34 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.7462, allocations: 10.53 kB / 0.8023 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.7464, allocations: 67.8 kB / 0.8024 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.7465, allocations: 26.28 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.0002622/0.7467, allocations: 266.4 kB / 0.8027 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.7468, allocations: 64.19 kB / 0.8027 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.7475, allocations: 405.5 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.7475, allocations: 6.422 kB / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7475, allocations: 0 / 0.8031 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.7476, allocations: 134.1 kB / 0.8032 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.7477, allocations: 11.55 kB / 0.8033 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.7478, allocations: 20.44 kB / 0.8033 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.748, allocations: 42.64 kB / 0.8033 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000654/0.7486, allocations: 431.5 kB / 0.8037 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006318/0.7493, allocations: 0.55 MB / 0.8043 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002484/0.7495, allocations: 161.5 kB / 0.8044 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004771/0.75, allocations: 412.4 kB / 0.8048 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of Backend: time 1.122e-06/0.75, allocations: 5.781 kB / 0.8048 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.7518, allocations: 0.6712 MB / 0.8055 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001781/0.7536, allocations: 1.518 MB / 0.807 GB, free: 38.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01431/0.768, allocations: 5.582 MB / 0.8124 GB, free: 37.78 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)