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.001318/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00106/0.00106, allocations: 190.5 kB / 16.14 MB, free: 6.703 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.436/1.436, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.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.725/1.725, allocations: 292.2 MB / 0.5484 GB, free: 13.72 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.001255/0.001255, allocations: 67.81 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004418/0.2399, allocations: 2.879 MB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2424, allocations: 1.604 MB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.2426, allocations: 11.94 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.2435, allocations: 279.6 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.2439, allocations: 167.3 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006774/0.2446, allocations: 306.4 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.2452, allocations: 0.6948 MB / 0.7885 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.2457, allocations: 436.5 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.2459, allocations: 239 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.2462, allocations: 278.6 kB / 0.7894 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.872e-05/0.2462, allocations: 36 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2464, allocations: 79.97 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2466, allocations: 183.3 kB / 0.7897 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.2468, allocations: 302 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.2474, allocations: 0.7123 MB / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2475, allocations: 0 / 0.7906 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2475, allocations: 3.938 kB / 0.7906 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.2475, allocations: 0 / 0.7906 GB, free: 5.828 MB / 0.6075 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.001417/0.2489, allocations: 1.017 MB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2489, allocations: 8.031 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2491, allocations: 83.91 kB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.2497, allocations: 492.7 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.2497, allocations: 49.69 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.2498, allocations: 60.11 kB / 0.7923 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.2509, allocations: 0.6052 MB / 0.7929 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2509, allocations: 7.938 kB / 0.7929 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.251, allocations: 24 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.251, allocations: 12 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.2516, allocations: 379.6 kB / 0.7933 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.2543, allocations: 2.572 MB / 0.7958 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.2549, allocations: 274.9 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.2551, allocations: 144.6 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.2552, allocations: 4 kB / 0.7962 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.2556, allocations: 209.8 kB / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.2556, allocations: 0 / 0.7964 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008422/0.2564, allocations: 465.4 kB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.2565, allocations: 81.11 kB / 0.7969 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.2571, allocations: 0.6286 MB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.2572, allocations: 49.69 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.2574, allocations: 364.3 kB / 0.7979 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.2575, allocations: 94.83 kB / 0.798 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2577, allocations: 146.2 kB / 0.7982 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2579, allocations: 378.8 kB / 0.7985 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.2581, allocations: 133.2 kB / 0.7987 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.2585, allocations: 342.9 kB / 0.799 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.2589, allocations: 413 kB / 0.7994 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.259, allocations: 0 / 0.7994 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007442/0.2597, allocations: 0.5105 MB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2597, allocations: 8.781 kB / 0.7999 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2598, allocations: 4 kB / 0.7999 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.2598, allocations: 23.88 kB / 0.7999 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.26, allocations: 71.78 kB / 0.8 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.26, allocations: 15.92 kB / 0.8 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.2603, allocations: 59.44 kB / 0.8001 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.2603, allocations: 27.98 kB / 0.8001 GB, free: 11.63 MB / 0.6231 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.0002876/0.2606, allocations: 267.5 kB / 0.8003 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2607, allocations: 67.25 kB / 0.8004 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.2614, allocations: 407.3 kB / 0.8008 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2614, allocations: 7.938 kB / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2614, allocations: 3.984 kB / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2614, allocations: 0 / 0.8008 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.2628, allocations: 1.059 MB / 0.8018 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2628, allocations: 0 / 0.8018 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.2629, allocations: 19.92 kB / 0.8019 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2629, allocations: 4 kB / 0.8019 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.2629, allocations: 11.98 kB / 0.8019 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2629, allocations: 0 / 0.8019 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.263, allocations: 0 / 0.8019 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.2635, allocations: 487.2 kB / 0.8023 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.2636, allocations: 136.2 kB / 0.8025 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.2637, allocations: 8 kB / 0.8025 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.2639, allocations: 15.98 kB / 0.8025 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.264, allocations: 43.94 kB / 0.8025 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.264, allocations: 16 kB / 0.8025 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000394/0.2644, allocations: 415 kB / 0.8029 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2644, allocations: 3.938 kB / 0.8029 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004892/0.2649, allocations: 131.6 kB / 0.8031 GB, free: 8.457 MB / 0.6231 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 (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.001036/0.266, allocations: 454.2 kB / 0.8035 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00065/0.2666, allocations: 379.5 kB / 0.8039 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2667, allocations: 4.188 kB / 0.8039 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.2669, allocations: 175.8 kB / 0.804 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.2675, allocations: 82.89 kB / 0.8041 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2692, allocations: 1.316 MB / 0.8054 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.2697, allocations: 0.9341 MB / 0.8063 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.27, allocations: 72.34 kB / 0.8064 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2701, allocations: 51.42 kB / 0.8064 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of SimCode: time 1.704e-06/0.2701, allocations: 0 / 0.8064 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of Templates: time 0.01155/0.2817, allocations: 5.149 MB / 0.8115 GB, free: 12 kB / 0.6231 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)