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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.009761/0.009761, allocations: 89.09 kB / 15.04 MB, free: 6.059 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.001177/0.001178, allocations: 171.1 kB / 15.92 MB, free: 5.996 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.305/2.305, 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.36/2.36, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006407, allocations: 14.81 kB / 0.6244 GB, free: 21.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.222, allocations: 106.2 MB / 0.7281 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004252/0.2263, allocations: 2.427 MB / 0.7305 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003858/0.2302, allocations: 1.954 MB / 0.7324 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.2304, allocations: 8 kB / 0.7324 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.2323, allocations: 442.4 kB / 0.7328 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.2327, allocations: 151.7 kB / 0.733 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.2329, allocations: 35.97 kB / 0.733 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.2335, allocations: 323.3 kB / 0.7333 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.2338, allocations: 114.9 kB / 0.7334 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.2341, allocations: 139.5 kB / 0.7335 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.2343, allocations: 147.3 kB / 0.7337 GB, free: 2.305 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.2344, allocations: 24 kB / 0.7337 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.2345, allocations: 16 kB / 0.7337 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2346, allocations: 71.73 kB / 0.7338 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2347, allocations: 113.5 kB / 0.7339 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.2353, allocations: 442.7 kB / 0.7343 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2353, allocations: 0 / 0.7343 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2354, allocations: 0 / 0.7343 GB, free: 1.645 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.2354, allocations: 0 / 0.7343 GB, free: 1.645 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001304/0.2367, allocations: 0.6423 MB / 0.735 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.2368, allocations: 8.031 kB / 0.735 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.122e-05/0.2368, allocations: 58.55 kB / 0.735 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.237, allocations: 47.39 kB / 0.7351 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006539/0.2376, allocations: 365.1 kB / 0.7354 GB, free: 444 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.2377, allocations: 20.44 kB / 0.7354 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.2377, allocations: 16 kB / 0.7354 GB, free: 404 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.2384, allocations: 207.3 kB / 0.7356 GB, free: 192 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2384, allocations: 0 / 0.7356 GB, free: 192 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.2385, allocations: 11.94 kB / 0.7357 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.2385, allocations: 11.95 kB / 0.7357 GB, free: 168 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.2392, allocations: 169.7 kB / 0.7358 GB, free: 15.99 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2409, allocations: 0.8778 MB / 0.7367 GB, free: 15.05 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.2415, allocations: 162.5 kB / 0.7368 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2415, allocations: 0 / 0.7368 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2415, allocations: 34.56 kB / 0.7369 GB, free: 14.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.2415, allocations: 4 kB / 0.7369 GB, free: 14.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=18): time 0.0009897/0.2425, allocations: 269.3 kB / 0.7371 GB, free: 14.57 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2426, allocations: 51.41 kB / 0.7372 GB, free: 14.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.2433, allocations: 417.7 kB / 0.7376 GB, free: 14.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2434, allocations: 25.7 kB / 0.7376 GB, free: 14.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2436, allocations: 208.2 kB / 0.7378 GB, free: 13.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.2437, allocations: 59.09 kB / 0.7379 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.2437, allocations: 12 kB / 0.7379 GB, free: 13.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2439, allocations: 342.8 kB / 0.7382 GB, free: 13.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.2441, allocations: 63.92 kB / 0.7383 GB, free: 13.37 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.2444, allocations: 59.97 kB / 0.7383 GB, free: 13.31 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.2447, allocations: 75.42 kB / 0.7384 GB, free: 13.24 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2447, allocations: 0 / 0.7384 GB, free: 13.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006919/0.2455, allocations: 217.1 kB / 0.7386 GB, free: 13.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2455, allocations: 8 kB / 0.7386 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2455, allocations: 0 / 0.7386 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2455, allocations: 0 / 0.7386 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.246, allocations: 55.95 kB / 0.7387 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.246, allocations: 4 kB / 0.7387 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.2463, allocations: 19.84 kB / 0.7387 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2464, allocations: 11.98 kB / 0.7387 GB, free: 12.93 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 (20): * Single equations (assignments): 20 * 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.0002497/0.2466, allocations: 165.7 kB / 0.7388 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.2467, allocations: 39.53 kB / 0.7389 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.2468, allocations: 43.58 kB / 0.7389 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2468, allocations: 0 / 0.7389 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2468, allocations: 0 / 0.7389 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2469, allocations: 0 / 0.7389 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.2475, allocations: 381.2 kB / 0.7393 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2475, allocations: 4 kB / 0.7393 GB, free: 12.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.248, allocations: 63.89 kB / 0.7394 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.248, allocations: 0 / 0.7394 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.248, allocations: 4 kB / 0.7394 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.2481, allocations: 0 / 0.7394 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2481, allocations: 3.938 kB / 0.7394 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2491, allocations: 397.9 kB / 0.7397 GB, free: 11.77 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.2493, allocations: 120.5 kB / 0.7399 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.2493, allocations: 8 kB / 0.7399 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.2496, allocations: 16.06 kB / 0.7399 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.2497, allocations: 19.95 kB / 0.7399 GB, free: 11.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2498, allocations: 4 kB / 0.7399 GB, free: 11.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00052/0.2503, allocations: 295.2 kB / 0.7402 GB, free: 11.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2503, allocations: 0 / 0.7402 GB, free: 11.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004602/0.2508, allocations: 75.84 kB / 0.7403 GB, free: 11.22 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.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 (18): * Single equations (assignments): 18 * 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.001324/0.2521, allocations: 0.9344 MB / 0.7412 GB, free: 10.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.2527, allocations: 159.8 kB / 0.7413 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2528, allocations: 0 / 0.7413 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.2531, allocations: 83.91 kB / 0.7414 GB, free: 10.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.2538, allocations: 82.56 kB / 0.7415 GB, free: 9.945 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.2591, allocations: 2.181 MB / 0.7436 GB, free: 7.711 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.2596, allocations: 0.7992 MB / 0.7444 GB, free: 6.887 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.2598, allocations: 34.95 kB / 0.7444 GB, free: 6.855 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.2601, allocations: 119.4 kB / 0.7445 GB, free: 6.738 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.2601, allocations: 0 / 0.7445 GB, free: 6.738 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.2911, allocations: 7.159 MB / 0.7515 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.2915, allocations: 248.6 kB / 0.7518 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/2.99, allocations: 4 kB / 0.7518 GB, free: 15.51 MB / 0.5886 GB