Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01029/0.01029, allocations: 89.22 kB / 15.04 MB, free: 5.578 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.001209/0.001209, allocations: 170.1 kB / 15.92 MB, free: 5.551 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.129/2.129, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.375/2.375, allocations: 252.8 MB / 0.511 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006557/0.0006558, allocations: 13.94 kB / 0.6243 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2566, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.05471/0.3114, allocations: 33.91 MB / 0.7612 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02222/0.3337, allocations: 10.59 MB / 0.7715 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3358, allocations: 47.69 kB / 0.7716 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.3388, allocations: 0.6257 MB / 0.7722 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.3473, allocations: 1.948 MB / 0.7741 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.3539, allocations: 1.422 MB / 0.7755 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006543/0.3604, allocations: 2.077 MB / 0.7775 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.363, allocations: 0.8602 MB / 0.7783 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/0.3669, allocations: 0.9341 MB / 0.7793 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.3691, allocations: 0.6416 MB / 0.7799 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.3694, allocations: 48 kB / 0.7799 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005081/0.3745, allocations: 1.112 MB / 0.781 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.3751, allocations: 223.1 kB / 0.7812 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007502/0.3759, allocations: 297.1 kB / 0.7815 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00512/0.381, allocations: 1.847 MB / 0.7833 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3811, allocations: 0 / 0.7833 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3811, allocations: 0 / 0.7833 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.133e-05/0.3811, allocations: 0 / 0.7833 GB, free: 15.36 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005219/0.3864, allocations: 1.483 MB / 0.7848 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.3865, allocations: 8.031 kB / 0.7848 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003516/0.3868, allocations: 131.3 kB / 0.7849 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.3876, allocations: 154.3 kB / 0.785 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.3912, allocations: 1.041 MB / 0.7861 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3914, allocations: 73.95 kB / 0.7861 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.3917, allocations: 92 kB / 0.7862 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.3948, allocations: 0.8856 MB / 0.7871 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.3949, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.3951, allocations: 36 kB / 0.7871 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/0.3952, allocations: 24 kB / 0.7871 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/0.3978, allocations: 0.6402 MB / 0.7878 GB, free: 10.66 MB / 0.6198 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.01036/0.4082, allocations: 4.301 MB / 0.792 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.4103, allocations: 0.5128 MB / 0.7925 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.4115, allocations: 0.5989 MB / 0.7931 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.4116, allocations: 47.05 kB / 0.7931 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 6.642e-06/0.4116, allocations: 3.984 kB / 0.7931 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.005601/0.4172, allocations: 1.238 MB / 0.7943 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.4173, allocations: 55.97 kB / 0.7944 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.4198, allocations: 0.9181 MB / 0.7953 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.42, allocations: 37.7 kB / 0.7953 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.4208, allocations: 0.5075 MB / 0.7958 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.4212, allocations: 209 kB / 0.796 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.4213, allocations: 16 kB / 0.796 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4215, allocations: 333.9 kB / 0.7963 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008206/0.4223, allocations: 209.9 kB / 0.7965 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.4234, allocations: 406.1 kB / 0.7969 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.4244, allocations: 263.1 kB / 0.7972 GB, free: 396 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.443e-06/0.4244, allocations: 0 / 0.7972 GB, free: 396 kB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003604/0.428, allocations: 0.847 MB / 0.798 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006862/0.4288, allocations: 1.314 MB / 0.7993 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.4288, allocations: 7.984 kB / 0.7993 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.4301, allocations: 159.3 kB / 0.7994 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4314, allocations: 135.8 kB / 0.7996 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.4386, allocations: 4.982 MB / 0.8044 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.4408, allocations: 123.3 kB / 0.8045 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.4409, allocations: 28 kB / 0.8046 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.441, allocations: 4 kB / 0.8046 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00288/0.4439, allocations: 0.7137 MB / 0.8053 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.4439, allocations: 8.062 kB / 0.8053 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/0.4446, allocations: 127.3 kB / 0.8054 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.4459, allocations: 139.8 kB / 0.8055 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/0.453, allocations: 5.989 MB / 0.8114 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4546, allocations: 115.3 kB / 0.8115 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.4547, allocations: 32.47 kB / 0.8115 GB, free: 0.543 MB / 0.6355 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 (78): * Single equations (assignments): 73 * 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.0007851/0.4555, allocations: 376.9 kB / 0.8119 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4557, allocations: 102.7 kB / 0.812 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4578, allocations: 0.7034 MB / 0.8127 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4578, allocations: 8 kB / 0.8127 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4578, allocations: 3.984 kB / 0.8127 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.4594, allocations: 0.6495 MB / 0.8133 GB, free: 14.64 MB / 0.6511 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.004361/0.4637, allocations: 1.827 MB / 0.8151 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.4638, allocations: 4 kB / 0.8151 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/0.4645, allocations: 91.83 kB / 0.8152 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.4651, allocations: 131.5 kB / 0.8153 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.4651, allocations: 12 kB / 0.8153 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/0.4701, allocations: 4.979 MB / 0.8202 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4701, allocations: 0 / 0.8202 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.4728, allocations: 1.081 MB / 0.8212 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006687/0.4735, allocations: 271.7 kB / 0.8215 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4737, allocations: 15.98 kB / 0.8215 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.4748, allocations: 62.95 kB / 0.8216 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.475, allocations: 52.39 kB / 0.8216 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.4751, allocations: 23.98 kB / 0.8216 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001356/0.4764, allocations: 0.6293 MB / 0.8223 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4765, allocations: 4 kB / 0.8223 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003432/0.4799, allocations: 0.721 MB / 0.823 GB, free: 4.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 41 * 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.004219/0.4842, allocations: 2.231 MB / 0.8252 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.7473/1.231, allocations: 1.784 MB / 0.8269 GB, free: 96.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/1.232, allocations: 1.5 kB / 0.8269 GB, free: 96.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/1.234, allocations: 0.6118 MB / 0.8275 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006379/1.24, allocations: 0.5316 MB / 0.828 GB, free: 95.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.25, allocations: 5.195 MB / 0.8331 GB, free: 92.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.252, allocations: 1.117 MB / 0.8342 GB, free: 91.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002751/1.255, allocations: 218.1 kB / 0.8344 GB, free: 91.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/1.257, allocations: 423.5 kB / 0.8348 GB, free: 91.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.014e-06/1.257, allocations: 0 / 0.8348 GB, free: 91.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/1.383, allocations: 33.09 MB / 0.8671 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.384, allocations: 281.3 kB / 0.8674 GB, free: 79.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/5.348, allocations: 0 / 0.8674 GB, free: 79.41 MB / 0.6511 GB