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.723/1.723, allocations: 288.3 MB / 303.2 MB, free: 8.309 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.001131/0.001131, allocations: 180.1 kB / 371.8 MB, free: 10.27 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.832/1.832, allocations: 205.4 MB / 0.6306 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 91.42 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 15.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.419, allocations: 420.7 MB / 1.39 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.419, allocations: 96.39 kB / 1.39 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 19.18/20.6, allocations: 4.613 GB / 6.003 GB, free: 81.97 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.567e-06/20.6, allocations: 0 / 6.003 GB, free: 81.97 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005062/20.6, allocations: 400.3 kB / 6.004 GB, free: 81.92 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.09024/20.69, allocations: 16.36 MB / 6.02 GB, free: 76.27 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/20.69, allocations: 12.86 kB / 6.02 GB, free: 76.27 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/20.71, allocations: 1.884 MB / 6.021 GB, free: 75.37 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05795/20.77, allocations: 17.83 MB / 6.039 GB, free: 73.7 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/20.77, allocations: 0.9797 MB / 6.04 GB, free: 73.67 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007731/20.78, allocations: 1.3 MB / 6.041 GB, free: 73.66 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05908/20.83, allocations: 18.28 MB / 6.059 GB, free: 71.46 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001004/20.84, allocations: 41.94 kB / 6.059 GB, free: 71.45 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006151/20.84, allocations: 0.5324 MB / 6.059 GB, free: 71.45 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/20.84, allocations: 353.8 kB / 6.06 GB, free: 71.45 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04578/20.89, allocations: 15.61 MB / 6.075 GB, free: 71.36 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.1672/21.06, allocations: 80.82 MB / 6.154 GB, free: 53.87 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/21.08, allocations: 11.98 MB / 6.166 GB, free: 53.37 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08499/21.16, allocations: 28.31 MB / 6.193 GB, free: 46.75 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/21.16, allocations: 123.7 kB / 6.193 GB, free: 46.7 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01354/21.18, allocations: 0.7829 MB / 6.194 GB, free: 46.2 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 7.339e-05/21.18, allocations: 0 / 6.194 GB, free: 46.2 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.0674/21.24, allocations: 17.99 MB / 6.212 GB, free: 43.68 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/21.24, allocations: 117.6 kB / 6.212 GB, free: 43.61 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04008/21.28, allocations: 12.04 MB / 6.224 GB, free: 42.85 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003319/21.29, allocations: 182.6 kB / 6.224 GB, free: 42.82 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01145/21.3, allocations: 7.106 MB / 6.231 GB, free: 40.04 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.00525/21.31, allocations: 2.314 MB / 6.233 GB, free: 38.58 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003597/21.31, allocations: 230.9 kB / 6.233 GB, free: 38.58 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.002034/21.31, allocations: 0.7779 MB / 6.234 GB, free: 38.25 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01325/21.32, allocations: 5.698 MB / 6.24 GB, free: 37.37 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01727/21.34, allocations: 9.589 MB / 6.249 GB, free: 30.44 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/21.36, allocations: 7.6 MB / 6.256 GB, free: 27.33 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002548/21.36, allocations: 32.78 kB / 6.256 GB, free: 27.33 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05636/21.42, allocations: 18.43 MB / 6.274 GB, free: 20.37 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.03084/21.45, allocations: 68.62 MB / 6.341 GB, free: 11.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005664/21.45, allocations: 123.7 kB / 6.342 GB, free: 11.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1045/21.55, allocations: 11.86 MB / 6.353 GB, free: 10.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/21.56, allocations: 2.406 MB / 6.355 GB, free: 9.777 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9935/22.56, allocations: 20.29 MB / 6.375 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/22.58, allocations: 1.101 MB / 6.376 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004993/22.58, allocations: 0.5421 MB / 6.377 GB, free: 141.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/22.58, allocations: 3.875 kB / 6.377 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05186/22.63, allocations: 17.42 MB / 6.394 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008341/22.64, allocations: 120.9 kB / 6.394 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1101/22.75, allocations: 11.86 MB / 6.406 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/22.76, allocations: 2.39 MB / 6.408 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/22.78, allocations: 18.52 MB / 6.426 GB, free: 131.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02033/22.8, allocations: 1.046 MB / 6.427 GB, free: 131.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004289/22.8, allocations: 0.5414 MB / 6.428 GB, free: 131.3 MB / 1.151 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 (1242): * Single equations (assignments): 1224 * 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.01885/22.82, allocations: 5.77 MB / 6.433 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005701/22.83, allocations: 1.158 MB / 6.434 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02875/22.86, allocations: 11.62 MB / 6.446 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-05/22.86, allocations: 69.45 kB / 6.446 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/22.86, allocations: 3.5 kB / 6.446 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01962/22.88, allocations: 9.637 MB / 6.455 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08788/22.97, allocations: 25.83 MB / 6.48 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.835e-05/22.97, allocations: 15.78 kB / 6.48 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007178/22.97, allocations: 1.14 MB / 6.481 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05635/23.03, allocations: 6.414 MB / 6.488 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002372/23.03, allocations: 190.6 kB / 6.488 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/23.05, allocations: 17.9 MB / 6.505 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-05/23.05, allocations: 25.16 kB / 6.505 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04437/23.09, allocations: 21.38 MB / 6.526 GB, free: 110.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01468/23.11, allocations: 2.793 MB / 6.529 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007535/23.11, allocations: 163.7 kB / 6.529 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01515/23.13, allocations: 0.7561 MB / 6.53 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002689/23.13, allocations: 451.9 kB / 6.53 GB, free: 110.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002669/23.13, allocations: 290.7 kB / 6.531 GB, free: 110.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02916/23.16, allocations: 9.198 MB / 6.54 GB, free: 109.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.81e-07/23.16, allocations: 0 / 6.54 GB, free: 109.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05373/23.22, allocations: 7.902 MB / 6.547 GB, free: 109.3 MB / 1.151 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 (570): * Single equations (assignments): 546 * 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.00984/23.23, allocations: 2.163 MB / 6.549 GB, free: 108.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.06098/23.29, allocations: 22.08 MB / 6.571 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.731e-05/23.29, allocations: 12.66 kB / 6.571 GB, free: 107.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/23.3, allocations: 5.433 MB / 6.576 GB, free: 107.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03979/23.34, allocations: 6.13 MB / 6.582 GB, free: 107.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/23.45, allocations: 36.91 MB / 6.618 GB, free: 93.44 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03347/23.49, allocations: 10.14 MB / 6.628 GB, free: 92.19 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.03591/23.52, allocations: 6.149 MB / 6.634 GB, free: 91.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007303/23.53, allocations: 0.8744 MB / 6.635 GB, free: 91.62 MB / 1.151 GB Notification: Performance of SimCode: time 1.904e-06/23.53, allocations: 0 / 6.635 GB, free: 91.62 MB / 1.151 GB Notification: Performance of Templates: time 2.411/25.94, allocations: 271.7 MB / 6.9 GB, free: 137.2 MB / 1.151 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)