Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01438/0.01438, allocations: 90.02 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001793/0.001793, allocations: 169.4 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.236/2.236, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.446/2.446, allocations: 252.9 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006719/0.0006725, allocations: 15.09 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2349, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.8822/1.117, allocations: 126.9 MB / 0.852 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.07707/1.194, allocations: 38.07 MB / 0.8892 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009242/1.204, allocations: 165.8 kB / 0.8893 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.01593/1.22, allocations: 2.188 MB / 0.8915 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.04052/1.26, allocations: 5.613 MB / 0.8969 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.03039/1.291, allocations: 3.99 MB / 0.9008 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.05994/1.351, allocations: 23.47 MB / 0.9238 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04258/1.393, allocations: 15.29 MB / 0.9387 GB, free: 20.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02875/1.422, allocations: 9.838 MB / 0.9483 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02531/1.447, allocations: 8.254 MB / 0.9564 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.005897/1.453, allocations: 0.7344 MB / 0.9571 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/1.473, allocations: 2.368 MB / 0.9594 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.008555/1.481, allocations: 3.008 MB / 0.9623 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01609/1.497, allocations: 3.943 MB / 0.9662 GB, free: 15.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04564/1.543, allocations: 24.87 MB / 0.9905 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.543, allocations: 0 / 0.9905 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.506e-06/1.543, allocations: 0 / 0.9905 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00115/1.544, allocations: 0 / 0.9905 GB, free: 6.68 MB / 0.7136 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.06349/1.608, allocations: 15.78 MB / 1.006 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.608, allocations: 12.03 kB / 1.006 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008017/1.616, allocations: 1.7 MB / 1.008 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/1.628, allocations: 1.92 MB / 1.009 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06207/1.69, allocations: 13.72 MB / 1.023 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002209/1.693, allocations: 0.9738 MB / 1.024 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008319/1.701, allocations: 1.301 MB / 1.025 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07406/1.775, allocations: 18.9 MB / 1.044 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008397/1.776, allocations: 47.59 kB / 1.044 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004882/1.781, allocations: 0.5234 MB / 1.044 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005208/1.781, allocations: 347.9 kB / 1.044 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05696/1.838, allocations: 16.55 MB / 1.061 GB, free: 14.01 MB / 0.7917 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.2365/2.075, allocations: 85.75 MB / 1.144 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03969/2.115, allocations: 12.34 MB / 1.156 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09913/2.214, allocations: 28.57 MB / 1.184 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/2.214, allocations: 124.3 kB / 1.184 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009127/2.223, allocations: 0.7752 MB / 1.185 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=660): time 2.342e-05/2.223, allocations: 0 / 1.185 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of matching and sorting (n=660): time 1.43/3.653, allocations: 17.88 MB / 1.203 GB, free: 320.4 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/3.654, allocations: 120.6 kB / 1.203 GB, free: 320.3 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04234/3.696, allocations: 13.44 MB / 1.216 GB, free: 315.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.002256/3.698, allocations: 182.3 kB / 1.216 GB, free: 315.7 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.01005/3.708, allocations: 7.2 MB / 1.223 GB, free: 310.9 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.004368/3.713, allocations: 2.321 MB / 1.225 GB, free: 309.2 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002501/3.715, allocations: 230.9 kB / 1.226 GB, free: 309 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.001204/3.717, allocations: 0.7805 MB / 1.226 GB, free: 308.5 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01827/3.735, allocations: 5.762 MB / 1.232 GB, free: 306.4 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02031/3.755, allocations: 9.671 MB / 1.241 GB, free: 299.4 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02134/3.777, allocations: 7.669 MB / 1.249 GB, free: 296.2 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/3.777, allocations: 35 kB / 1.249 GB, free: 296.2 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1485) (initialization): time 0.06341/3.84, allocations: 18.78 MB / 1.267 GB, free: 286.3 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.01621/3.857, allocations: 70.05 MB / 1.336 GB, free: 212 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005225/3.857, allocations: 123.5 kB / 1.336 GB, free: 212 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2184/4.076, allocations: 11.93 MB / 1.347 GB, free: 201.4 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02893/4.105, allocations: 2.466 MB / 1.35 GB, free: 198.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/4.132, allocations: 20.4 MB / 1.37 GB, free: 177.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02098/4.153, allocations: 1.122 MB / 1.371 GB, free: 176.6 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003206/4.156, allocations: 0.5467 MB / 1.371 GB, free: 176.1 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/4.156, allocations: 4 kB / 1.371 GB, free: 176.1 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.053/4.209, allocations: 17.77 MB / 1.389 GB, free: 158.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004809/4.209, allocations: 124 kB / 1.389 GB, free: 158.1 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2135/4.423, allocations: 11.95 MB / 1.401 GB, free: 146.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02358/4.447, allocations: 2.414 MB / 1.403 GB, free: 143.7 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02552/4.472, allocations: 18.61 MB / 1.421 GB, free: 124.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0192/4.491, allocations: 1.068 MB / 1.422 GB, free: 123.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003207/4.495, allocations: 0.5448 MB / 1.423 GB, free: 122.8 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * 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 (1251): * Single equations (assignments): 1233 * 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.01603/4.511, allocations: 5.775 MB / 1.428 GB, free: 117 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005335/4.516, allocations: 1.161 MB / 1.429 GB, free: 115.8 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.041/4.557, allocations: 11.67 MB / 1.441 GB, free: 104 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001402/4.557, allocations: 64 kB / 1.441 GB, free: 104 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-05/4.557, allocations: 7.953 kB / 1.441 GB, free: 104 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04147/4.599, allocations: 9.661 MB / 1.45 GB, free: 94.15 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1115/4.71, allocations: 25.94 MB / 1.476 GB, free: 68.02 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001571/4.711, allocations: 12 kB / 1.476 GB, free: 68 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01492/4.726, allocations: 1.141 MB / 1.477 GB, free: 66.86 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1239/4.85, allocations: 6.461 MB / 1.483 GB, free: 60.36 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00216/4.852, allocations: 191.9 kB / 1.483 GB, free: 60.17 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03038/4.882, allocations: 17.97 MB / 1.501 GB, free: 41.43 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-05/4.882, allocations: 15.94 kB / 1.501 GB, free: 41.41 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06856/4.951, allocations: 21.31 MB / 1.522 GB, free: 19.37 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01593/4.967, allocations: 2.847 MB / 1.524 GB, free: 16.49 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007425/4.974, allocations: 165.4 kB / 1.525 GB, free: 16.33 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02381/4.998, allocations: 0.7662 MB / 1.525 GB, free: 15.57 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003043/5.001, allocations: 444.3 kB / 1.526 GB, free: 15.13 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002765/5.004, allocations: 283.8 kB / 1.526 GB, free: 14.85 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.03665/5.041, allocations: 9.25 MB / 1.535 GB, free: 5.648 MB / 0.9168 GB Notification: Performance of sort global known variables: time 1.172e-06/5.041, allocations: 0 / 1.535 GB, free: 5.648 MB / 0.9168 GB Notification: Performance of remove unused functions: time 1.419/6.46, allocations: 7.683 MB / 1.543 GB, free: 297.5 MB / 0.9169 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.06333/6.523, allocations: 23.59 MB / 1.566 GB, free: 289 MB / 0.9169 GB Notification: Performance of simCode: created initialization part: time 0.07048/6.594, allocations: 22.32 MB / 1.587 GB, free: 281 MB / 0.9169 GB Notification: Performance of simCode: created event and clocks part: time 2.598e-05/6.594, allocations: 7.031 kB / 1.587 GB, free: 281 MB / 0.9169 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/6.611, allocations: 5.477 MB / 1.593 GB, free: 278.9 MB / 0.9169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0479/6.659, allocations: 6.085 MB / 1.599 GB, free: 277.7 MB / 0.9169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/6.796, allocations: 135.7 MB / 1.731 GB, free: 150.8 MB / 0.9169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02136/6.817, allocations: 10.16 MB / 1.741 GB, free: 140.6 MB / 0.9169 GB Notification: Performance of simCode: alias equations: time 0.03592/6.853, allocations: 6.157 MB / 1.747 GB, free: 134.4 MB / 0.9169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02199/6.875, allocations: 6.216 MB / 1.753 GB, free: 128.2 MB / 0.9169 GB Notification: Performance of SimCode: time 1.843e-06/6.875, allocations: 0 / 1.753 GB, free: 128.2 MB / 0.9169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.584/8.459, allocations: 383.5 MB / 2.128 GB, free: 104 MB / 0.9325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/8.459, allocations: 278.7 kB / 2.128 GB, free: 103.6 MB / 0.9325 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.86/32.32, allocations: 3.75 kB / 2.128 GB, free: 103.6 MB / 0.9325 GB