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.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.01011/0.01012, allocations: 89.45 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.001239/0.001239, allocations: 172.2 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.227/2.227, 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.33/2.33, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 18.75 kB / 0.6244 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2655, allocations: 106.2 MB / 0.7281 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00243/0.268, allocations: 1.134 MB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006253/0.2742, allocations: 2.689 MB / 0.7319 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.2744, allocations: 0 / 0.7319 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.2744, allocations: 3.984 kB / 0.7319 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2745, allocations: 15.91 kB / 0.7319 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007383/0.2819, allocations: 1.312 MB / 0.7332 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.2821, allocations: 31.95 kB / 0.7332 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.2822, allocations: 3.984 kB / 0.7332 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.2822, allocations: 11.94 kB / 0.7332 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.2823, allocations: 19.86 kB / 0.7332 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2823, allocations: 8 kB / 0.7332 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.2862, allocations: 1.209 MB / 0.7344 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2863, allocations: 4 kB / 0.7344 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2863, allocations: 33.7 kB / 0.7344 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.2886, allocations: 0.7334 MB / 0.7352 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2887, allocations: 0 / 0.7352 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2887, allocations: 7.875 kB / 0.7352 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2887, allocations: 0 / 0.7352 GB, free: 2.855 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00107/0.2898, allocations: 0.5067 MB / 0.7357 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.2899, allocations: 12.02 kB / 0.7357 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.29, allocations: 109.8 kB / 0.7358 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2901, allocations: 75.28 kB / 0.7358 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.2904, allocations: 254.2 kB / 0.7361 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.2905, allocations: 154.5 kB / 0.7362 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/0.2906, allocations: 154.6 kB / 0.7364 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.2907, allocations: 109 kB / 0.7365 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.2908, allocations: 75.28 kB / 0.7366 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/0.2909, allocations: 154.5 kB / 0.7367 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.291, allocations: 154.5 kB / 0.7369 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.2911, allocations: 150.6 kB / 0.737 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.2916, allocations: 469.9 kB / 0.7374 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2917, allocations: 173.1 kB / 0.7376 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.2918, allocations: 75.28 kB / 0.7377 GB, free: 104 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/0.2919, allocations: 109.8 kB / 0.7378 GB, free: 15.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 2.966e-06/0.2919, allocations: 4 kB / 0.7378 GB, free: 15.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 0.0001151/0.292, allocations: 33.61 kB / 0.7378 GB, free: 15.94 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.2921, allocations: 130.6 kB / 0.738 GB, free: 15.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.2923, allocations: 133 kB / 0.7381 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2924, allocations: 25.7 kB / 0.7381 GB, free: 15.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.2925, allocations: 92.12 kB / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2925, allocations: 0 / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.2925, allocations: 0 / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2927, allocations: 318.8 kB / 0.7385 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.2927, allocations: 4 kB / 0.7385 GB, free: 15.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.2928, allocations: 8 kB / 0.7385 GB, free: 15.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.2929, allocations: 15.98 kB / 0.7385 GB, free: 15.19 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2929, allocations: 3.938 kB / 0.7385 GB, free: 15.19 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002163/0.2931, allocations: 53.61 kB / 0.7386 GB, free: 15.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2932, allocations: 4 kB / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/0.2932, allocations: 7.984 kB / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2932, allocations: 0 / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.2933, allocations: 0 / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2933, allocations: 4.062 kB / 0.7386 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.2934, allocations: 15.8 kB / 0.7386 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2934, allocations: 0 / 0.7386 GB, free: 15.1 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.2935, allocations: 185.1 kB / 0.7388 GB, free: 14.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2937, allocations: 108.9 kB / 0.7389 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.2938, allocations: 108.9 kB / 0.739 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.912e-05/0.2939, allocations: 180.3 kB / 0.7392 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/0.294, allocations: 192.1 kB / 0.7393 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.551e-05/0.2941, allocations: 176.3 kB / 0.7395 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.2945, allocations: 417.1 kB / 0.7399 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/0.2946, allocations: 101 kB / 0.74 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.2947, allocations: 105 kB / 0.7401 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.2948, allocations: 192.2 kB / 0.7403 GB, free: 13.24 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.374e-05/0.2949, allocations: 176.5 kB / 0.7405 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-05/0.295, allocations: 184.3 kB / 0.7406 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.541e-05/0.2951, allocations: 180.3 kB / 0.7408 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2954, allocations: 323.6 kB / 0.7411 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2955, allocations: 182 kB / 0.7413 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2956, allocations: 184.2 kB / 0.7415 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2958, allocations: 101 kB / 0.7416 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2959, allocations: 184.2 kB / 0.7417 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.296, allocations: 104.9 kB / 0.7418 GB, free: 11.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001263/0.2962, allocations: 99.27 kB / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2962, allocations: 4 kB / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001526/0.2977, allocations: 279.8 kB / 0.7422 GB, free: 11.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.002485/0.3002, allocations: 1.169 MB / 0.7433 GB, free: 9.996 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3004, allocations: 41.64 kB / 0.7434 GB, free: 9.949 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3004, allocations: 0 / 0.7434 GB, free: 9.949 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.3004, allocations: 4 kB / 0.7434 GB, free: 9.945 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.301, allocations: 0.5263 MB / 0.7439 GB, free: 9.414 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3022, allocations: 0.5564 MB / 0.7444 GB, free: 8.812 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3026, allocations: 0.6926 MB / 0.7451 GB, free: 8.094 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.3026, allocations: 0 / 0.7451 GB, free: 8.094 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.3027, allocations: 15.44 kB / 0.7451 GB, free: 8.078 MB / 0.573 GB Notification: Performance of SimCode: time 8.52e-07/0.3027, allocations: 0 / 0.7451 GB, free: 8.078 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.077/0.3797, allocations: 6.92 MB / 0.7519 GB, free: 1.387 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/0.3802, allocations: 321 kB / 0.7522 GB, free: 1.031 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.206, allocations: 4 kB / 0.7522 GB, free: 1.027 MB / 0.573 GB