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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.168/4.168, allocations: 433.2 MB / 440.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.518e-05, allocations: 4.469 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3022, allocations: 98.73 MB / 0.6289 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.548, allocations: 404 MB / 1.023 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/1.549, allocations: 90.08 kB / 1.023 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 26.12/27.67, allocations: 4.414 GB / 5.438 GB, free: 50.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.566e-06/27.67, allocations: 0 / 5.438 GB, free: 50.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003809/27.68, allocations: 396.1 kB / 5.438 GB, free: 50.68 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.06944/27.75, allocations: 13.61 MB / 5.452 GB, free: 46.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/27.75, allocations: 10.59 kB / 5.452 GB, free: 46.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/27.76, allocations: 1.864 MB / 5.453 GB, free: 45.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06728/27.83, allocations: 17.64 MB / 5.471 GB, free: 43.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/27.83, allocations: 402 kB / 5.471 GB, free: 43.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007124/27.84, allocations: 0.7705 MB / 5.472 GB, free: 43.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04943/27.89, allocations: 14.46 MB / 5.486 GB, free: 43.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06484/27.95, allocations: 15.95 MB / 5.501 GB, free: 41.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001309/27.95, allocations: 42.97 kB / 5.501 GB, free: 41.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006094/27.96, allocations: 28 kB / 5.502 GB, free: 41.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004764/27.96, allocations: 351.1 kB / 5.502 GB, free: 41.29 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.1906/28.15, allocations: 78.29 MB / 5.578 GB, free: 23.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02958/28.18, allocations: 11.25 MB / 5.589 GB, free: 23.78 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01513/28.2, allocations: 5.795 MB / 5.595 GB, free: 23.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1014/28.3, allocations: 28.05 MB / 5.622 GB, free: 33.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/28.3, allocations: 120.1 kB / 5.622 GB, free: 33.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01079/28.31, allocations: 0.5478 MB / 5.623 GB, free: 32.62 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=648): time 6.848e-05/28.31, allocations: 0 / 5.623 GB, free: 32.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=648): time 0.04167/28.35, allocations: 10.45 MB / 5.633 GB, free: 31.68 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/28.35, allocations: 119.3 kB / 5.633 GB, free: 31.61 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03398/28.38, allocations: 10.68 MB / 5.644 GB, free: 30.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002666/28.39, allocations: 33.08 kB / 5.644 GB, free: 30.86 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0108/28.4, allocations: 7.068 MB / 5.651 GB, free: 27.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004781/28.4, allocations: 2.198 MB / 5.653 GB, free: 26.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002888/28.41, allocations: 2.406 kB / 5.653 GB, free: 26.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.001555/28.41, allocations: 0.7709 MB / 5.654 GB, free: 26.17 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01547/28.42, allocations: 5.354 MB / 5.659 GB, free: 26.15 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01951/28.44, allocations: 9.16 MB / 5.668 GB, free: 21.59 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03569/28.48, allocations: 9.465 MB / 5.677 GB, free: 21.49 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002518/28.48, allocations: 33.5 kB / 5.677 GB, free: 21.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07228/28.55, allocations: 19.06 MB / 5.696 GB, free: 20.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.02684/28.58, allocations: 66.68 MB / 5.761 GB, free: 14.98 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005978/28.58, allocations: 121.9 kB / 5.761 GB, free: 14.98 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/28.6, allocations: 4.043 MB / 5.765 GB, free: 14.78 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/28.62, allocations: 2.4 MB / 5.767 GB, free: 14.78 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03184/28.65, allocations: 20.62 MB / 5.787 GB, free: 1.449 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02243/28.67, allocations: 0.8709 MB / 5.788 GB, free: 1.312 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004054/28.68, allocations: 0.544 MB / 5.789 GB, free: 1.219 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/28.68, allocations: 3.781 kB / 5.789 GB, free: 1.219 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9949/29.67, allocations: 18.16 MB / 5.806 GB, free: 132.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006751/29.67, allocations: 119.6 kB / 5.807 GB, free: 132.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02264/29.7, allocations: 4.054 MB / 5.81 GB, free: 132.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/29.71, allocations: 2.379 MB / 5.813 GB, free: 132.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0285/29.74, allocations: 18.83 MB / 5.831 GB, free: 122.1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02027/29.76, allocations: 0.8194 MB / 5.832 GB, free: 122.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003981/29.77, allocations: 0.5364 MB / 5.833 GB, free: 122.1 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.0055/29.77, allocations: 449.5 kB / 5.833 GB, free: 122 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03914/29.81, allocations: 10.41 MB / 5.843 GB, free: 121.7 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006027/29.82, allocations: 1.081 MB / 5.844 GB, free: 121.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04469/29.86, allocations: 11.55 MB / 5.855 GB, free: 120.8 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001637/29.86, allocations: 71.22 kB / 5.856 GB, free: 120.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.343e-05/29.86, allocations: 3.531 kB / 5.856 GB, free: 120.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03468/29.9, allocations: 9.775 MB / 5.865 GB, free: 120.2 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1066/30, allocations: 23.96 MB / 5.888 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/30, allocations: 12.25 kB / 5.888 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01652/30.02, allocations: 1.115 MB / 5.89 GB, free: 119 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02014/30.04, allocations: 2.478 MB / 5.892 GB, free: 118.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002422/30.04, allocations: 92.98 kB / 5.892 GB, free: 118.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03369/30.08, allocations: 17.94 MB / 5.91 GB, free: 107 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-05/30.08, allocations: 18.06 kB / 5.91 GB, free: 107 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07829/30.16, allocations: 20.7 MB / 5.93 GB, free: 101.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01659/30.17, allocations: 2.621 MB / 5.932 GB, free: 100.8 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006165/30.18, allocations: 49.11 kB / 5.932 GB, free: 100.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01635/30.19, allocations: 0.632 MB / 5.933 GB, free: 100.7 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002382/30.2, allocations: 441 kB / 5.933 GB, free: 100.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001998/30.2, allocations: 240.1 kB / 5.934 GB, free: 100.7 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02307/30.22, allocations: 7.964 MB / 5.941 GB, free: 100.4 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.192e-06/30.22, allocations: 3.344 kB / 5.941 GB, free: 100.4 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0477/30.27, allocations: 7.428 MB / 5.949 GB, free: 99.86 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.05758/30.33, allocations: 24.16 MB / 5.972 GB, free: 92.61 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05777/30.39, allocations: 20.58 MB / 5.992 GB, free: 91.7 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.172e-05/30.39, allocations: 7.406 kB / 5.992 GB, free: 91.7 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01429/30.4, allocations: 4.964 MB / 5.997 GB, free: 91.33 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04608/30.45, allocations: 5.321 MB / 6.002 GB, free: 91.29 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/30.56, allocations: 31.2 MB / 6.033 GB, free: 85.95 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02397/30.58, allocations: 10.13 MB / 6.043 GB, free: 84.86 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.05091/30.63, allocations: 8.324 MB / 6.051 GB, free: 84.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02558/30.66, allocations: 6.04 MB / 6.057 GB, free: 84.49 MB / 1.042 GB Notification: Performance of SimCode: time 3.998e-06/30.66, allocations: 0 / 6.057 GB, free: 84.49 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.845/32.5, allocations: 363.8 MB / 6.412 GB, free: 90.13 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/32.5, allocations: 192 kB / 6.412 GB, free: 89.94 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/55.65, allocations: 3.906 kB / 6.412 GB, free: 89.93 MB / 1.042 GB