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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01171/0.01171, allocations: 108.3 kB / 15.05 MB, free: 5.934 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.001278/0.001277, allocations: 179.6 kB / 15.94 MB, free: 5.898 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 2.066/2.066, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.261/2.261, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.000489, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7144, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.94, allocations: 404.7 MB / 1.079 GB, free: 44.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/1.94, allocations: 95.64 kB / 1.079 GB, free: 44.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 24.56/26.5, allocations: 4.449 GB / 5.528 GB, free: 51.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.456e-06/26.5, allocations: 0 / 5.528 GB, free: 51.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002871/26.51, allocations: 401.6 kB / 5.528 GB, free: 50.98 MB / 0.948 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.07716/26.58, allocations: 16.31 MB / 5.544 GB, free: 34.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/26.58, allocations: 12.03 kB / 5.544 GB, free: 34.56 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009299/26.59, allocations: 1.704 MB / 5.546 GB, free: 32.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/26.61, allocations: 1.876 MB / 5.548 GB, free: 30.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06454/26.67, allocations: 17.72 MB / 5.565 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001577/26.67, allocations: 0.9755 MB / 5.566 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006936/26.68, allocations: 1.301 MB / 5.567 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9152/27.59, allocations: 18.09 MB / 5.585 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001198/27.6, allocations: 38.78 kB / 5.585 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006044/27.6, allocations: 0.5309 MB / 5.585 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006702/27.6, allocations: 355.8 kB / 5.586 GB, free: 57.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05728/27.66, allocations: 15.61 MB / 5.601 GB, free: 57.62 MB / 0.948 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.2034/27.86, allocations: 80.58 MB / 5.68 GB, free: 41.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03129/27.89, allocations: 11.92 MB / 5.691 GB, free: 40.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09597/27.99, allocations: 28.04 MB / 5.719 GB, free: 34.56 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/27.99, allocations: 119.1 kB / 5.719 GB, free: 34.51 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01063/28, allocations: 0.7726 MB / 5.719 GB, free: 34.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=657): time 3.399e-05/28, allocations: 0 / 5.719 GB, free: 34.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=657): time 0.07281/28.07, allocations: 18.01 MB / 5.737 GB, free: 31.71 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/28.07, allocations: 121.5 kB / 5.737 GB, free: 31.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0386/28.11, allocations: 11.99 MB / 5.749 GB, free: 46.99 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002751/28.12, allocations: 185.5 kB / 5.749 GB, free: 46.96 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/28.13, allocations: 7.099 MB / 5.756 GB, free: 44.36 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004594/28.13, allocations: 2.311 MB / 5.758 GB, free: 42.91 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003478/28.13, allocations: 233.1 kB / 5.758 GB, free: 42.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.00151/28.14, allocations: 0.7754 MB / 5.759 GB, free: 42.58 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01669/28.15, allocations: 5.695 MB / 5.765 GB, free: 42.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02054/28.17, allocations: 9.582 MB / 5.774 GB, free: 37.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02083/28.19, allocations: 7.595 MB / 5.782 GB, free: 37.88 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/28.19, allocations: 37.69 kB / 5.782 GB, free: 37.88 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.0601/28.25, allocations: 18.47 MB / 5.8 GB, free: 36.92 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.02937/28.28, allocations: 68.54 MB / 5.867 GB, free: 29.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005446/28.28, allocations: 118.7 kB / 5.867 GB, free: 29.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1882/28.47, allocations: 11.86 MB / 5.878 GB, free: 29.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01874/28.49, allocations: 2.404 MB / 5.881 GB, free: 29.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02877/28.52, allocations: 20.32 MB / 5.9 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02187/28.54, allocations: 1.101 MB / 5.902 GB, free: 15.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00375/28.55, allocations: 0.538 MB / 5.902 GB, free: 15.16 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/28.55, allocations: 3 kB / 5.902 GB, free: 15.16 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05264/28.6, allocations: 17.45 MB / 5.919 GB, free: 8.637 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005018/28.6, allocations: 123.3 kB / 5.919 GB, free: 8.637 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1884/28.79, allocations: 11.86 MB / 5.931 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01897/28.81, allocations: 2.382 MB / 5.933 GB, free: 6.785 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/28.85, allocations: 18.52 MB / 5.951 GB, free: 9.094 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02771/28.87, allocations: 1.048 MB / 5.952 GB, free: 8.801 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004429/28.88, allocations: 0.5392 MB / 5.953 GB, free: 8.711 MB / 1.057 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.02186/28.9, allocations: 5.753 MB / 5.958 GB, free: 6.078 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005877/28.91, allocations: 1.147 MB / 5.96 GB, free: 5.465 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04339/28.95, allocations: 11.47 MB / 5.971 GB, free: 0.8594 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/28.95, allocations: 72.31 kB / 5.971 GB, free: 0.8594 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/28.95, allocations: 7.594 kB / 5.971 GB, free: 0.8555 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9495/29.9, allocations: 9.673 MB / 5.98 GB, free: 164.9 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09412/29.99, allocations: 25.5 MB / 6.005 GB, free: 163.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.253e-05/29.99, allocations: 13.28 kB / 6.005 GB, free: 163.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01132/30, allocations: 1.128 MB / 6.006 GB, free: 163.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09727/30.1, allocations: 6.418 MB / 6.013 GB, free: 163.5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001991/30.1, allocations: 185.8 kB / 6.013 GB, free: 163.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/30.12, allocations: 17.89 MB / 6.03 GB, free: 151.6 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.639e-05/30.12, allocations: 17.41 kB / 6.03 GB, free: 151.6 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04993/30.17, allocations: 21.09 MB / 6.051 GB, free: 146.4 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0125/30.19, allocations: 2.694 MB / 6.053 GB, free: 146.1 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00555/30.19, allocations: 168.4 kB / 6.054 GB, free: 146.1 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01688/30.21, allocations: 0.7521 MB / 6.054 GB, free: 146.1 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002536/30.21, allocations: 448.5 kB / 6.055 GB, free: 146.1 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001276/30.21, allocations: 241.1 kB / 6.055 GB, free: 146.1 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02753/30.24, allocations: 9.161 MB / 6.064 GB, free: 145.7 MB / 1.057 GB Notification: Performance of sort global known variables: time 9.52e-07/30.24, allocations: 1.859 kB / 6.064 GB, free: 145.7 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0445/30.28, allocations: 7.792 MB / 6.072 GB, free: 145.2 MB / 1.057 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 (567): * Single equations (assignments): 543 * 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.05604/30.34, allocations: 24.47 MB / 6.095 GB, free: 138 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.06984/30.41, allocations: 22.07 MB / 6.117 GB, free: 137 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.124e-05/30.41, allocations: 4.125 kB / 6.117 GB, free: 137 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01783/30.43, allocations: 5.42 MB / 6.122 GB, free: 136.6 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05228/30.48, allocations: 6.086 MB / 6.128 GB, free: 136.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/30.63, allocations: 133.7 MB / 6.259 GB, free: 29.69 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02629/30.66, allocations: 10.11 MB / 6.269 GB, free: 28.44 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03815/30.7, allocations: 6.084 MB / 6.275 GB, free: 27.91 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01941/30.72, allocations: 6.237 MB / 6.281 GB, free: 27.89 MB / 1.057 GB Notification: Performance of SimCode: time 1.553e-06/30.72, allocations: 0 / 6.281 GB, free: 27.89 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.77/33.49, allocations: 392.9 MB / 6.664 GB, free: 57.62 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/33.49, allocations: 276 kB / 6.665 GB, free: 57.26 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/56.57, allocations: 4 kB / 6.665 GB, free: 57.25 MB / 1.057 GB