Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 285.4 MB / 298 MB, free: 5.992 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.001295/0.001294, allocations: 180.8 kB / 366.4 MB, free: 2.102 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.648/1.648, allocations: 205.1 MB / 0.6248 GB, free: 7.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.0008746/0.0008743, allocations: 91.41 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.408e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8293, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/2.013, allocations: 420.6 MB / 1.382 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/2.013, allocations: 90.47 kB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 19.43/21.44, allocations: 4.6 GB / 5.982 GB, free: 100.2 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.924e-06/21.44, allocations: 1.969 kB / 5.982 GB, free: 100.2 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003504/21.45, allocations: 394.3 kB / 5.982 GB, free: 100.1 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.05658/21.5, allocations: 13.65 MB / 5.996 GB, free: 95.22 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/21.5, allocations: 7.469 kB / 5.996 GB, free: 95.22 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/21.52, allocations: 1.875 MB / 5.997 GB, free: 94.33 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05097/21.57, allocations: 17.75 MB / 6.015 GB, free: 92.61 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001252/21.57, allocations: 0.9731 MB / 6.016 GB, free: 92.58 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007202/21.58, allocations: 1.3 MB / 6.017 GB, free: 92.57 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05707/21.63, allocations: 18.06 MB / 6.035 GB, free: 90.31 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008699/21.63, allocations: 51.14 kB / 6.035 GB, free: 90.31 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005714/21.64, allocations: 0.5295 MB / 6.035 GB, free: 90.31 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004843/21.64, allocations: 346.8 kB / 6.036 GB, free: 90.31 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/21.68, allocations: 15.34 MB / 6.05 GB, free: 90.21 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.1966/21.88, allocations: 80.81 MB / 6.129 GB, free: 49.81 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/21.9, allocations: 11.86 MB / 6.141 GB, free: 44.78 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01025/21.91, allocations: 6.039 MB / 6.147 GB, free: 42.49 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07072/21.98, allocations: 28.77 MB / 6.175 GB, free: 27.59 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/21.98, allocations: 124.3 kB / 6.175 GB, free: 27.48 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01047/21.99, allocations: 0.7708 MB / 6.176 GB, free: 26.88 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 2.503e-05/21.99, allocations: 0 / 6.176 GB, free: 26.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.03134/22.02, allocations: 10.15 MB / 6.186 GB, free: 21.42 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/22.02, allocations: 124.5 kB / 6.186 GB, free: 21.29 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02442/22.05, allocations: 11.91 MB / 6.198 GB, free: 10.9 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002258/22.05, allocations: 185.7 kB / 6.198 GB, free: 10.71 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.007868/22.06, allocations: 7.107 MB / 6.205 GB, free: 4.32 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00404/22.06, allocations: 2.299 MB / 6.207 GB, free: 2.25 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001823/22.06, allocations: 232 kB / 6.207 GB, free: 2.023 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0009219/22.06, allocations: 0.7692 MB / 6.208 GB, free: 1.383 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02809/22.09, allocations: 6.947 MB / 6.215 GB, free: 0 / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/22.11, allocations: 9.459 MB / 6.224 GB, free: 5.707 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8625/22.97, allocations: 7.52 MB / 6.231 GB, free: 124.2 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/22.97, allocations: 34.5 kB / 6.231 GB, free: 124.2 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04125/23.01, allocations: 18.19 MB / 6.249 GB, free: 123.9 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01343/23.03, allocations: 68.61 MB / 6.316 GB, free: 52.68 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00042/23.03, allocations: 118.2 kB / 6.316 GB, free: 52.68 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08865/23.12, allocations: 11.87 MB / 6.328 GB, free: 52.55 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009763/23.13, allocations: 2.399 MB / 6.33 GB, free: 52.54 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/23.14, allocations: 20.17 MB / 6.35 GB, free: 56.6 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01519/23.16, allocations: 1.097 MB / 6.351 GB, free: 56.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003445/23.16, allocations: 0.5402 MB / 6.351 GB, free: 56.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/23.16, allocations: 4.125 kB / 6.351 GB, free: 56.6 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03572/23.2, allocations: 17.17 MB / 6.368 GB, free: 56.18 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005271/23.2, allocations: 127.7 kB / 6.368 GB, free: 56.18 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.089/23.29, allocations: 11.87 MB / 6.38 GB, free: 55.79 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/23.3, allocations: 2.374 MB / 6.382 GB, free: 55.62 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/23.32, allocations: 18.38 MB / 6.4 GB, free: 45.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01631/23.33, allocations: 1.039 MB / 6.401 GB, free: 45.12 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003702/23.34, allocations: 0.5385 MB / 6.402 GB, free: 45.12 MB / 1.104 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.004842/23.34, allocations: 0.7774 MB / 6.402 GB, free: 44.84 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004982/23.35, allocations: 1.149 MB / 6.404 GB, free: 44.23 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02809/23.38, allocations: 11.32 MB / 6.415 GB, free: 43.63 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/23.38, allocations: 64.03 kB / 6.415 GB, free: 43.63 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/23.38, allocations: 3.031 kB / 6.415 GB, free: 43.63 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01493/23.39, allocations: 9.328 MB / 6.424 GB, free: 43.01 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06644/23.46, allocations: 25.55 MB / 6.449 GB, free: 41.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/23.46, allocations: 14.28 kB / 6.449 GB, free: 41.54 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005645/23.46, allocations: 1.131 MB / 6.45 GB, free: 41.48 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04605/23.51, allocations: 6.426 MB / 6.456 GB, free: 41.02 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002038/23.51, allocations: 190.2 kB / 6.456 GB, free: 41.02 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/23.53, allocations: 17.78 MB / 6.474 GB, free: 44.89 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/23.53, allocations: 19.22 kB / 6.474 GB, free: 44.88 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03534/23.56, allocations: 21.03 MB / 6.494 GB, free: 38.72 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01474/23.58, allocations: 2.778 MB / 6.497 GB, free: 38 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005853/23.58, allocations: 164.5 kB / 6.497 GB, free: 38 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01302/23.6, allocations: 0.7548 MB / 6.498 GB, free: 37.93 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00192/23.6, allocations: 441.8 kB / 6.498 GB, free: 37.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00179/23.6, allocations: 295 kB / 6.498 GB, free: 37.9 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02465/23.62, allocations: 9.075 MB / 6.507 GB, free: 37.52 MB / 1.12 GB Notification: Performance of sort global known variables: time 3.386e-06/23.62, allocations: 3.406 kB / 6.507 GB, free: 37.52 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.04386/23.67, allocations: 7.891 MB / 6.515 GB, free: 37 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 () * 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.006121/23.67, allocations: 2.14 MB / 6.517 GB, free: 36.33 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.04747/23.72, allocations: 22.02 MB / 6.539 GB, free: 34.47 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.829e-05/23.72, allocations: 6.688 kB / 6.539 GB, free: 34.47 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/23.73, allocations: 5.317 MB / 6.544 GB, free: 33.91 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03239/23.77, allocations: 6.128 MB / 6.55 GB, free: 33.58 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07094/23.84, allocations: 27.38 MB / 6.577 GB, free: 27.49 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02076/23.86, allocations: 10.14 MB / 6.586 GB, free: 40.47 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.03707/23.9, allocations: 8.987 MB / 6.595 GB, free: 36.58 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003841/23.9, allocations: 0.6893 MB / 6.596 GB, free: 35.93 MB / 1.135 GB Notification: Performance of SimCode: time 1.954e-06/23.9, allocations: 0 / 6.596 GB, free: 35.93 MB / 1.135 GB Notification: Performance of Templates: time 2.36/26.26, allocations: 289.8 MB / 6.879 GB, free: 136.6 MB / 1.136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)