Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.695/1.695, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000977/0.0009773, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 93.77 kB / 0.7808 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005252, allocations: 12 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7429, allocations: 120.3 MB / 1.026 GB, free: 56.79 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.894, allocations: 424.1 MB / 1.44 GB, free: 150 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.894, allocations: 94.77 kB / 1.441 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 17.48/19.37, allocations: 4.661 GB / 6.102 GB, free: 98.51 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.016e-06/19.37, allocations: 0 / 6.102 GB, free: 98.51 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003468/19.37, allocations: 399.6 kB / 6.102 GB, free: 98.46 MB / 1.104 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.06472/19.44, allocations: 16.19 MB / 6.118 GB, free: 92.64 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/19.44, allocations: 8.188 kB / 6.118 GB, free: 92.64 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/19.45, allocations: 1.883 MB / 6.12 GB, free: 91.75 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05254/19.5, allocations: 17.47 MB / 6.137 GB, free: 89.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/19.51, allocations: 0.9735 MB / 6.138 GB, free: 89.57 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007434/19.51, allocations: 1.302 MB / 6.139 GB, free: 89.56 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06159/19.58, allocations: 18.38 MB / 6.157 GB, free: 87.36 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001183/19.58, allocations: 41.72 kB / 6.157 GB, free: 87.36 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007431/19.58, allocations: 0.5356 MB / 6.157 GB, free: 87.36 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00049/19.58, allocations: 347.6 kB / 6.158 GB, free: 87.36 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04049/19.63, allocations: 15.62 MB / 6.173 GB, free: 87.26 MB / 1.104 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.1893/19.81, allocations: 80.26 MB / 6.251 GB, free: 53.26 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/19.85, allocations: 11.87 MB / 6.263 GB, free: 52.63 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/19.86, allocations: 6.146 MB / 6.269 GB, free: 52.55 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08395/19.95, allocations: 27.96 MB / 6.296 GB, free: 38.8 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/19.95, allocations: 125.5 kB / 6.296 GB, free: 38.7 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01023/19.96, allocations: 0.7282 MB / 6.297 GB, free: 38.12 MB / 1.104 GB Notification: Performance of pre-optimization done (n=651): time 3.098e-05/19.96, allocations: 3.5 kB / 6.297 GB, free: 38.12 MB / 1.104 GB Notification: Performance of matching and sorting (n=651): time 0.04746/20, allocations: 17.79 MB / 6.314 GB, free: 31.07 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/20, allocations: 120.9 kB / 6.315 GB, free: 31 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03333/20.04, allocations: 12.52 MB / 6.327 GB, free: 26.63 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003058/20.04, allocations: 189.9 kB / 6.327 GB, free: 26.48 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009921/20.05, allocations: 7.144 MB / 6.334 GB, free: 20.99 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004165/20.05, allocations: 2.293 MB / 6.336 GB, free: 19.23 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002764/20.06, allocations: 230.8 kB / 6.336 GB, free: 19.05 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001551/20.06, allocations: 0.7683 MB / 6.337 GB, free: 18.55 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/20.07, allocations: 5.664 MB / 6.343 GB, free: 16.48 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/20.09, allocations: 9.583 MB / 6.352 GB, free: 9.414 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02439/20.11, allocations: 15.12 MB / 6.367 GB, free: 15.6 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/20.11, allocations: 36.41 kB / 6.367 GB, free: 15.6 MB / 1.12 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04858/20.16, allocations: 18.38 MB / 6.385 GB, free: 5.016 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.003832/20.17, allocations: 3.707 MB / 6.388 GB, free: 15.66 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003555/20.17, allocations: 124 kB / 6.389 GB, free: 15.54 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09233/20.26, allocations: 11.84 MB / 6.4 GB, free: 7.441 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/20.27, allocations: 2.361 MB / 6.402 GB, free: 5.426 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8859/21.16, allocations: 20.22 MB / 6.422 GB, free: 118.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01581/21.17, allocations: 1.087 MB / 6.423 GB, free: 118.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003388/21.18, allocations: 0.5417 MB / 6.424 GB, free: 118.5 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/21.18, allocations: 6.25 kB / 6.424 GB, free: 118.5 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04183/21.22, allocations: 17.36 MB / 6.441 GB, free: 118.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008969/21.22, allocations: 121.7 kB / 6.441 GB, free: 118.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09135/21.31, allocations: 11.84 MB / 6.452 GB, free: 118.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/21.32, allocations: 2.312 MB / 6.455 GB, free: 118.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/21.34, allocations: 18.43 MB / 6.473 GB, free: 107.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/21.36, allocations: 1.04 MB / 6.474 GB, free: 107.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006415/21.37, allocations: 0.5399 MB / 6.474 GB, free: 107.9 MB / 1.135 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.02379/21.39, allocations: 5.761 MB / 6.48 GB, free: 107.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005845/21.4, allocations: 1.144 MB / 6.481 GB, free: 107.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03476/21.43, allocations: 11.4 MB / 6.492 GB, free: 107.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001214/21.43, allocations: 67.56 kB / 6.492 GB, free: 107.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-05/21.43, allocations: 4.75 kB / 6.492 GB, free: 107.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02471/21.46, allocations: 9.434 MB / 6.501 GB, free: 106.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0775/21.53, allocations: 25.44 MB / 6.526 GB, free: 105.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/21.53, allocations: 16.66 kB / 6.526 GB, free: 105.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006178/21.54, allocations: 1.152 MB / 6.527 GB, free: 105.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04877/21.59, allocations: 6.408 MB / 6.534 GB, free: 105.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002544/21.59, allocations: 186.7 kB / 6.534 GB, free: 105.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/21.61, allocations: 17.82 MB / 6.551 GB, free: 93.26 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/21.61, allocations: 25.41 kB / 6.551 GB, free: 93.26 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03933/21.64, allocations: 17.48 MB / 6.568 GB, free: 91.57 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/21.66, allocations: 2.656 MB / 6.571 GB, free: 90.86 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006101/21.66, allocations: 159.2 kB / 6.571 GB, free: 90.86 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01296/21.68, allocations: 0.7531 MB / 6.572 GB, free: 90.83 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00249/21.68, allocations: 450.8 kB / 6.572 GB, free: 90.81 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002292/21.68, allocations: 290.1 kB / 6.572 GB, free: 90.81 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02362/21.7, allocations: 8.528 MB / 6.581 GB, free: 90.49 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.352e-06/21.7, allocations: 0 / 6.581 GB, free: 90.49 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.05125/21.76, allocations: 7.818 MB / 6.588 GB, free: 89.96 MB / 1.135 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.007087/21.76, allocations: 2.096 MB / 6.59 GB, free: 89.51 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.05365/21.82, allocations: 21.96 MB / 6.612 GB, free: 87.91 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-05/21.82, allocations: 7.094 kB / 6.612 GB, free: 87.91 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/21.83, allocations: 5.383 MB / 6.617 GB, free: 87.38 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07364/21.9, allocations: 6.16 MB / 6.623 GB, free: 87.32 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08737/21.99, allocations: 36.93 MB / 6.659 GB, free: 73.31 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02721/22.02, allocations: 9.862 MB / 6.669 GB, free: 72.05 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.03243/22.05, allocations: 6.084 MB / 6.675 GB, free: 71.56 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006428/22.06, allocations: 0.8654 MB / 6.676 GB, free: 71.54 MB / 1.135 GB Notification: Performance of SimCode: time 2.385e-06/22.06, allocations: 0 / 6.676 GB, free: 71.54 MB / 1.135 GB Notification: Performance of Templates: time 1.304/23.36, allocations: 271 MB / 6.94 GB, free: 135.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)