Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 177.9 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006781/0.0006782, allocations: 95.78 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 12.28 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1905, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003315/0.1939, allocations: 2.653 MB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.196, allocations: 1.623 MB / 0.9009 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1962, allocations: 11.94 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008255/0.197, allocations: 290.8 kB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.1974, allocations: 147.3 kB / 0.9013 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.1981, allocations: 317.2 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.1986, allocations: 0.7066 MB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.199, allocations: 404.8 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.1991, allocations: 211 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1993, allocations: 238.7 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1994, allocations: 24 kB / 0.9032 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1996, allocations: 63.97 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1997, allocations: 175.3 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1999, allocations: 282 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.2002, allocations: 0.5339 MB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2002, allocations: 0 / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2002, allocations: 0 / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2003, allocations: 0 / 0.9042 GB, free: 60.55 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.0009557/0.2012, allocations: 0.8887 MB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2013, allocations: 12.03 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.2014, allocations: 87.91 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.2018, allocations: 492.7 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.202, allocations: 75.58 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.202, allocations: 59.94 kB / 0.9058 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.2027, allocations: 0.6091 MB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2027, allocations: 4 kB / 0.9064 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.2028, allocations: 24 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2028, allocations: 12 kB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.2033, allocations: 387.5 kB / 0.9068 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.205, allocations: 2.576 MB / 0.9093 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.2055, allocations: 281.2 kB / 0.9095 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.2057, allocations: 148.6 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.2057, allocations: 4 kB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.2061, allocations: 210.5 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.924e-06/0.2061, allocations: 0 / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006604/0.2067, allocations: 453.8 kB / 0.9103 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2068, allocations: 85.11 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.2073, allocations: 0.6325 MB / 0.911 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2073, allocations: 45.7 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2075, allocations: 372.2 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.2076, allocations: 94.8 kB / 0.9115 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.2077, allocations: 93.66 kB / 0.9116 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.2078, allocations: 382.8 kB / 0.912 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.208, allocations: 133.2 kB / 0.9121 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.2083, allocations: 343.8 kB / 0.9124 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.2087, allocations: 425.8 kB / 0.9128 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2087, allocations: 4 kB / 0.9128 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006251/0.2093, allocations: 0.5306 MB / 0.9133 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2093, allocations: 15.88 kB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2094, allocations: 4 kB / 0.9134 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2094, allocations: 12 kB / 0.9134 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2096, allocations: 75.78 kB / 0.9135 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2096, allocations: 15.98 kB / 0.9135 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.2098, allocations: 59.38 kB / 0.9135 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2099, allocations: 27.98 kB / 0.9136 GB, free: 50.42 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,timer.yAcc,$PRE.timer.yAcc,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,timer.reset_internal,$PRE.timer.reset_internal,transition5.enableFire,timer.entryTime,$PRE.timer.entryTime,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,transition2.localCondition,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,$whenCondition3,$whenCondition2,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.2101, allocations: 270.9 kB / 0.9138 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.2102, allocations: 67.19 kB / 0.9139 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.2107, allocations: 398.8 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2107, allocations: 4 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2107, allocations: 0 / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2107, allocations: 3.984 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2118, allocations: 1.051 MB / 0.9153 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2118, allocations: 0 / 0.9153 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.2119, allocations: 31.92 kB / 0.9153 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2119, allocations: 0 / 0.9153 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.212, allocations: 11.98 kB / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.212, allocations: 3.938 kB / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.212, allocations: 0 / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.2124, allocations: 474.6 kB / 0.9158 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.2125, allocations: 148.1 kB / 0.9159 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.2126, allocations: 4 kB / 0.9159 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2127, allocations: 15.98 kB / 0.9159 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2128, allocations: 43.7 kB / 0.916 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2129, allocations: 19.98 kB / 0.916 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003238/0.2132, allocations: 415 kB / 0.9164 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2132, allocations: 0 / 0.9164 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004328/0.2136, allocations: 139.6 kB / 0.9165 GB, free: 47.25 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 (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.001008/0.2147, allocations: 449.5 kB / 0.917 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.2153, allocations: 390.4 kB / 0.9173 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2153, allocations: 0 / 0.9173 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2155, allocations: 171.8 kB / 0.9175 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.2161, allocations: 88 kB / 0.9176 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2175, allocations: 1.361 MB / 0.9189 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2178, allocations: 0.9263 MB / 0.9198 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.218, allocations: 47.42 kB / 0.9199 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.218, allocations: 4 kB / 0.9199 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.008371/0.2263, allocations: 7.75 MB / 0.9274 GB, free: 36.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)