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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.12/4.12, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.26e-05/4.288e-05, allocations: 3.312 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 98.73 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.521, allocations: 404.6 MB / 1.03 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.521, allocations: 90 kB / 1.03 GB, free: 1.898 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 26.21/27.73, allocations: 4.436 GB / 5.466 GB, free: 47.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.948e-06/27.73, allocations: 5.5 kB / 5.466 GB, free: 47.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.004016/27.74, allocations: 398.1 kB / 5.467 GB, free: 47.54 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.0707/27.81, allocations: 13.61 MB / 5.48 GB, free: 42.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/27.81, allocations: 9.688 kB / 5.48 GB, free: 42.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01047/27.82, allocations: 1.683 MB / 5.482 GB, free: 42.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/27.83, allocations: 1.865 MB / 5.483 GB, free: 41.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07237/27.91, allocations: 17.65 MB / 5.501 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001973/27.91, allocations: 0.9752 MB / 5.502 GB, free: 40.15 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008282/27.92, allocations: 1.304 MB / 5.503 GB, free: 40.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07325/27.99, allocations: 17.87 MB / 5.52 GB, free: 37.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001339/27.99, allocations: 46 kB / 5.52 GB, free: 37.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006983/28, allocations: 0.53 MB / 5.521 GB, free: 37.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006155/28, allocations: 357.6 kB / 5.521 GB, free: 37.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05679/28.06, allocations: 15.32 MB / 5.536 GB, free: 37.84 MB / 0.948 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.2175/28.27, allocations: 80.59 MB / 5.615 GB, free: 20.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/28.31, allocations: 11.8 MB / 5.626 GB, free: 19.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01726/28.32, allocations: 6.009 MB / 5.632 GB, free: 19.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/28.43, allocations: 28.51 MB / 5.66 GB, free: 29.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/28.43, allocations: 116.8 kB / 5.66 GB, free: 29 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01186/28.44, allocations: 0.7723 MB / 5.661 GB, free: 28.51 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=648): time 4.059e-05/28.44, allocations: 0 / 5.661 GB, free: 28.51 MB / 0.9792 GB Notification: Performance of matching and sorting (n=648): time 0.03857/28.48, allocations: 10.13 MB / 5.671 GB, free: 27.54 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/28.48, allocations: 119.5 kB / 5.671 GB, free: 27.46 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0415/28.52, allocations: 11.88 MB / 5.683 GB, free: 26.65 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002905/28.53, allocations: 180.3 kB / 5.683 GB, free: 26.62 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/28.54, allocations: 7.108 MB / 5.69 GB, free: 23.83 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.005101/28.54, allocations: 2.284 MB / 5.692 GB, free: 22.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/28.55, allocations: 227.8 kB / 5.692 GB, free: 22.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001689/28.55, allocations: 0.7745 MB / 5.693 GB, free: 22.07 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01715/28.57, allocations: 5.575 MB / 5.698 GB, free: 22.05 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02163/28.59, allocations: 9.448 MB / 5.708 GB, free: 17.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.023/28.61, allocations: 7.501 MB / 5.715 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005659/28.61, allocations: 38.47 kB / 5.715 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.08089/28.69, allocations: 18.15 MB / 5.733 GB, free: 8.578 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.023/29.72, allocations: 68.54 MB / 5.8 GB, free: 130.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006185/29.72, allocations: 123.4 kB / 5.8 GB, free: 130.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1921/29.91, allocations: 11.87 MB / 5.811 GB, free: 130.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02007/29.93, allocations: 2.393 MB / 5.814 GB, free: 130.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/29.96, allocations: 20.17 MB / 5.833 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0241/29.98, allocations: 1.104 MB / 5.834 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004705/29.99, allocations: 0.5349 MB / 5.835 GB, free: 118.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/29.99, allocations: 7.281 kB / 5.835 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0594/30.05, allocations: 17.14 MB / 5.852 GB, free: 117.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006539/30.05, allocations: 123 kB / 5.852 GB, free: 117.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1851/30.23, allocations: 11.87 MB / 5.863 GB, free: 117.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01889/30.25, allocations: 2.376 MB / 5.866 GB, free: 117.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/30.28, allocations: 18.38 MB / 5.884 GB, free: 107.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02278/30.3, allocations: 1.043 MB / 5.885 GB, free: 107.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004624/30.31, allocations: 0.5378 MB / 5.885 GB, free: 107.6 MB / 1.042 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.007478/30.32, allocations: 0.7732 MB / 5.886 GB, free: 107.5 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006688/30.32, allocations: 1.138 MB / 5.887 GB, free: 107.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04674/30.37, allocations: 11.43 MB / 5.898 GB, free: 107 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001449/30.37, allocations: 66.44 kB / 5.898 GB, free: 107 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.712e-05/30.37, allocations: 3.844 kB / 5.898 GB, free: 107 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03428/30.4, allocations: 9.428 MB / 5.908 GB, free: 106.4 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09859/30.5, allocations: 25.22 MB / 5.932 GB, free: 105.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/30.5, allocations: 12.69 kB / 5.932 GB, free: 105.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01096/30.51, allocations: 1.127 MB / 5.933 GB, free: 105.1 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09504/30.61, allocations: 6.426 MB / 5.94 GB, free: 104.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002231/30.61, allocations: 190.1 kB / 5.94 GB, free: 104.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/30.63, allocations: 17.77 MB / 5.957 GB, free: 92.89 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-05/30.63, allocations: 19.41 kB / 5.957 GB, free: 92.89 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05327/30.69, allocations: 20.75 MB / 5.977 GB, free: 87.08 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01423/30.7, allocations: 2.676 MB / 5.98 GB, free: 86.37 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007094/30.71, allocations: 160.6 kB / 5.98 GB, free: 86.37 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01796/30.72, allocations: 0.7446 MB / 5.981 GB, free: 86.34 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002618/30.73, allocations: 442.7 kB / 5.981 GB, free: 86.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002407/30.73, allocations: 244.1 kB / 5.981 GB, free: 86.32 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0295/30.76, allocations: 9.038 MB / 5.99 GB, free: 85.95 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.91e-07/30.76, allocations: 2.781 kB / 5.99 GB, free: 85.95 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04914/30.81, allocations: 7.789 MB / 5.998 GB, free: 85.42 MB / 1.042 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 () * 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.06254/30.87, allocations: 24.1 MB / 6.021 GB, free: 78.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0696/30.94, allocations: 22 MB / 6.043 GB, free: 77.07 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.082e-05/30.94, allocations: 7.906 kB / 6.043 GB, free: 77.07 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/30.96, allocations: 5.301 MB / 6.048 GB, free: 76.56 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05219/31.01, allocations: 6.089 MB / 6.054 GB, free: 76.29 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1257/31.14, allocations: 32.12 MB / 6.085 GB, free: 69.89 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02891/31.17, allocations: 10.13 MB / 6.095 GB, free: 68.62 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.05732/31.22, allocations: 8.807 MB / 6.104 GB, free: 63.23 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02047/31.24, allocations: 6.049 MB / 6.11 GB, free: 62.61 MB / 1.042 GB Notification: Performance of SimCode: time 1.353e-06/31.24, allocations: 0 / 6.11 GB, free: 62.61 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.927/34.17, allocations: 411.7 MB / 6.512 GB, free: 6.613 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004001/34.17, allocations: 237.2 kB / 6.512 GB, free: 6.285 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.25/59.42, allocations: 4 kB / 6.512 GB, free: 6.281 MB / 1.057 GB