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.001533/0.001533, allocations: 101.8 kB / 15.98 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.001782/0.001782, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.391/1.391, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.629/1.629, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001521/0.001521, allocations: 72.89 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2505, allocations: 114.5 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004984/0.2555, allocations: 2.883 MB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.2584, allocations: 1.589 MB / 0.7879 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.2588, allocations: 11.94 kB / 0.7879 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2599, allocations: 291.6 kB / 0.7882 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.2605, allocations: 155.3 kB / 0.7883 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.2613, allocations: 318.4 kB / 0.7886 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.2622, allocations: 0.7262 MB / 0.7893 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.2627, allocations: 471.5 kB / 0.7898 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.263, allocations: 267 kB / 0.79 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.2633, allocations: 286.6 kB / 0.7903 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.2634, allocations: 56 kB / 0.7904 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.2636, allocations: 108 kB / 0.7905 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.2638, allocations: 195.3 kB / 0.7907 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.2641, allocations: 326 kB / 0.791 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.2647, allocations: 0.5809 MB / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2648, allocations: 0 / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2648, allocations: 0 / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.2648, allocations: 0 / 0.7915 GB, free: 5.684 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.001405/0.2662, allocations: 1.021 MB / 0.7925 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2662, allocations: 11.97 kB / 0.7925 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2664, allocations: 87.91 kB / 0.7926 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.267, allocations: 488.8 kB / 0.7931 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.267, allocations: 45.69 kB / 0.7931 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.2671, allocations: 60.11 kB / 0.7932 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009316/0.2681, allocations: 0.6091 MB / 0.7938 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2681, allocations: 0 / 0.7938 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.2681, allocations: 24 kB / 0.7938 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.2682, allocations: 12 kB / 0.7938 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.2688, allocations: 387.5 kB / 0.7942 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.2713, allocations: 2.572 MB / 0.7967 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.272, allocations: 278.1 kB / 0.797 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2722, allocations: 148.7 kB / 0.7971 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.2723, allocations: 4 kB / 0.7971 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2727, allocations: 209.9 kB / 0.7973 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.394e-06/0.2727, allocations: 0 / 0.7973 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008484/0.2735, allocations: 461.5 kB / 0.7978 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.2736, allocations: 89.11 kB / 0.7978 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.2744, allocations: 0.6285 MB / 0.7985 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.2745, allocations: 45.69 kB / 0.7985 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.2748, allocations: 368.3 kB / 0.7988 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.022e-05/0.2749, allocations: 94.84 kB / 0.7989 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.2751, allocations: 146.2 kB / 0.7991 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2753, allocations: 382.8 kB / 0.7994 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.2756, allocations: 129.2 kB / 0.7996 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.276, allocations: 338.9 kB / 0.7999 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.2765, allocations: 405 kB / 0.8003 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2765, allocations: 0 / 0.8003 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008345/0.2774, allocations: 0.5222 MB / 0.8008 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.2774, allocations: 8 kB / 0.8008 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2774, allocations: 8 kB / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.2775, allocations: 11.94 kB / 0.8008 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.2777, allocations: 72.44 kB / 0.8009 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2777, allocations: 11.98 kB / 0.8009 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.278, allocations: 59.44 kB / 0.8009 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.278, allocations: 31.98 kB / 0.801 GB, free: 11.48 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.0003327/0.2784, allocations: 270.8 kB / 0.8012 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.2785, allocations: 63.25 kB / 0.8013 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.2792, allocations: 403.3 kB / 0.8017 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2792, allocations: 7.938 kB / 0.8017 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2792, allocations: 4 kB / 0.8017 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2792, allocations: 3.984 kB / 0.8017 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2807, allocations: 1.055 MB / 0.8027 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2807, allocations: 0 / 0.8027 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2808, allocations: 27.92 kB / 0.8028 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2808, allocations: 4 kB / 0.8028 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2808, allocations: 11.98 kB / 0.8028 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2808, allocations: 0 / 0.8028 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2808, allocations: 4 kB / 0.8028 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.2815, allocations: 483.1 kB / 0.8032 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.2816, allocations: 136.2 kB / 0.8034 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.2817, allocations: 12 kB / 0.8034 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2818, allocations: 15.98 kB / 0.8034 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.2819, allocations: 43.94 kB / 0.8034 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.282, allocations: 16 kB / 0.8034 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004261/0.2824, allocations: 411 kB / 0.8038 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2824, allocations: 0 / 0.8038 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004946/0.2829, allocations: 131.6 kB / 0.804 GB, free: 8.309 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.000992/0.2839, allocations: 449.8 kB / 0.8044 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.2847, allocations: 419.5 kB / 0.8048 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2847, allocations: 0 / 0.8048 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.285, allocations: 171.8 kB / 0.805 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.2855, allocations: 104.2 kB / 0.8051 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.2873, allocations: 1.355 MB / 0.8064 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.2878, allocations: 0.926 MB / 0.8073 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.2879, allocations: 47.42 kB / 0.8073 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.2879, allocations: 0 / 0.8073 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.0113/0.2992, allocations: 7.696 MB / 0.8148 GB, free: 13.31 MB / 0.6387 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)