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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 293 MB / 309 MB, free: 4.824 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.001183/0.001182, allocations: 168.5 kB / 378.7 MB, free: 1.039 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.771/1.771, allocations: 205.4 MB / 0.6383 GB, free: 8.156 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.0008689/0.000869, allocations: 99.47 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.634/1.922, allocations: 421.8 MB / 1.402 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.922, allocations: 96.48 kB / 1.402 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 17.46/19.38, allocations: 4.585 GB / 5.987 GB, free: 88.76 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.508e-06/19.38, allocations: 0 / 5.987 GB, free: 88.76 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.004947/19.39, allocations: 398.6 kB / 5.987 GB, free: 88.71 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.07685/19.46, allocations: 16.2 MB / 6.003 GB, free: 82.9 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/19.46, allocations: 9.156 kB / 6.003 GB, free: 82.9 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/19.48, allocations: 1.877 MB / 6.005 GB, free: 82.01 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0639/19.54, allocations: 17.48 MB / 6.022 GB, free: 79.85 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00184/19.55, allocations: 0.9799 MB / 6.023 GB, free: 79.82 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009252/19.56, allocations: 1.297 MB / 6.024 GB, free: 79.82 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06469/19.62, allocations: 18.39 MB / 6.042 GB, free: 77.61 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001303/19.62, allocations: 39.47 kB / 6.042 GB, free: 77.61 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007134/19.63, allocations: 0.5292 MB / 6.043 GB, free: 77.61 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005391/19.63, allocations: 356.7 kB / 6.043 GB, free: 77.61 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04797/19.68, allocations: 15.61 MB / 6.058 GB, free: 77.51 MB / 1.073 GB 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.1731/19.85, allocations: 80.25 MB / 6.137 GB, free: 43.94 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02474/19.88, allocations: 11.88 MB / 6.148 GB, free: 43.35 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01269/19.89, allocations: 6.138 MB / 6.154 GB, free: 43.27 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07417/19.96, allocations: 27.98 MB / 6.182 GB, free: 36.59 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/19.96, allocations: 119.8 kB / 6.182 GB, free: 36.54 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01148/19.97, allocations: 0.7246 MB / 6.183 GB, free: 36.08 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 3.669e-05/19.97, allocations: 0 / 6.183 GB, free: 36.08 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.05264/20.03, allocations: 17.8 MB / 6.2 GB, free: 32.23 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/20.03, allocations: 119.4 kB / 6.2 GB, free: 32.16 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03716/20.06, allocations: 12.52 MB / 6.212 GB, free: 27.79 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.003039/20.07, allocations: 182 kB / 6.212 GB, free: 27.65 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01041/20.08, allocations: 7.16 MB / 6.219 GB, free: 22.15 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004358/20.08, allocations: 2.287 MB / 6.222 GB, free: 20.39 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002811/20.08, allocations: 230 kB / 6.222 GB, free: 20.21 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001612/20.09, allocations: 0.7771 MB / 6.223 GB, free: 19.71 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01269/20.1, allocations: 5.654 MB / 6.228 GB, free: 17.65 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01708/20.12, allocations: 9.579 MB / 6.238 GB, free: 10.59 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02859/20.14, allocations: 15.13 MB / 6.252 GB, free: 0.7656 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/20.14, allocations: 41.09 kB / 6.252 GB, free: 0.7617 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05176/20.2, allocations: 18.37 MB / 6.27 GB, free: 9.418 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00431/20.2, allocations: 3.717 MB / 6.274 GB, free: 4.254 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003545/20.2, allocations: 122 kB / 6.274 GB, free: 4.254 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09159/20.29, allocations: 11.84 MB / 6.286 GB, free: 2.656 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/20.3, allocations: 2.365 MB / 6.288 GB, free: 0.8125 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/20.33, allocations: 20.26 MB / 6.308 GB, free: 13.41 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01892/20.35, allocations: 1.086 MB / 6.309 GB, free: 12.56 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004133/20.35, allocations: 0.538 MB / 6.309 GB, free: 12.04 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/20.35, allocations: 4 kB / 6.309 GB, free: 12.04 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.951/21.3, allocations: 17.57 MB / 6.326 GB, free: 118.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000397/21.3, allocations: 120.7 kB / 6.327 GB, free: 118.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09445/21.4, allocations: 11.85 MB / 6.338 GB, free: 118.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/21.41, allocations: 2.315 MB / 6.34 GB, free: 118.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/21.43, allocations: 18.43 MB / 6.358 GB, free: 108.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01733/21.44, allocations: 1.041 MB / 6.359 GB, free: 108.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004099/21.45, allocations: 0.5364 MB / 6.36 GB, free: 108.3 MB / 1.12 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 () * Number of clocked 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.02076/21.47, allocations: 5.757 MB / 6.366 GB, free: 108.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005136/21.47, allocations: 1.149 MB / 6.367 GB, free: 108.1 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02557/21.5, allocations: 11.4 MB / 6.378 GB, free: 107.6 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/21.5, allocations: 67 kB / 6.378 GB, free: 107.6 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/21.5, allocations: 6.5 kB / 6.378 GB, free: 107.6 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01732/21.52, allocations: 9.431 MB / 6.387 GB, free: 107 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08329/21.6, allocations: 25.45 MB / 6.412 GB, free: 105.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/21.6, allocations: 13.03 kB / 6.412 GB, free: 105.7 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006907/21.61, allocations: 1.147 MB / 6.413 GB, free: 105.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04917/21.66, allocations: 6.41 MB / 6.419 GB, free: 105.6 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002437/21.66, allocations: 188.5 kB / 6.42 GB, free: 105.6 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/21.67, allocations: 17.83 MB / 6.437 GB, free: 93.64 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.907e-05/21.67, allocations: 19.66 kB / 6.437 GB, free: 93.64 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04392/21.72, allocations: 17.49 MB / 6.454 GB, free: 92.14 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01232/21.73, allocations: 2.661 MB / 6.457 GB, free: 91.42 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007145/21.74, allocations: 162.7 kB / 6.457 GB, free: 91.42 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/21.75, allocations: 0.7437 MB / 6.458 GB, free: 91.4 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/21.75, allocations: 445.6 kB / 6.458 GB, free: 91.38 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002469/21.76, allocations: 293 kB / 6.458 GB, free: 91.38 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02416/21.78, allocations: 8.531 MB / 6.467 GB, free: 91.06 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.01e-07/21.78, allocations: 0 / 6.467 GB, free: 91.06 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.04332/21.82, allocations: 7.816 MB / 6.474 GB, free: 90.54 MB / 1.12 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 () * Number of clocked 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.007429/21.83, allocations: 2.083 MB / 6.476 GB, free: 90.09 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05692/21.89, allocations: 21.96 MB / 6.498 GB, free: 89.11 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.121e-05/21.89, allocations: 7.938 kB / 6.498 GB, free: 89.11 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/21.9, allocations: 5.384 MB / 6.503 GB, free: 88.7 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07569/21.98, allocations: 6.173 MB / 6.509 GB, free: 88.57 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09451/22.07, allocations: 36.93 MB / 6.545 GB, free: 74.75 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02656/22.1, allocations: 9.857 MB / 6.555 GB, free: 73.5 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.03212/22.13, allocations: 6.09 MB / 6.561 GB, free: 72.96 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006553/22.14, allocations: 0.8614 MB / 6.561 GB, free: 72.95 MB / 1.12 GB Notification: Performance of SimCode: time 8.52e-07/22.14, allocations: 0 / 6.561 GB, free: 72.95 MB / 1.12 GB Notification: Performance of Templates: time 1.256/23.39, allocations: 271 MB / 6.826 GB, free: 134.3 MB / 1.135 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)