Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 289.7 MB / 302.3 MB, free: 2.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 181.8 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 89.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.908e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.865/2.162, allocations: 421.6 MB / 1.391 GB, free: 295.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/2.163, allocations: 93.06 kB / 1.392 GB, free: 295.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.48/21.64, allocations: 4.6 GB / 5.992 GB, free: 55.98 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.896e-06/21.64, allocations: 0 / 5.992 GB, free: 55.98 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.004019/21.65, allocations: 396.8 kB / 5.992 GB, free: 55.93 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05853/21.71, allocations: 13.65 MB / 6.005 GB, free: 51.33 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/21.71, allocations: 8.719 kB / 6.005 GB, free: 51.33 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/21.72, allocations: 1.873 MB / 6.007 GB, free: 50.44 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05538/21.78, allocations: 17.75 MB / 6.025 GB, free: 48.76 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001436/21.78, allocations: 0.9739 MB / 6.026 GB, free: 48.73 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00788/21.79, allocations: 1.31 MB / 6.027 GB, free: 48.72 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06879/21.86, allocations: 18.05 MB / 6.044 GB, free: 46.52 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00135/21.86, allocations: 47.19 kB / 6.045 GB, free: 46.52 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006901/21.86, allocations: 0.5306 MB / 6.045 GB, free: 46.52 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007292/21.86, allocations: 351.9 kB / 6.045 GB, free: 46.52 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04765/21.91, allocations: 15.33 MB / 6.06 GB, free: 46.42 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.1673/22.08, allocations: 80.82 MB / 6.139 GB, free: 28.94 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/22.1, allocations: 11.85 MB / 6.151 GB, free: 28.45 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/22.11, allocations: 6.027 MB / 6.157 GB, free: 28.38 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0694/22.18, allocations: 28.78 MB / 6.185 GB, free: 37.75 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/22.18, allocations: 121.5 kB / 6.185 GB, free: 37.71 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01076/22.19, allocations: 0.7785 MB / 6.186 GB, free: 37.21 MB / 1.104 GB Notification: Performance of pre-optimization done (n=651): time 5.007e-05/22.19, allocations: 0 / 6.186 GB, free: 37.21 MB / 1.104 GB Notification: Performance of matching and sorting (n=651): time 0.03035/22.22, allocations: 10.15 MB / 6.196 GB, free: 36.24 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/22.22, allocations: 119.4 kB / 6.196 GB, free: 36.17 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03088/22.25, allocations: 11.91 MB / 6.207 GB, free: 35.36 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.002779/22.25, allocations: 183.5 kB / 6.208 GB, free: 35.33 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009799/22.26, allocations: 7.121 MB / 6.214 GB, free: 32.54 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004101/22.27, allocations: 2.293 MB / 6.217 GB, free: 31.1 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002781/22.27, allocations: 228.9 kB / 6.217 GB, free: 31.1 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001818/22.27, allocations: 0.7717 MB / 6.218 GB, free: 30.77 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/22.29, allocations: 5.572 MB / 6.223 GB, free: 30.75 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/22.3, allocations: 9.454 MB / 6.232 GB, free: 26.17 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/22.32, allocations: 7.507 MB / 6.24 GB, free: 26.05 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000252/22.32, allocations: 34.19 kB / 6.24 GB, free: 26.05 MB / 1.104 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04558/22.36, allocations: 18.19 MB / 6.258 GB, free: 22.65 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.03243/22.39, allocations: 68.61 MB / 6.325 GB, free: 13.99 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004609/22.39, allocations: 122.5 kB / 6.325 GB, free: 13.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09006/22.48, allocations: 11.86 MB / 6.336 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/22.5, allocations: 2.397 MB / 6.339 GB, free: 12.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/22.52, allocations: 20.18 MB / 6.358 GB, free: 13.05 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0183/22.53, allocations: 1.092 MB / 6.359 GB, free: 12.73 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003734/22.54, allocations: 0.5424 MB / 6.36 GB, free: 12.64 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/22.54, allocations: 3.812 kB / 6.36 GB, free: 12.64 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04266/22.58, allocations: 17.17 MB / 6.377 GB, free: 6.125 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005857/22.58, allocations: 121 kB / 6.377 GB, free: 6.125 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08973/22.67, allocations: 11.86 MB / 6.388 GB, free: 4.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/22.68, allocations: 2.383 MB / 6.391 GB, free: 4.27 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005/23.69, allocations: 18.37 MB / 6.409 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01769/23.7, allocations: 1.045 MB / 6.41 GB, free: 146.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004161/23.71, allocations: 0.5385 MB / 6.41 GB, free: 146.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.005307/23.71, allocations: 0.7775 MB / 6.411 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005306/23.72, allocations: 1.148 MB / 6.412 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03058/23.75, allocations: 11.32 MB / 6.423 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/23.75, allocations: 67.06 kB / 6.423 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/23.75, allocations: 2.656 kB / 6.423 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02178/23.77, allocations: 9.335 MB / 6.432 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08239/23.85, allocations: 25.56 MB / 6.457 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.403e-05/23.85, allocations: 13.77 kB / 6.457 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006323/23.86, allocations: 1.129 MB / 6.458 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.049/23.91, allocations: 6.423 MB / 6.465 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003182/23.91, allocations: 188.4 kB / 6.465 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/23.93, allocations: 17.77 MB / 6.482 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-05/23.93, allocations: 19.16 kB / 6.482 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05101/23.98, allocations: 21.03 MB / 6.503 GB, free: 125.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0143/23.99, allocations: 2.78 MB / 6.505 GB, free: 125 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00796/24, allocations: 159.4 kB / 6.506 GB, free: 125 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0168/24.02, allocations: 0.7518 MB / 6.506 GB, free: 125 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003082/24.02, allocations: 443.5 kB / 6.507 GB, free: 124.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003134/24.03, allocations: 293.5 kB / 6.507 GB, free: 124.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03022/24.06, allocations: 9.073 MB / 6.516 GB, free: 124.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.052e-06/24.06, allocations: 2.688 kB / 6.516 GB, free: 124.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05104/24.11, allocations: 7.894 MB / 6.524 GB, free: 124 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007951/24.11, allocations: 2.157 MB / 6.526 GB, free: 123.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.05686/24.17, allocations: 22.01 MB / 6.547 GB, free: 122.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.831e-05/24.17, allocations: 7.562 kB / 6.547 GB, free: 122.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0138/24.19, allocations: 5.316 MB / 6.552 GB, free: 122.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04347/24.23, allocations: 6.134 MB / 6.558 GB, free: 122.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08171/24.31, allocations: 27.37 MB / 6.585 GB, free: 117 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02838/24.34, allocations: 10.14 MB / 6.595 GB, free: 115.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0448/24.38, allocations: 8.979 MB / 6.604 GB, free: 115.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005469/24.39, allocations: 0.6868 MB / 6.604 GB, free: 115.5 MB / 1.182 GB Notification: Performance of SimCode: time 3.867e-06/24.39, allocations: 0 / 6.604 GB, free: 115.5 MB / 1.182 GB Notification: Performance of Templates: time 2.534/26.92, allocations: 289.8 MB / 6.887 GB, free: 133.7 MB / 1.182 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)