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.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.01376/0.01377, allocations: 89.33 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.001726/0.001726, allocations: 168.8 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.087/2.087, 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.34/2.34, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006373, allocations: 14.83 kB / 0.6244 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, 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.InternalResistancesTwoUTube): time 0.001874/0.2201, allocations: 1.138 MB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005904/0.226, allocations: 2.685 MB / 0.7319 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.2261, allocations: 0 / 0.7319 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.2262, allocations: 7.984 kB / 0.7319 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.2263, allocations: 19.91 kB / 0.7319 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00565/0.232, allocations: 1.296 MB / 0.7331 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2321, allocations: 27.95 kB / 0.7332 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.2322, allocations: 11.98 kB / 0.7332 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.2322, allocations: 15.92 kB / 0.7332 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.2323, allocations: 23.81 kB / 0.7332 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2323, allocations: 0 / 0.7332 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.2355, allocations: 1.209 MB / 0.7344 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2355, allocations: 3.938 kB / 0.7344 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.2356, allocations: 29.7 kB / 0.7344 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.2374, allocations: 0.7372 MB / 0.7352 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.2374, allocations: 0 / 0.7352 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2374, allocations: 4 kB / 0.7352 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2375, allocations: 4 kB / 0.7352 GB, free: 2.859 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.0007482/0.2382, allocations: 0.5106 MB / 0.7357 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2383, allocations: 12.03 kB / 0.7357 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.2383, allocations: 105.8 kB / 0.7358 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.2384, allocations: 79.22 kB / 0.7358 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2386, allocations: 250.2 kB / 0.7361 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.2387, allocations: 158.6 kB / 0.7362 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2388, allocations: 150.6 kB / 0.7364 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.069e-05/0.2388, allocations: 109 kB / 0.7365 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2389, allocations: 75.28 kB / 0.7366 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.2389, allocations: 154.5 kB / 0.7367 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.239, allocations: 158.5 kB / 0.7369 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.2391, allocations: 162.6 kB / 0.737 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.2394, allocations: 457.9 kB / 0.7374 GB, free: 364 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.705e-05/0.2395, allocations: 173.1 kB / 0.7376 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2396, allocations: 75.28 kB / 0.7377 GB, free: 104 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.2396, allocations: 113.8 kB / 0.7378 GB, free: 15.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.2396, allocations: 0 / 0.7378 GB, free: 15.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.866e-05/0.2397, allocations: 37.61 kB / 0.7378 GB, free: 15.94 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.2398, allocations: 130.6 kB / 0.738 GB, free: 15.8 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.24, allocations: 129.1 kB / 0.7381 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.24, allocations: 25.7 kB / 0.7381 GB, free: 15.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2401, allocations: 96.12 kB / 0.7382 GB, free: 15.54 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.2401, allocations: 4 kB / 0.7382 GB, free: 15.53 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.2401, allocations: 0 / 0.7382 GB, free: 15.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2402, allocations: 318.8 kB / 0.7385 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.2403, allocations: 0 / 0.7385 GB, free: 15.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.2403, allocations: 7.984 kB / 0.7385 GB, free: 15.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.2404, allocations: 8 kB / 0.7385 GB, free: 15.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2404, allocations: 0 / 0.7385 GB, free: 15.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001599/0.2405, allocations: 53.55 kB / 0.7386 GB, free: 15.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2406, allocations: 4 kB / 0.7386 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.2406, allocations: 4 kB / 0.7386 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2406, allocations: 4.062 kB / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.2407, allocations: 3.938 kB / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2407, allocations: 0 / 0.7386 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.2407, allocations: 19.78 kB / 0.7386 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2407, 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.000115/0.2409, allocations: 185.1 kB / 0.7388 GB, free: 14.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.2409, allocations: 108.9 kB / 0.7389 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.241, allocations: 116.8 kB / 0.739 GB, free: 14.67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-05/0.2411, allocations: 180.2 kB / 0.7392 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.625e-05/0.2412, allocations: 180.2 kB / 0.7393 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.264e-05/0.2412, allocations: 176.3 kB / 0.7395 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2415, allocations: 421.1 kB / 0.7399 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/0.2416, allocations: 101 kB / 0.74 GB, free: 13.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.2416, allocations: 113 kB / 0.7401 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-05/0.2417, allocations: 180.2 kB / 0.7403 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.2418, allocations: 176.5 kB / 0.7405 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.151e-05/0.2419, allocations: 188.3 kB / 0.7406 GB, free: 12.88 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-05/0.242, allocations: 184.3 kB / 0.7408 GB, free: 12.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.2421, allocations: 319.6 kB / 0.7411 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.2422, allocations: 182 kB / 0.7413 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.2423, allocations: 184.2 kB / 0.7415 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.2424, allocations: 105 kB / 0.7416 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.2425, allocations: 180.2 kB / 0.7417 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.2425, allocations: 112.9 kB / 0.7418 GB, free: 11.55 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.628e-05/0.2426, allocations: 99.27 kB / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2426, allocations: 0 / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001036/0.2437, allocations: 275.8 kB / 0.7422 GB, free: 11.19 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.001789/0.2455, allocations: 1.161 MB / 0.7433 GB, free: 10.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2457, allocations: 41.64 kB / 0.7434 GB, free: 9.961 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2457, allocations: 0 / 0.7434 GB, free: 9.961 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.2457, allocations: 4 kB / 0.7434 GB, free: 9.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2461, allocations: 0.5285 MB / 0.7439 GB, free: 9.426 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.247, allocations: 0.5602 MB / 0.7444 GB, free: 8.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2473, allocations: 0.6887 MB / 0.7451 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.2473, allocations: 0 / 0.7451 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2474, allocations: 11.44 kB / 0.7451 GB, free: 8.094 MB / 0.573 GB Notification: Performance of SimCode: time 8.52e-07/0.2474, allocations: 3.938 kB / 0.7451 GB, free: 8.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.2871, allocations: 6.91 MB / 0.7519 GB, free: 1.395 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/0.2875, allocations: 311.4 kB / 0.7522 GB, free: 1.039 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/3.225, allocations: 0 / 0.7522 GB, free: 1.039 MB / 0.573 GB