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.0009325/0.0009325, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009157/0.0009159, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.596/1.596, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005052/0.0005052, allocations: 13.03 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003627/0.2601, allocations: 2.383 MB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.263, allocations: 1.499 MB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.2635, allocations: 7.938 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009884/0.2645, allocations: 282.4 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.265, allocations: 159.6 kB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.2659, allocations: 271.4 kB / 0.7916 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000832/0.2667, allocations: 460.4 kB / 0.792 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.2674, allocations: 370.2 kB / 0.7924 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.2678, allocations: 215.2 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.2682, allocations: 226.9 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.72e-05/0.2683, allocations: 20 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.2685, allocations: 63.95 kB / 0.7929 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.2687, allocations: 155.4 kB / 0.793 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.2689, allocations: 129.3 kB / 0.7932 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.2697, allocations: 0.538 MB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2697, allocations: 8 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2697, allocations: 0 / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.383e-05/0.2698, allocations: 0 / 0.7937 GB, free: 5.211 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.001771/0.2715, allocations: 0.8769 MB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2716, allocations: 8.031 kB / 0.7946 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2718, allocations: 94.91 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.2725, allocations: 464 kB / 0.7951 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.2726, allocations: 45.31 kB / 0.7951 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.2727, allocations: 60 kB / 0.7952 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.2737, allocations: 0.6001 MB / 0.7958 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2737, allocations: 4 kB / 0.7958 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.2738, allocations: 23.98 kB / 0.7958 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.2738, allocations: 16 kB / 0.7958 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.2744, allocations: 383.5 kB / 0.7962 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.2772, allocations: 2.576 MB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.2778, allocations: 279 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2778, allocations: 4.594 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.2782, allocations: 217.8 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.2782, allocations: 0 / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0007986/0.279, allocations: 457.8 kB / 0.7996 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.2791, allocations: 89.05 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.2797, allocations: 0.6246 MB / 0.8003 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.2798, allocations: 45.69 kB / 0.8004 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.2801, allocations: 360.4 kB / 0.8007 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.2802, allocations: 98.73 kB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.2802, allocations: 12 kB / 0.8008 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.2804, allocations: 382.8 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2806, allocations: 129.2 kB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.281, allocations: 323.6 kB / 0.8016 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.2813, allocations: 148.8 kB / 0.8017 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2813, allocations: 0 / 0.8017 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007762/0.2821, allocations: 0.515 MB / 0.8022 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2821, allocations: 8 kB / 0.8023 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.2822, allocations: 4 kB / 0.8023 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.2822, allocations: 12 kB / 0.8023 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.2824, allocations: 71.84 kB / 0.8023 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.2824, allocations: 19.88 kB / 0.8024 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.2827, allocations: 59.42 kB / 0.8024 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.2827, allocations: 31.98 kB / 0.8024 GB, free: 11.8 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.283, allocations: 262.9 kB / 0.8027 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.2831, allocations: 59.25 kB / 0.8027 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.2838, allocations: 407.3 kB / 0.8031 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.2838, allocations: 7.984 kB / 0.8031 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2838, allocations: 0 / 0.8031 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2838, allocations: 7.891 kB / 0.8032 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.2853, allocations: 1.043 MB / 0.8042 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2853, allocations: 4 kB / 0.8042 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.2854, allocations: 23.92 kB / 0.8042 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.2854, allocations: 7.953 kB / 0.8042 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.2854, allocations: 11.98 kB / 0.8042 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2854, allocations: 4 kB / 0.8042 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2854, allocations: 4 kB / 0.8042 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.286, allocations: 479.2 kB / 0.8047 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2861, allocations: 136.2 kB / 0.8048 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.2862, allocations: 19.94 kB / 0.8048 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2864, allocations: 12 kB / 0.8048 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2865, allocations: 47.92 kB / 0.8049 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.2865, allocations: 27.97 kB / 0.8049 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000433/0.287, allocations: 403 kB / 0.8053 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.51e-07/0.287, allocations: 0 / 0.8053 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005018/0.2875, allocations: 135.7 kB / 0.8054 GB, free: 8.633 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.2885, allocations: 454 kB / 0.8059 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007359/0.2893, allocations: 378.1 kB / 0.8062 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2893, allocations: 0 / 0.8062 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.2895, allocations: 173.4 kB / 0.8064 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.29, allocations: 78.89 kB / 0.8065 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.2917, allocations: 1.267 MB / 0.8077 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.2923, allocations: 0.9457 MB / 0.8086 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.2925, allocations: 84.34 kB / 0.8087 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2926, allocations: 43.42 kB / 0.8087 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2926, allocations: 0 / 0.8087 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of Templates: time 0.0111/0.3037, allocations: 4.935 MB / 0.8136 GB, free: 460 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: