Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 96.27 kB / 15.69 MB, free: 480 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.0009504/0.0009505, allocations: 178.2 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6513/0.6513, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 9.438 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.2752/0.4079, allocations: 31.62 MB / 0.5877 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.4212, allocations: 8.263 MB / 0.5958 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.4235, allocations: 42.23 kB / 0.5958 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.4268, allocations: 0.5245 MB / 0.5963 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009442/0.4363, allocations: 1.602 MB / 0.5979 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004932/0.4412, allocations: 1.311 MB / 0.5992 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007836/0.4491, allocations: 4.478 MB / 0.6035 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005105/0.4542, allocations: 2.762 MB / 0.6062 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.4594, allocations: 1.838 MB / 0.608 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.4631, allocations: 1.559 MB / 0.6096 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005989/0.4637, allocations: 133.1 kB / 0.6097 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.4669, allocations: 0.6679 MB / 0.6103 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.4675, allocations: 0.5729 MB / 0.6109 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.4688, allocations: 0.6516 MB / 0.6115 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.4728, allocations: 3.95 MB / 0.6154 GB, free: 6.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4728, allocations: 1.031 kB / 0.6154 GB, free: 6.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4728, allocations: 0 / 0.6154 GB, free: 6.574 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.473, allocations: 0 / 0.6154 GB, free: 6.574 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.0058/0.4788, allocations: 3.003 MB / 0.6183 GB, free: 20.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4788, allocations: 8.312 kB / 0.6183 GB, free: 20.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4802, allocations: 358.8 kB / 0.6187 GB, free: 20.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/0.4852, allocations: 2.404 MB / 0.621 GB, free: 18.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.4853, allocations: 183.4 kB / 0.6212 GB, free: 18.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/0.4858, allocations: 235.2 kB / 0.6214 GB, free: 18.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/0.491, allocations: 3.207 MB / 0.6246 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.491, allocations: 10.45 kB / 0.6246 GB, free: 16.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.4913, allocations: 98.09 kB / 0.6247 GB, free: 16.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.4913, allocations: 62.88 kB / 0.6247 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.4955, allocations: 2.57 MB / 0.6272 GB, free: 15.16 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/0.515, allocations: 13.84 MB / 0.6408 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.5177, allocations: 1.621 MB / 0.6423 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.5185, allocations: 0.7205 MB / 0.643 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.5186, allocations: 63.45 kB / 0.6431 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001822/0.5204, allocations: 190.9 kB / 0.6433 GB, free: 15.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 7.574e-06/0.5204, allocations: 0 / 0.6433 GB, free: 15.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.009392/0.5298, allocations: 3.489 MB / 0.6467 GB, free: 12.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.53, allocations: 141.5 kB / 0.6468 GB, free: 12.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.5331, allocations: 2.132 MB / 0.6489 GB, free: 9.844 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.5334, allocations: 53.7 kB / 0.649 GB, free: 9.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.5345, allocations: 1.258 MB / 0.6502 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.535, allocations: 445.7 kB / 0.6506 GB, free: 8.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.5351, allocations: 32 kB / 0.6506 GB, free: 8.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.5353, allocations: 377.9 kB / 0.651 GB, free: 7.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5366, allocations: 0.73 MB / 0.6517 GB, free: 6.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5381, allocations: 1.24 MB / 0.6529 GB, free: 5.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.5395, allocations: 0.9549 MB / 0.6539 GB, free: 4.527 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5395, allocations: 4 kB / 0.6539 GB, free: 4.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00408/0.5436, allocations: 2.425 MB / 0.6562 GB, free: 2.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001984/0.5456, allocations: 5.719 MB / 0.6618 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.5456, allocations: 12.72 kB / 0.6618 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.5478, allocations: 0.5235 MB / 0.6623 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.5492, allocations: 347.4 kB / 0.6627 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.553, allocations: 3.157 MB / 0.6658 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.5563, allocations: 235.5 kB / 0.666 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.5565, allocations: 79.97 kB / 0.6661 GB, free: 7.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.5565, allocations: 4 kB / 0.6661 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003829/0.5604, allocations: 2.195 MB / 0.6682 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.5604, allocations: 16 kB / 0.6682 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.561, allocations: 242.2 kB / 0.6684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5624, allocations: 371.4 kB / 0.6688 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.5669, allocations: 4.21 MB / 0.6729 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.5693, allocations: 223.6 kB / 0.6731 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.5695, allocations: 87.94 kB / 0.6732 GB, free: 15.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.001989/0.5715, allocations: 1.008 MB / 0.6742 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/0.572, allocations: 209.5 kB / 0.6744 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.5757, allocations: 2.085 MB / 0.6764 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.5757, allocations: 16 kB / 0.6764 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5758, allocations: 8.141 kB / 0.6765 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002577/0.5783, allocations: 1.671 MB / 0.6781 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009105/0.5875, allocations: 4.708 MB / 0.6827 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5875, allocations: 0 / 0.6827 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.5884, allocations: 199.7 kB / 0.6829 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.5901, allocations: 448.7 kB / 0.6833 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.5903, allocations: 39.97 kB / 0.6833 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.5933, allocations: 3.082 MB / 0.6863 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5933, allocations: 0 / 0.6863 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/0.598, allocations: 3.059 MB / 0.6893 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.5997, allocations: 0.549 MB / 0.6899 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/0.6003, allocations: 35.98 kB / 0.6899 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/0.6022, allocations: 195.9 kB / 0.6901 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/0.6025, allocations: 109.2 kB / 0.6902 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.6027, allocations: 59.89 kB / 0.6903 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002634/0.6053, allocations: 1.475 MB / 0.6917 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6053, allocations: 0 / 0.6917 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005108/0.6105, allocations: 1.495 MB / 0.6932 GB, free: 10.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000944/0.6114, allocations: 385.5 kB / 0.6935 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005738/0.6172, allocations: 3.385 MB / 0.6968 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6172, allocations: 0 / 0.6968 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.6188, allocations: 1.025 MB / 0.6978 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/0.6249, allocations: 1.138 MB / 0.6989 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.6371, allocations: 6.334 MB / 0.7051 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/0.6398, allocations: 2.219 MB / 0.7073 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003545/0.6433, allocations: 0.9476 MB / 0.7082 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006975/0.6441, allocations: 179.4 kB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.6441, allocations: 0 / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.07515/0.7192, allocations: 45.38 MB / 0.7527 GB, free: 14.41 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)