Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.605/2.605, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.00126/0.001259, allocations: 189.3 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009529/0.0009523, allocations: 96.92 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.0005237, allocations: 10.83 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2305, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.544, allocations: 420.6 MB / 1.39 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.544, allocations: 102 kB / 1.39 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 25.32/26.86, allocations: 4.585 GB / 5.975 GB, free: 64.58 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.598e-06/26.86, allocations: 0 / 5.975 GB, free: 64.58 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003759/26.87, allocations: 396.3 kB / 5.975 GB, free: 64.53 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.08479/26.95, allocations: 16.19 MB / 5.991 GB, free: 59 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/26.95, allocations: 13.8 kB / 5.991 GB, free: 59 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/26.97, allocations: 1.879 MB / 5.993 GB, free: 58.1 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06363/27.03, allocations: 17.47 MB / 6.01 GB, free: 55.95 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001897/27.03, allocations: 0.9762 MB / 6.011 GB, free: 55.92 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007199/27.04, allocations: 1.299 MB / 6.012 GB, free: 55.91 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06507/27.1, allocations: 18.38 MB / 6.03 GB, free: 53.72 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008469/27.1, allocations: 48.78 kB / 6.03 GB, free: 53.71 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005487/27.11, allocations: 0.5291 MB / 6.031 GB, free: 53.71 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004477/27.11, allocations: 353.1 kB / 6.031 GB, free: 53.71 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04984/27.16, allocations: 15.61 MB / 6.046 GB, free: 53.62 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.1928/27.35, allocations: 80.25 MB / 6.124 GB, free: 36.15 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03011/27.38, allocations: 11.88 MB / 6.136 GB, free: 35.64 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01587/27.4, allocations: 6.14 MB / 6.142 GB, free: 35.56 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09613/27.5, allocations: 27.97 MB / 6.169 GB, free: 28.97 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/27.5, allocations: 122.4 kB / 6.17 GB, free: 28.93 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01092/27.51, allocations: 0.7248 MB / 6.17 GB, free: 28.46 MB / 1.089 GB Notification: Performance of pre-optimization done (n=651): time 3.127e-05/27.51, allocations: 0 / 6.17 GB, free: 28.46 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.06909/27.58, allocations: 17.79 MB / 6.188 GB, free: 26.05 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/27.58, allocations: 120.8 kB / 6.188 GB, free: 25.98 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0372/27.61, allocations: 12.52 MB / 6.2 GB, free: 25.16 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002812/27.62, allocations: 185.7 kB / 6.2 GB, free: 25.13 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0109/27.63, allocations: 7.143 MB / 6.207 GB, free: 22.34 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.004952/27.63, allocations: 2.292 MB / 6.209 GB, free: 20.91 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002852/27.64, allocations: 227.8 kB / 6.21 GB, free: 20.91 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001337/27.64, allocations: 0.7744 MB / 6.21 GB, free: 20.58 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01619/27.65, allocations: 5.657 MB / 6.216 GB, free: 20.55 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01946/27.67, allocations: 9.582 MB / 6.225 GB, free: 15.97 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03281/27.71, allocations: 15.13 MB / 6.24 GB, free: 11.46 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001803/27.71, allocations: 34.34 kB / 6.24 GB, free: 11.46 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05675/27.76, allocations: 18.37 MB / 6.258 GB, free: 8.656 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.002754/27.76, allocations: 3.709 MB / 6.262 GB, free: 3.559 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000392/27.77, allocations: 120.2 kB / 6.262 GB, free: 3.559 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1828/27.95, allocations: 11.84 MB / 6.273 GB, free: 1.969 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01794/27.97, allocations: 2.368 MB / 6.276 GB, free: 1.793 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/28, allocations: 20.23 MB / 6.295 GB, free: 2.32 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0221/28.02, allocations: 1.081 MB / 6.296 GB, free: 2.008 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003578/28.02, allocations: 0.5387 MB / 6.297 GB, free: 1.918 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/28.02, allocations: 3.875 kB / 6.297 GB, free: 1.918 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06056/28.08, allocations: 17.62 MB / 6.314 GB, free: 12.09 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003835/28.08, allocations: 120.1 kB / 6.314 GB, free: 12.09 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1828/28.27, allocations: 11.85 MB / 6.326 GB, free: 10.48 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/28.28, allocations: 2.317 MB / 6.328 GB, free: 10.23 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02805/28.31, allocations: 18.45 MB / 6.346 GB, free: 12.59 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02029/28.33, allocations: 1.038 MB / 6.347 GB, free: 12.29 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003708/28.33, allocations: 0.5394 MB / 6.348 GB, free: 12.2 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.01923/28.35, allocations: 5.756 MB / 6.353 GB, free: 9.574 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006026/28.36, allocations: 1.156 MB / 6.354 GB, free: 8.957 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04229/28.4, allocations: 11.4 MB / 6.365 GB, free: 4.395 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/28.4, allocations: 67.58 kB / 6.366 GB, free: 4.395 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/28.4, allocations: 3.875 kB / 6.366 GB, free: 4.395 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9896/29.39, allocations: 9.732 MB / 6.375 GB, free: 110.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09504/29.49, allocations: 25.45 MB / 6.4 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-05/29.49, allocations: 10.31 kB / 6.4 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0106/29.5, allocations: 1.141 MB / 6.401 GB, free: 109.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0956/29.59, allocations: 6.409 MB / 6.407 GB, free: 109.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002103/29.6, allocations: 190.2 kB / 6.407 GB, free: 109.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/29.62, allocations: 17.82 MB / 6.425 GB, free: 97.51 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.336e-05/29.62, allocations: 21.53 kB / 6.425 GB, free: 97.51 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04963/29.67, allocations: 17.48 MB / 6.442 GB, free: 96.04 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01255/29.68, allocations: 2.661 MB / 6.445 GB, free: 95.95 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005978/29.69, allocations: 159.7 kB / 6.445 GB, free: 95.95 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/29.7, allocations: 0.7455 MB / 6.445 GB, free: 95.95 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002306/29.71, allocations: 443.5 kB / 6.446 GB, free: 95.93 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002292/29.71, allocations: 297.8 kB / 6.446 GB, free: 95.93 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02542/29.73, allocations: 8.522 MB / 6.454 GB, free: 95.61 MB / 1.135 GB Notification: Performance of sort global known variables: time 6.81e-07/29.73, allocations: 0 / 6.454 GB, free: 95.61 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.04482/29.78, allocations: 7.825 MB / 6.462 GB, free: 95.14 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.007035/29.79, allocations: 2.092 MB / 6.464 GB, free: 94.71 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.06393/29.85, allocations: 21.96 MB / 6.486 GB, free: 93.73 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/29.85, allocations: 9.656 kB / 6.486 GB, free: 93.73 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/29.87, allocations: 5.383 MB / 6.491 GB, free: 93.32 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09788/29.96, allocations: 6.175 MB / 6.497 GB, free: 93.23 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09416/30.06, allocations: 36.93 MB / 6.533 GB, free: 80.53 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02535/30.08, allocations: 9.858 MB / 6.543 GB, free: 79.43 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.03863/30.12, allocations: 6.088 MB / 6.549 GB, free: 78.93 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006415/30.13, allocations: 0.86 MB / 6.549 GB, free: 78.92 MB / 1.135 GB Notification: Performance of SimCode: time 9.72e-07/30.13, allocations: 0 / 6.549 GB, free: 78.92 MB / 1.135 GB Notification: Performance of Templates: time 2.669/32.8, allocations: 268 MB / 6.811 GB, free: 124.8 MB / 1.151 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)