Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.01036/0.01037, allocations: 89.83 kB / 15.04 MB, free: 5.977 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.001232/0.001231, allocations: 172.3 kB / 15.92 MB, free: 5.938 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.13/2.13, 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.473/2.473, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005148, allocations: 11 kB / 0.6244 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 106.2 MB / 0.7281 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.008068/0.2986, allocations: 3.281 MB / 0.7313 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006191/0.3049, allocations: 2.238 MB / 0.7335 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.3055, allocations: 8 kB / 0.7335 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.3084, allocations: 482.2 kB / 0.734 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3096, allocations: 251.3 kB / 0.7342 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.31, allocations: 79.92 kB / 0.7343 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.3115, allocations: 0.5585 MB / 0.7348 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.3123, allocations: 245.5 kB / 0.7351 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.3129, allocations: 239.1 kB / 0.7353 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005634/0.3135, allocations: 266.7 kB / 0.7355 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3136, allocations: 36 kB / 0.7356 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.3138, allocations: 36 kB / 0.7356 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.3141, allocations: 115.6 kB / 0.7357 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3144, allocations: 161.3 kB / 0.7359 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3158, allocations: 0.7906 MB / 0.7366 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3158, allocations: 0 / 0.7366 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3159, allocations: 0 / 0.7366 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.3159, allocations: 4 kB / 0.7366 GB, free: 1.309 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002607/0.3185, allocations: 0.845 MB / 0.7375 GB, free: 420 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.3186, allocations: 8.031 kB / 0.7375 GB, free: 412 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.3188, allocations: 86.52 kB / 0.7376 GB, free: 316 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.319, allocations: 83.11 kB / 0.7376 GB, free: 232 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3203, allocations: 436.8 kB / 0.7381 GB, free: 15.76 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.3204, allocations: 37 kB / 0.7381 GB, free: 15.72 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.3205, allocations: 51.91 kB / 0.7381 GB, free: 15.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.3223, allocations: 422.5 kB / 0.7385 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.3224, allocations: 3.938 kB / 0.7385 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.3225, allocations: 20 kB / 0.7386 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.3225, allocations: 12 kB / 0.7386 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.3243, allocations: 379.8 kB / 0.7389 GB, free: 14.85 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.3291, allocations: 1.539 MB / 0.7404 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3304, allocations: 347 kB / 0.7408 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.3305, allocations: 8.625 kB / 0.7408 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3305, allocations: 38.56 kB / 0.7408 GB, free: 12.83 MB / 0.573 GB Notification: Performance of pre-optimization done (n=42): time 4.268e-06/0.3305, allocations: 0 / 0.7408 GB, free: 12.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=42): time 0.002208/0.3328, allocations: 0.5054 MB / 0.7413 GB, free: 12.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3328, allocations: 59.19 kB / 0.7414 GB, free: 12.25 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3341, allocations: 485.9 kB / 0.7418 GB, free: 11.77 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.3341, allocations: 33.7 kB / 0.7419 GB, free: 11.73 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.3345, allocations: 272.4 kB / 0.7421 GB, free: 11.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.3347, allocations: 149.8 kB / 0.7423 GB, free: 11.31 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.3348, allocations: 4 kB / 0.7423 GB, free: 11.31 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002415/0.3351, allocations: 362.8 kB / 0.7426 GB, free: 10.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.3357, allocations: 128.6 kB / 0.7427 GB, free: 10.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/0.3363, allocations: 133.2 kB / 0.7429 GB, free: 10.69 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.337, allocations: 145.8 kB / 0.743 GB, free: 10.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.337, allocations: 0 / 0.743 GB, free: 10.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001612/0.3387, allocations: 404.6 kB / 0.7434 GB, free: 10.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3387, allocations: 8.766 kB / 0.7434 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3387, allocations: 0 / 0.7434 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3388, allocations: 0 / 0.7434 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.3401, allocations: 131.8 kB / 0.7435 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3401, allocations: 0 / 0.7435 GB, free: 10.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.3408, allocations: 59.5 kB / 0.7436 GB, free: 9.949 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.3409, allocations: 12 kB / 0.7436 GB, free: 9.938 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.3415, allocations: 202 kB / 0.7438 GB, free: 9.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.3417, allocations: 55.39 kB / 0.7438 GB, free: 9.676 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3419, allocations: 65.09 kB / 0.7439 GB, free: 9.609 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3419, allocations: 4 kB / 0.7439 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3419, allocations: 0 / 0.7439 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.342, allocations: 3.984 kB / 0.7439 GB, free: 9.602 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3435, allocations: 0.5673 MB / 0.7445 GB, free: 8.984 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3435, allocations: 0 / 0.7445 GB, free: 8.984 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.345, allocations: 127.8 kB / 0.7446 GB, free: 8.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.3451, allocations: 11.95 kB / 0.7446 GB, free: 8.848 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.3451, allocations: 4 kB / 0.7446 GB, free: 8.844 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.3451, allocations: 4 kB / 0.7446 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3452, allocations: 0 / 0.7446 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3476, allocations: 0.6581 MB / 0.7452 GB, free: 8.164 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.3479, allocations: 144.3 kB / 0.7454 GB, free: 8.004 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.3481, allocations: 15.95 kB / 0.7454 GB, free: 7.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.3488, allocations: 19.98 kB / 0.7454 GB, free: 7.969 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3489, allocations: 35.91 kB / 0.7455 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.349, allocations: 4 kB / 0.7455 GB, free: 7.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009135/0.3499, allocations: 351.1 kB / 0.7458 GB, free: 7.594 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3499, allocations: 4 kB / 0.7458 GB, free: 7.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009702/0.3509, allocations: 139.7 kB / 0.7459 GB, free: 7.453 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002841/0.3538, allocations: 1.215 MB / 0.7471 GB, free: 6.207 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.3553, allocations: 331.6 kB / 0.7474 GB, free: 5.883 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3553, allocations: 0 / 0.7474 GB, free: 5.883 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.3561, allocations: 183.8 kB / 0.7476 GB, free: 5.703 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.3574, allocations: 130.9 kB / 0.7477 GB, free: 5.574 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.369, allocations: 3.277 MB / 0.7509 GB, free: 2.242 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.3699, allocations: 0.8824 MB / 0.7518 GB, free: 1.332 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005013/0.3704, allocations: 48.41 kB / 0.7518 GB, free: 1.285 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.371, allocations: 191.4 kB / 0.752 GB, free: 1.098 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/0.371, allocations: 0 / 0.752 GB, free: 1.098 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.4193, allocations: 10.33 MB / 0.7621 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.4197, allocations: 249.6 kB / 0.7624 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.14, allocations: 4.062 kB / 0.7624 GB, free: 6.723 MB / 0.5886 GB