Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",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.01114/0.01114, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001239/0.001239, allocations: 181.8 kB / 15.95 MB, free: 5.52 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.101/2.101, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.421/2.421, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005027, allocations: 12 kB / 0.5871 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6832, allocations: 98.7 MB / 0.6835 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.1253/0.8085, allocations: 70.79 MB / 0.7526 GB, free: 7.465 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0508/0.8594, allocations: 21.71 MB / 0.7738 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/0.8649, allocations: 99.31 kB / 0.7739 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00832/0.8733, allocations: 1.606 MB / 0.7755 GB, free: 12 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.8916, allocations: 3.872 MB / 0.7792 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01823/0.9099, allocations: 3.756 MB / 0.7829 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01532/0.9253, allocations: 4.941 MB / 0.7877 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005454/0.9308, allocations: 2.101 MB / 0.7898 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/0.9378, allocations: 2.141 MB / 0.7919 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/0.9424, allocations: 1.587 MB / 0.7934 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.9437, allocations: 144 kB / 0.7936 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.9549, allocations: 2.415 MB / 0.7959 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.9572, allocations: 0.5642 MB / 0.7965 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002664/0.9599, allocations: 0.7031 MB / 0.7972 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.9756, allocations: 5.341 MB / 0.8024 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9757, allocations: 0 / 0.8024 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.462e-06/0.9757, allocations: 4 kB / 0.8024 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001936/0.9759, allocations: 4 kB / 0.8024 GB, free: 4.344 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01469/0.9906, allocations: 3.285 MB / 0.8056 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.9907, allocations: 8.031 kB / 0.8056 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009974/0.9917, allocations: 295.3 kB / 0.8059 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.9933, allocations: 371.8 kB / 0.8062 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00801/1.001, allocations: 2.375 MB / 0.8086 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.002, allocations: 160.1 kB / 0.8087 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/1.002, allocations: 220 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006387/1.009, allocations: 2.151 MB / 0.811 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.315e-05/1.009, allocations: 11.89 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/1.009, allocations: 84 kB / 0.8111 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/1.009, allocations: 52 kB / 0.8112 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/1.015, allocations: 1.655 MB / 0.8128 GB, free: 9.402 MB / 0.6355 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.02315/1.038, allocations: 9.347 MB / 0.8219 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/1.041, allocations: 1.153 MB / 0.823 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/1.045, allocations: 2.918 MB / 0.8259 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.409e-05/1.045, allocations: 47.88 kB / 0.8259 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=145): time 5.149e-06/1.045, allocations: 0 / 0.8259 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=145): time 0.009429/1.054, allocations: 2.681 MB / 0.8285 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.054, allocations: 90.42 kB / 0.8286 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/1.06, allocations: 2.321 MB / 0.8309 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/1.06, allocations: 53.7 kB / 0.8309 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.062, allocations: 1.204 MB / 0.8321 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008742/1.063, allocations: 0.5044 MB / 0.8326 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.063, allocations: 47.94 kB / 0.8327 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.063, allocations: 377.8 kB / 0.833 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.065, allocations: 0.5544 MB / 0.8336 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.067, allocations: 0.9256 MB / 0.8345 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.069, allocations: 0.7049 MB / 0.8352 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.069, allocations: 0 / 0.8352 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006966/1.076, allocations: 2.093 MB / 0.8372 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001058/1.077, allocations: 2.716 MB / 0.8398 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.853e-05/1.077, allocations: 15.98 kB / 0.8399 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.079, allocations: 264.9 kB / 0.8401 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.082, allocations: 375.5 kB / 0.8405 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007405/1.089, allocations: 7.091 MB / 0.8474 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.093, allocations: 313.9 kB / 0.8477 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/1.094, allocations: 75.98 kB / 0.8478 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/1.094, allocations: 5.25 kB / 0.8478 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005553/1.099, allocations: 1.793 MB / 0.8495 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.143e-05/1.1, allocations: 8 kB / 0.8495 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008788/1.1, allocations: 217.5 kB / 0.8497 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.103, allocations: 379.5 kB / 0.8501 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/1.113, allocations: 9.154 MB / 0.859 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/1.118, allocations: 290.1 kB / 0.8593 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005491/1.119, allocations: 79.92 kB / 0.8594 GB, free: 6.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002731/1.122, allocations: 0.6412 MB / 0.86 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.123, allocations: 256.9 kB / 0.8603 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/1.132, allocations: 1.988 MB / 0.8622 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-05/1.132, allocations: 16 kB / 0.8622 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.132, allocations: 7.984 kB / 0.8622 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006571/1.139, allocations: 1.623 MB / 0.8638 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.156, allocations: 4.317 MB / 0.868 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.156, allocations: 0 / 0.868 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.159, allocations: 267.7 kB / 0.8683 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009183/1.16, allocations: 217 kB / 0.8685 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/1.16, allocations: 43.92 kB / 0.8685 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/1.167, allocations: 7.084 MB / 0.8755 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.167, allocations: 3.938 kB / 0.8755 GB, free: 5.281 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/1.175, allocations: 2.589 MB / 0.878 GB, free: 2.648 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/1.177, allocations: 0.6104 MB / 0.8786 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/1.177, allocations: 28 kB / 0.8786 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.179, allocations: 139.7 kB / 0.8787 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.18, allocations: 105.2 kB / 0.8788 GB, free: 1.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.18, allocations: 55.97 kB / 0.8789 GB, free: 1.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003674/1.184, allocations: 1.566 MB / 0.8804 GB, free: 124 kB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.184, allocations: 0 / 0.8804 GB, free: 124 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.007822/1.192, allocations: 1.887 MB / 0.8823 GB, free: 14.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (137): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/1.202, allocations: 4.186 MB / 0.8864 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008543/1.211, allocations: 3.695 MB / 0.89 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.211, allocations: 0 / 0.89 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/1.213, allocations: 1.206 MB / 0.8911 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/1.224, allocations: 1.308 MB / 0.8924 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.245, allocations: 12.03 MB / 0.9042 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.247, allocations: 1.794 MB / 0.9059 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00411/1.251, allocations: 0.5882 MB / 0.9065 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002779/1.254, allocations: 1.14 MB / 0.9076 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of SimCode: time 1.704e-06/1.254, allocations: 0 / 0.9076 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7779/2.032, allocations: 84.09 MB / 0.9897 GB, free: 145.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/2.032, allocations: 313.2 kB / 0.99 GB, free: 145.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/8.672, allocations: 0 / 0.99 GB, free: 145.5 MB / 0.7292 GB