Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.5 MB / 302.4 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 183.8 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 90.8 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004993, allocations: 10.62 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.539, allocations: 420.5 MB / 1.389 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/1.539, allocations: 90.52 kB / 1.389 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 26.03/27.57, allocations: 4.613 GB / 6.002 GB, free: 74.7 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.986e-06/27.57, allocations: 3.125 kB / 6.002 GB, free: 74.7 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.004675/27.57, allocations: 395 kB / 6.002 GB, free: 74.65 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.08675/27.66, allocations: 16.37 MB / 6.018 GB, free: 69.02 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/27.66, allocations: 10.45 kB / 6.018 GB, free: 69.02 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/27.68, allocations: 1.881 MB / 6.02 GB, free: 68.13 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06734/27.74, allocations: 17.83 MB / 6.038 GB, free: 66.45 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001666/27.75, allocations: 0.9797 MB / 6.039 GB, free: 66.43 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007222/27.75, allocations: 1.301 MB / 6.04 GB, free: 66.42 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06781/27.82, allocations: 18.28 MB / 6.058 GB, free: 64.22 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001154/27.82, allocations: 45.72 kB / 6.058 GB, free: 64.21 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006302/27.83, allocations: 0.528 MB / 6.058 GB, free: 64.21 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004869/27.83, allocations: 353.4 kB / 6.059 GB, free: 64.21 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05682/27.89, allocations: 15.62 MB / 6.074 GB, free: 64.12 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.213/28.1, allocations: 80.82 MB / 6.153 GB, free: 46.64 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03156/28.13, allocations: 11.98 MB / 6.164 GB, free: 46.13 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09738/28.23, allocations: 28.31 MB / 6.192 GB, free: 39.52 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/28.23, allocations: 125.2 kB / 6.192 GB, free: 39.47 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01172/28.24, allocations: 0.7823 MB / 6.193 GB, free: 38.97 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 3.113e-05/28.24, allocations: 0 / 6.193 GB, free: 38.97 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.07246/28.31, allocations: 17.98 MB / 6.211 GB, free: 36.44 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/28.31, allocations: 120.2 kB / 6.211 GB, free: 36.37 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03668/28.35, allocations: 12.03 MB / 6.222 GB, free: 35.61 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002828/28.35, allocations: 187.9 kB / 6.223 GB, free: 35.58 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01071/28.36, allocations: 7.104 MB / 6.23 GB, free: 32.8 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.004723/28.37, allocations: 2.316 MB / 6.232 GB, free: 31.35 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003104/28.37, allocations: 231 kB / 6.232 GB, free: 31.35 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001449/28.37, allocations: 0.7785 MB / 6.233 GB, free: 31.02 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01667/28.39, allocations: 5.698 MB / 6.238 GB, free: 30.99 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02056/28.41, allocations: 9.585 MB / 6.248 GB, free: 26.41 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02102/28.43, allocations: 7.597 MB / 6.255 GB, free: 24.14 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/28.43, allocations: 34.69 kB / 6.255 GB, free: 24.14 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05953/28.49, allocations: 18.43 MB / 6.273 GB, free: 17.4 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.02883/28.52, allocations: 68.61 MB / 6.34 GB, free: 8.648 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004942/28.52, allocations: 119.7 kB / 6.34 GB, free: 8.648 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1836/28.7, allocations: 11.86 MB / 6.352 GB, free: 7.047 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01865/28.72, allocations: 2.402 MB / 6.354 GB, free: 6.805 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/28.75, allocations: 20.31 MB / 6.374 GB, free: 7.316 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02164/28.77, allocations: 1.107 MB / 6.375 GB, free: 6.996 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003542/28.77, allocations: 0.5396 MB / 6.376 GB, free: 6.906 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/28.77, allocations: 3.969 kB / 6.376 GB, free: 6.906 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05353/28.83, allocations: 17.42 MB / 6.393 GB, free: 0 / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004053/28.83, allocations: 122.7 kB / 6.393 GB, free: 0 / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137/29.97, allocations: 11.86 MB / 6.404 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02275/29.99, allocations: 2.384 MB / 6.407 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/30.02, allocations: 18.51 MB / 6.425 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0209/30.04, allocations: 1.049 MB / 6.426 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003815/30.04, allocations: 0.5421 MB / 6.426 GB, free: 145.4 MB / 1.167 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.01976/30.06, allocations: 5.76 MB / 6.432 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0072/30.07, allocations: 1.154 MB / 6.433 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0691/30.14, allocations: 11.63 MB / 6.444 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001201/30.14, allocations: 65.94 kB / 6.445 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/30.14, allocations: 9.672 kB / 6.445 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03175/30.17, allocations: 9.63 MB / 6.454 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08653/30.25, allocations: 25.84 MB / 6.479 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.823e-05/30.25, allocations: 10.03 kB / 6.479 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01057/30.27, allocations: 1.146 MB / 6.48 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1146/30.38, allocations: 6.41 MB / 6.487 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002039/30.38, allocations: 191.5 kB / 6.487 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/30.4, allocations: 17.89 MB / 6.504 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/30.4, allocations: 23.66 kB / 6.504 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05023/30.45, allocations: 21.38 MB / 6.525 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01282/30.46, allocations: 2.797 MB / 6.528 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006222/30.47, allocations: 161.1 kB / 6.528 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01764/30.49, allocations: 0.7569 MB / 6.529 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00249/30.49, allocations: 449.7 kB / 6.529 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002601/30.49, allocations: 294.9 kB / 6.529 GB, free: 124.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02749/30.52, allocations: 9.192 MB / 6.538 GB, free: 124.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.01e-07/30.52, allocations: 5.125 kB / 6.538 GB, free: 124.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04582/30.57, allocations: 7.899 MB / 6.546 GB, free: 123.5 MB / 1.167 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.007413/30.58, allocations: 2.158 MB / 6.548 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.06618/30.64, allocations: 22.08 MB / 6.57 GB, free: 122.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-05/30.64, allocations: 10.81 kB / 6.57 GB, free: 122.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0175/30.66, allocations: 5.435 MB / 6.575 GB, free: 121.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.051/30.71, allocations: 6.133 MB / 6.581 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09605/30.81, allocations: 36.93 MB / 6.617 GB, free: 108.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02563/30.83, allocations: 10.13 MB / 6.627 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04056/30.87, allocations: 6.147 MB / 6.633 GB, free: 106.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007086/30.88, allocations: 0.8764 MB / 6.634 GB, free: 106.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.793e-06/30.88, allocations: 0 / 6.634 GB, free: 106.4 MB / 1.167 GB Notification: Performance of Templates: time 1.656/32.54, allocations: 271.7 MB / 6.899 GB, free: 148.2 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)