Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004186/0.004185, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001127/0.001127, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.967/3.967, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.976/3.976, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006448, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1789, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.707/1.886, allocations: 404.7 MB / 1.5 GB, free: 232.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.887, allocations: 99.31 kB / 1.5 GB, free: 232.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 23.45/25.33, allocations: 4.416 GB / 5.916 GB, free: 66.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.135e-06/25.33, allocations: 0 / 5.916 GB, free: 66.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003058/25.34, allocations: 402.5 kB / 5.916 GB, free: 66.31 MB / 0.9636 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.0771/25.41, allocations: 16.31 MB / 5.932 GB, free: 60.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/25.41, allocations: 11.16 kB / 5.932 GB, free: 60.42 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/25.43, allocations: 1.875 MB / 5.934 GB, free: 59.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06283/25.49, allocations: 17.03 MB / 5.951 GB, free: 57.67 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001599/25.49, allocations: 0.9784 MB / 5.952 GB, free: 57.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00698/25.5, allocations: 1.295 MB / 5.953 GB, free: 57.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06652/25.57, allocations: 18.2 MB / 5.971 GB, free: 55.38 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001024/25.57, allocations: 40.84 kB / 5.971 GB, free: 55.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006042/25.57, allocations: 0.5289 MB / 5.971 GB, free: 55.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004753/25.57, allocations: 354.2 kB / 5.972 GB, free: 55.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0521/25.63, allocations: 15.62 MB / 5.987 GB, free: 55.2 MB / 0.9636 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.1839/25.81, allocations: 79.97 MB / 6.065 GB, free: 20.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/25.84, allocations: 11.79 MB / 6.077 GB, free: 16.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01553/25.85, allocations: 6.128 MB / 6.083 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09358/25.95, allocations: 27.69 MB / 6.11 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/25.95, allocations: 116.7 kB / 6.11 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01006/25.96, allocations: 0.7164 MB / 6.11 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=648): time 2.296e-05/25.96, allocations: 0 / 6.11 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=648): time 0.07052/26.03, allocations: 17.81 MB / 6.128 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/26.03, allocations: 119.5 kB / 6.128 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0381/26.07, allocations: 12.49 MB / 6.14 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002672/26.07, allocations: 180.1 kB / 6.14 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.8782/26.95, allocations: 7.586 MB / 6.148 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.005641/26.95, allocations: 2.283 MB / 6.15 GB, free: 92.89 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003687/26.96, allocations: 228.1 kB / 6.15 GB, free: 92.89 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001614/26.96, allocations: 0.7718 MB / 6.151 GB, free: 92.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01866/26.98, allocations: 5.651 MB / 6.156 GB, free: 92.54 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02202/27, allocations: 9.58 MB / 6.166 GB, free: 87.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02211/27.02, allocations: 7.54 MB / 6.173 GB, free: 87.88 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002518/27.02, allocations: 34.06 kB / 6.173 GB, free: 87.88 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05962/27.08, allocations: 18.33 MB / 6.191 GB, free: 86.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003099/27.08, allocations: 3.705 MB / 6.195 GB, free: 82.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004873/27.08, allocations: 122.7 kB / 6.195 GB, free: 82.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1814/27.27, allocations: 11.87 MB / 6.206 GB, free: 82.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01862/27.28, allocations: 2.352 MB / 6.209 GB, free: 82.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/27.31, allocations: 20.22 MB / 6.228 GB, free: 70.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02198/27.33, allocations: 1.084 MB / 6.23 GB, free: 70.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00396/27.34, allocations: 0.5453 MB / 6.23 GB, free: 70.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/27.34, allocations: 6.125 kB / 6.23 GB, free: 70.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05265/27.39, allocations: 17.32 MB / 6.247 GB, free: 69.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000462/27.39, allocations: 119.2 kB / 6.247 GB, free: 69.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1808/27.57, allocations: 11.86 MB / 6.259 GB, free: 68.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/27.59, allocations: 2.305 MB / 6.261 GB, free: 68.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/27.61, allocations: 18.44 MB / 6.279 GB, free: 58.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02035/27.63, allocations: 1.034 MB / 6.28 GB, free: 58.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003814/27.64, allocations: 0.5428 MB / 6.28 GB, free: 58.04 MB / 0.9792 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.018/27.65, allocations: 5.749 MB / 6.286 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004147/27.66, allocations: 1.142 MB / 6.287 GB, free: 57.08 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03608/27.69, allocations: 11.52 MB / 6.298 GB, free: 56.46 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001903/27.69, allocations: 68.16 kB / 6.299 GB, free: 56.46 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.739e-05/27.69, allocations: 2.875 kB / 6.299 GB, free: 56.46 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03301/27.73, allocations: 9.546 MB / 6.308 GB, free: 55.83 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08085/27.81, allocations: 25.1 MB / 6.332 GB, free: 54.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/27.81, allocations: 9.094 kB / 6.332 GB, free: 54.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/27.82, allocations: 1.151 MB / 6.334 GB, free: 54.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1173/27.94, allocations: 6.403 MB / 6.34 GB, free: 53.89 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002091/27.94, allocations: 190.4 kB / 6.34 GB, free: 53.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02595/27.96, allocations: 17.82 MB / 6.357 GB, free: 41.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-05/27.96, allocations: 19.16 kB / 6.357 GB, free: 41.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05631/28.02, allocations: 17.4 MB / 6.374 GB, free: 39.63 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01135/28.03, allocations: 2.562 MB / 6.377 GB, free: 38.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005955/28.04, allocations: 155.7 kB / 6.377 GB, free: 38.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01614/28.05, allocations: 0.7445 MB / 6.378 GB, free: 38.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00223/28.06, allocations: 440.8 kB / 6.378 GB, free: 38.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001829/28.06, allocations: 240.2 kB / 6.378 GB, free: 38.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02467/28.08, allocations: 8.498 MB / 6.387 GB, free: 38.49 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.254e-06/28.08, allocations: 0 / 6.387 GB, free: 38.49 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.04046/28.12, allocations: 7.71 MB / 6.394 GB, free: 37.47 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * 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 (558): * Single equations (assignments): 534 * 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.006365/28.13, allocations: 2.064 MB / 6.396 GB, free: 36.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06285/28.19, allocations: 21.95 MB / 6.418 GB, free: 31.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/28.19, allocations: 7.312 kB / 6.418 GB, free: 31.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01634/28.21, allocations: 5.379 MB / 6.423 GB, free: 29.67 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05488/28.26, allocations: 6.196 MB / 6.429 GB, free: 28.34 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09033/28.35, allocations: 36.85 MB / 6.465 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02603/28.38, allocations: 10.12 MB / 6.475 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03823/28.42, allocations: 5.949 MB / 6.481 GB, free: 4.441 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006342/28.43, allocations: 0.8435 MB / 6.481 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/28.43, allocations: 4 kB / 6.481 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of Templates: time 2.468/30.89, allocations: 264.2 MB / 6.739 GB, free: 79.21 MB / 1.011 GB