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.665/1.665, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001197/0.001197, allocations: 180.8 kB / 361.4 MB, free: 6.852 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.45/1.45, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0008543/0.0008545, allocations: 91.05 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.892e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7317, allocations: 115.3 MB / 0.9643 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.825, allocations: 419.9 MB / 1.374 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.826, allocations: 93.31 kB / 1.375 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 18.09/19.92, allocations: 4.578 GB / 5.953 GB, free: 91.85 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.846e-06/19.92, allocations: 0 / 5.953 GB, free: 91.85 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.003842/19.92, allocations: 398.2 kB / 5.953 GB, free: 91.8 MB / 1.057 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.06016/19.98, allocations: 13.64 MB / 5.966 GB, free: 86.89 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 9.188e-05/19.98, allocations: 11.12 kB / 5.967 GB, free: 86.89 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/20, allocations: 1.873 MB / 5.968 GB, free: 86 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05573/20.05, allocations: 17.75 MB / 5.986 GB, free: 84.27 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/20.06, allocations: 401.6 kB / 5.986 GB, free: 84.27 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007376/20.06, allocations: 0.7586 MB / 5.987 GB, free: 84.27 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04083/20.1, allocations: 14.46 MB / 6.001 GB, free: 84.21 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06057/20.16, allocations: 16.14 MB / 6.017 GB, free: 81.93 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001114/20.17, allocations: 47.47 kB / 6.017 GB, free: 81.91 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006476/20.17, allocations: 22.28 kB / 6.017 GB, free: 81.91 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004534/20.17, allocations: 350 kB / 6.017 GB, free: 81.9 MB / 1.057 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.1697/20.34, allocations: 78.53 MB / 6.094 GB, free: 33.08 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/20.37, allocations: 11.3 MB / 6.105 GB, free: 24.41 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0117/20.38, allocations: 5.809 MB / 6.11 GB, free: 19.24 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07796/20.45, allocations: 28.33 MB / 6.138 GB, free: 11.41 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/20.46, allocations: 124.4 kB / 6.138 GB, free: 11.27 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01224/20.47, allocations: 0.5499 MB / 6.139 GB, free: 10.71 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 6.817e-05/20.47, allocations: 0 / 6.139 GB, free: 10.71 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.03925/20.51, allocations: 10.46 MB / 6.149 GB, free: 0.5703 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/20.51, allocations: 124.5 kB / 6.149 GB, free: 444 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.036/21.54, allocations: 10.7 MB / 6.16 GB, free: 124.3 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.003052/21.55, allocations: 31.89 kB / 6.16 GB, free: 124.3 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01129/21.56, allocations: 7.074 MB / 6.167 GB, free: 122.9 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004943/21.56, allocations: 2.207 MB / 6.169 GB, free: 121.8 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003564/21.57, allocations: 0 / 6.169 GB, free: 121.8 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001525/21.57, allocations: 0.7706 MB / 6.169 GB, free: 121.5 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01295/21.58, allocations: 5.358 MB / 6.175 GB, free: 121.4 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/21.59, allocations: 9.163 MB / 6.184 GB, free: 116.9 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02374/21.62, allocations: 9.472 MB / 6.193 GB, free: 116.8 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/21.62, allocations: 35.59 kB / 6.193 GB, free: 116.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05575/21.67, allocations: 19.09 MB / 6.212 GB, free: 115.9 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01463/21.69, allocations: 66.73 MB / 6.277 GB, free: 46.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006939/21.69, allocations: 124.8 kB / 6.277 GB, free: 46.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/21.7, allocations: 4.036 MB / 6.281 GB, free: 46.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/21.72, allocations: 2.399 MB / 6.283 GB, free: 46.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/21.74, allocations: 20.63 MB / 6.303 GB, free: 50.59 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/21.76, allocations: 0.8712 MB / 6.304 GB, free: 50.5 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004123/21.77, allocations: 0.5447 MB / 6.305 GB, free: 50.5 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/21.77, allocations: 3.656 kB / 6.305 GB, free: 50.5 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04452/21.81, allocations: 17.9 MB / 6.322 GB, free: 50.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005873/21.81, allocations: 119.2 kB / 6.322 GB, free: 50.18 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/21.82, allocations: 4.053 MB / 6.326 GB, free: 50.04 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01122/21.84, allocations: 2.38 MB / 6.329 GB, free: 50.04 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02366/21.86, allocations: 18.83 MB / 6.347 GB, free: 55.87 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/21.88, allocations: 0.8154 MB / 6.348 GB, free: 55.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004305/21.88, allocations: 0.5433 MB / 6.348 GB, free: 55.8 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.007034/21.89, allocations: 453.3 kB / 6.349 GB, free: 55.5 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006267/21.89, allocations: 1.087 MB / 6.35 GB, free: 54.92 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/21.92, allocations: 11.44 MB / 6.361 GB, free: 54.34 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/21.92, allocations: 66.06 kB / 6.361 GB, free: 54.34 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/21.92, allocations: 3.438 kB / 6.361 GB, free: 54.34 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01929/21.94, allocations: 9.665 MB / 6.37 GB, free: 53.73 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06742/22.01, allocations: 24.28 MB / 6.394 GB, free: 52.42 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/22.01, allocations: 13.25 kB / 6.394 GB, free: 52.42 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005959/22.02, allocations: 1.128 MB / 6.395 GB, free: 52.36 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007414/22.02, allocations: 2.481 MB / 6.398 GB, free: 52.23 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001771/22.03, allocations: 96.34 kB / 6.398 GB, free: 52.23 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/22.04, allocations: 17.93 MB / 6.415 GB, free: 40.3 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/22.04, allocations: 20.19 kB / 6.415 GB, free: 40.29 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03907/22.08, allocations: 20.97 MB / 6.436 GB, free: 34.44 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01349/22.1, allocations: 2.717 MB / 6.438 GB, free: 33.74 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006579/22.1, allocations: 50.84 kB / 6.438 GB, free: 33.74 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01378/22.12, allocations: 0.6291 MB / 6.439 GB, free: 33.7 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00245/22.12, allocations: 443.1 kB / 6.44 GB, free: 33.67 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001247/22.12, allocations: 295.4 kB / 6.44 GB, free: 33.67 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02414/22.14, allocations: 7.993 MB / 6.448 GB, free: 33.38 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.21e-07/22.14, allocations: 0 / 6.448 GB, free: 33.38 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.04939/22.19, allocations: 7.528 MB / 6.455 GB, free: 32.24 MB / 1.104 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.007153/22.2, allocations: 2.058 MB / 6.457 GB, free: 31.66 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0475/22.25, allocations: 20.61 MB / 6.477 GB, free: 26.52 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.52e-05/22.25, allocations: 7.75 kB / 6.477 GB, free: 26.52 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/22.26, allocations: 4.975 MB / 6.482 GB, free: 40.54 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03335/22.29, allocations: 5.376 MB / 6.487 GB, free: 39.66 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06737/22.36, allocations: 26.8 MB / 6.513 GB, free: 29.04 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/22.38, allocations: 10.14 MB / 6.523 GB, free: 21.6 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.03423/22.41, allocations: 8.448 MB / 6.532 GB, free: 16.38 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003626/22.41, allocations: 0.6615 MB / 6.532 GB, free: 15.76 MB / 1.12 GB Notification: Performance of SimCode: time 1.112e-06/22.41, allocations: 4 kB / 6.532 GB, free: 15.75 MB / 1.12 GB Notification: Performance of Templates: time 1.299/23.71, allocations: 247.2 MB / 6.774 GB, free: 128.5 MB / 1.12 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)