Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.01587/0.01587, allocations: 107.8 kB / 15.05 MB, free: 5.93 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.002013/0.002014, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.14/2.14, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.206/2.206, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004675, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6788, allocations: 98.7 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/2.03, allocations: 405.8 MB / 1.08 GB, free: 43.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/2.031, allocations: 112.2 kB / 1.08 GB, free: 43.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.955/4.986, allocations: 0.5353 GB / 1.615 GB, free: 176.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.034e-06/4.986, allocations: 0 / 1.615 GB, free: 176.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001569/4.986, allocations: 40 kB / 1.615 GB, free: 176.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005042/4.991, allocations: 1.634 MB / 1.617 GB, free: 176.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/4.991, allocations: 11.12 kB / 1.617 GB, free: 176.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003268/4.992, allocations: 134.4 kB / 1.617 GB, free: 176 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/4.992, allocations: 150.3 kB / 1.617 GB, free: 176 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/4.996, allocations: 1.404 MB / 1.618 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/4.996, allocations: 66.75 kB / 1.618 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/4.997, allocations: 90.53 kB / 1.619 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/4.999, allocations: 0.8647 MB / 1.619 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/4.999, allocations: 0 / 1.619 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/4.999, allocations: 35.25 kB / 1.619 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/4.999, allocations: 27.78 kB / 1.619 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/5.001, allocations: 0.621 MB / 1.62 GB, free: 175.5 MB / 0.823 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.007591/5.008, allocations: 4.289 MB / 1.624 GB, free: 173.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/5.01, allocations: 0.53 MB / 1.625 GB, free: 173.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/5.01, allocations: 0.6012 MB / 1.625 GB, free: 172.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/5.01, allocations: 45.41 kB / 1.625 GB, free: 172.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 4.779e-06/5.011, allocations: 0 / 1.625 GB, free: 172.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.003693/5.014, allocations: 1.233 MB / 1.627 GB, free: 172.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/5.014, allocations: 57.06 kB / 1.627 GB, free: 172.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/5.016, allocations: 0.8034 MB / 1.627 GB, free: 171.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/5.016, allocations: 38.3 kB / 1.627 GB, free: 171.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/5.017, allocations: 0.5218 MB / 1.628 GB, free: 171.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/5.017, allocations: 195.4 kB / 1.628 GB, free: 171.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/5.017, allocations: 14.25 kB / 1.628 GB, free: 171.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/5.017, allocations: 332.9 kB / 1.629 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004919/5.018, allocations: 193.5 kB / 1.629 GB, free: 171.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/5.018, allocations: 395.8 kB / 1.629 GB, free: 171 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/5.019, allocations: 256.5 kB / 1.629 GB, free: 171 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/5.019, allocations: 0 / 1.629 GB, free: 171 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002161/5.021, allocations: 0.7977 MB / 1.63 GB, free: 170.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003393/5.022, allocations: 1.32 MB / 1.631 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/5.022, allocations: 3.375 kB / 1.631 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/5.022, allocations: 146 kB / 1.632 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/5.023, allocations: 128.1 kB / 1.632 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/5.027, allocations: 4.987 MB / 1.637 GB, free: 165 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/5.029, allocations: 112.9 kB / 1.637 GB, free: 164.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/5.029, allocations: 38.66 kB / 1.637 GB, free: 164.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/5.029, allocations: 3.688 kB / 1.637 GB, free: 164.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/5.031, allocations: 0.674 MB / 1.637 GB, free: 164.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/5.031, allocations: 3.719 kB / 1.637 GB, free: 164.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/5.031, allocations: 132 kB / 1.637 GB, free: 164.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/5.032, allocations: 123.3 kB / 1.638 GB, free: 164.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/5.037, allocations: 5.94 MB / 1.643 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/5.038, allocations: 107 kB / 1.643 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/5.038, allocations: 32.39 kB / 1.644 GB, free: 159.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (70): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008222/5.039, allocations: 367.7 kB / 1.644 GB, free: 159.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/5.039, allocations: 100.2 kB / 1.644 GB, free: 159.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/5.041, allocations: 0.7205 MB / 1.645 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/5.041, allocations: 7.75 kB / 1.645 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/5.041, allocations: 2.688 kB / 1.645 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/5.043, allocations: 0.6596 MB / 1.645 GB, free: 158.9 MB / 0.823 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 postOpt removeSimpleEquations (simulation): time 0.003908/5.047, allocations: 1.794 MB / 1.647 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/5.047, allocations: 7.109 kB / 1.647 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/5.047, allocations: 85.52 kB / 1.647 GB, free: 158.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/5.048, allocations: 124 kB / 1.647 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/5.048, allocations: 17.12 kB / 1.647 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/5.052, allocations: 4.98 MB / 1.652 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.052, allocations: 0 / 1.652 GB, free: 153.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/5.054, allocations: 1.06 MB / 1.653 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/5.055, allocations: 260.4 kB / 1.653 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/5.055, allocations: 13.28 kB / 1.653 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/5.056, allocations: 60.44 kB / 1.654 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/5.056, allocations: 49.16 kB / 1.654 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/5.056, allocations: 22.56 kB / 1.654 GB, free: 153.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001154/5.057, allocations: 0.6244 MB / 1.654 GB, free: 153.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.6e-07/5.057, allocations: 0 / 1.654 GB, free: 153.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003427/5.061, allocations: 0.7744 MB / 1.655 GB, free: 153.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.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 (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003921/5.065, allocations: 2.27 MB / 1.657 GB, free: 152.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00311/5.068, allocations: 1.745 MB / 1.659 GB, free: 151.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/5.068, allocations: 3.062 kB / 1.659 GB, free: 151.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/5.069, allocations: 0.6164 MB / 1.659 GB, free: 151 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/5.073, allocations: 0.5627 MB / 1.66 GB, free: 151 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/5.08, allocations: 5.227 MB / 1.665 GB, free: 147.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/5.08, allocations: 1.117 MB / 1.666 GB, free: 146.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001453/5.082, allocations: 206 kB / 1.666 GB, free: 146.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007341/5.083, allocations: 426.1 kB / 1.667 GB, free: 146.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/5.083, allocations: 3.281 kB / 1.667 GB, free: 146.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1459/5.229, allocations: 35.51 MB / 1.701 GB, free: 142.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/5.229, allocations: 297.4 kB / 1.702 GB, free: 141.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.093/9.322, allocations: 0 / 1.702 GB, free: 141.9 MB / 0.823 GB