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.001457/0.001456, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.711/1.711, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001434/0.001434, allocations: 76.16 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.239, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.004331/0.2433, allocations: 2.795 MB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.2458, allocations: 1.589 MB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.2461, allocations: 7.938 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008833/0.247, allocations: 310.9 kB / 0.7887 GB, free: 8.02 MB / 0.6075 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.0003981/0.2474, allocations: 190.9 kB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.2481, allocations: 334 kB / 0.7892 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.2488, allocations: 0.7301 MB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.2494, allocations: 463.6 kB / 0.7904 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.2496, allocations: 267 kB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.2499, allocations: 274.7 kB / 0.7909 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.25, allocations: 52 kB / 0.7909 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2502, allocations: 107.9 kB / 0.791 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2504, allocations: 199.4 kB / 0.7912 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.2507, allocations: 321.9 kB / 0.7915 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.2514, allocations: 0.7784 MB / 0.7923 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2514, allocations: 0 / 0.7923 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2514, allocations: 4 kB / 0.7923 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.2514, allocations: 0 / 0.7923 GB, free: 4.332 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.001424/0.2529, allocations: 1.025 MB / 0.7933 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2529, allocations: 8.031 kB / 0.7933 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.253, allocations: 87.91 kB / 0.7934 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.2536, allocations: 492.7 kB / 0.7939 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.2537, allocations: 49.69 kB / 0.7939 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.2538, allocations: 64.11 kB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.2546, allocations: 0.6091 MB / 0.7946 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2547, allocations: 0 / 0.7946 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.2547, allocations: 20 kB / 0.7946 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2547, allocations: 16 kB / 0.7946 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.2553, allocations: 379.5 kB / 0.795 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.2577, allocations: 2.557 MB / 0.7975 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.2583, allocations: 285.2 kB / 0.7977 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2585, allocations: 144.7 kB / 0.7979 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2585, allocations: 4 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.2589, allocations: 209.9 kB / 0.7981 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.2589, allocations: 0 / 0.7981 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008071/0.2597, allocations: 461.8 kB / 0.7985 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.2598, allocations: 97.09 kB / 0.7986 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.2605, allocations: 0.6285 MB / 0.7992 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.2605, allocations: 37.7 kB / 0.7993 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.2608, allocations: 368.3 kB / 0.7996 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.2609, allocations: 94.83 kB / 0.7997 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.2611, allocations: 150.2 kB / 0.7998 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2612, allocations: 374.8 kB / 0.8002 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.2615, allocations: 133.2 kB / 0.8003 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.2619, allocations: 338.9 kB / 0.8006 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.2624, allocations: 409 kB / 0.801 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2624, allocations: 0 / 0.801 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007882/0.2632, allocations: 0.5189 MB / 0.8015 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2632, allocations: 9.031 kB / 0.8016 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2632, allocations: 12 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.2633, allocations: 11.94 kB / 0.8016 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2635, allocations: 71.78 kB / 0.8016 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.2635, allocations: 11.98 kB / 0.8017 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.2638, allocations: 55.44 kB / 0.8017 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.2638, allocations: 28 kB / 0.8017 GB, free: 10.14 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.0003259/0.2642, allocations: 271.4 kB / 0.802 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.2642, allocations: 63.25 kB / 0.8021 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/0.265, allocations: 403.3 kB / 0.8024 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.265, allocations: 4 kB / 0.8024 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.265, allocations: 0 / 0.8024 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.265, allocations: 3.984 kB / 0.8024 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2664, allocations: 1.044 MB / 0.8035 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2665, allocations: 15.94 kB / 0.8035 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.439e-05/0.2666, allocations: 19.98 kB / 0.8035 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2666, allocations: 4 kB / 0.8035 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2666, allocations: 11.98 kB / 0.8035 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2666, allocations: 3.938 kB / 0.8035 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2666, allocations: 3.984 kB / 0.8035 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.2672, allocations: 480.5 kB / 0.804 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/0.2673, allocations: 136.2 kB / 0.8041 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.2674, allocations: 16 kB / 0.8041 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2676, allocations: 15.98 kB / 0.8041 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2677, allocations: 43.89 kB / 0.8042 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2677, allocations: 11.98 kB / 0.8042 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004054/0.2681, allocations: 419 kB / 0.8046 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2681, allocations: 0 / 0.8046 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004699/0.2686, allocations: 135.6 kB / 0.8047 GB, free: 6.973 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.localActive,cooDow.active,$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.001005/0.2696, allocations: 448 kB / 0.8052 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006312/0.2703, allocations: 375.3 kB / 0.8055 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2703, allocations: 0 / 0.8055 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.2705, allocations: 176.1 kB / 0.8057 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.271, allocations: 109.2 kB / 0.8058 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2726, allocations: 1.095 MB / 0.8069 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.2731, allocations: 0.9299 MB / 0.8078 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.2733, allocations: 84.33 kB / 0.8078 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.2734, allocations: 47.42 kB / 0.8079 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2734, allocations: 3.938 kB / 0.8079 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of Templates: time 0.01146/0.2849, allocations: 5.426 MB / 0.8132 GB, free: 14.45 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)