Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01267/0.01267, allocations: 221.2 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001197/0.001196, allocations: 175.2 kB / 16.06 MB, free: 5.875 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.704/3.704, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.469/4.469, allocations: 472.3 MB / 0.9018 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000687/0.0006873, allocations: 16 kB / 1.008 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6443/0.645, allocations: 98.73 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004979/0.6501, allocations: 3.566 MB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.6544, allocations: 2.234 MB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006492/0.6551, allocations: 11.94 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.6571, allocations: 452.8 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009005/0.658, allocations: 213 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.6584, allocations: 83.92 kB / 1.111 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.6595, allocations: 0.7551 MB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.6601, allocations: 245.1 kB / 1.112 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.6606, allocations: 227.1 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.661, allocations: 278.8 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.6611, allocations: 32 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.6612, allocations: 36.66 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.6614, allocations: 127.5 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.6616, allocations: 161.4 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.6624, allocations: 0.7888 MB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6625, allocations: 0 / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6625, allocations: 4 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.6625, allocations: 0 / 1.113 GB, free: 174.5 MB / 0.6823 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.001877/0.6644, allocations: 0.8434 MB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.6645, allocations: 12.03 kB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.6646, allocations: 90.52 kB / 1.114 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.6648, allocations: 79.05 kB / 1.114 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007911/0.6656, allocations: 444 kB / 1.115 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.6657, allocations: 37 kB / 1.115 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.6658, allocations: 46.22 kB / 1.115 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.667, allocations: 427.1 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.667, allocations: 0 / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.6671, allocations: 23.12 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.6671, allocations: 15.98 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.6682, allocations: 375.8 kB / 1.115 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.6713, allocations: 1.538 MB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.6721, allocations: 347.1 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.6728, allocations: 355 kB / 1.118 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.6729, allocations: 4 kB / 1.118 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6729, allocations: 43.36 kB / 1.118 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=42): time 4.038e-06/0.6729, allocations: 1.062 kB / 1.118 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42): time 0.001437/0.6744, allocations: 0.5061 MB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6745, allocations: 55.41 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.6753, allocations: 484.1 kB / 1.119 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.6753, allocations: 29.7 kB / 1.119 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.6755, allocations: 276.4 kB / 1.119 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.6757, allocations: 145.8 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.6757, allocations: 8 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6758, allocations: 372.3 kB / 1.119 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.6763, allocations: 124 kB / 1.12 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.6766, allocations: 130.2 kB / 1.12 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.6771, allocations: 144.5 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6771, allocations: 4.156 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001056/0.6782, allocations: 410.2 kB / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6782, allocations: 4 kB / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6782, allocations: 0 / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.6782, allocations: 3.125 kB / 1.12 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.6792, allocations: 127.9 kB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6792, allocations: 1.797 kB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.6797, allocations: 50.03 kB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.6798, allocations: 15.94 kB / 1.12 GB, free: 166.9 MB / 0.6823 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.0003635/0.6802, allocations: 197.7 kB / 1.121 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.6803, allocations: 55.33 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.6804, allocations: 61.11 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6804, allocations: 4 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.6805, allocations: 0 / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6805, allocations: 3.984 kB / 1.121 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.6814, allocations: 0.5869 MB / 1.121 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6814, allocations: 0 / 1.121 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6824, allocations: 128.7 kB / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.6824, allocations: 0 / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.6825, allocations: 8 kB / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6825, allocations: 0 / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6825, allocations: 0 / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.684, allocations: 0.665 MB / 1.122 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.6843, allocations: 142.1 kB / 1.122 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6844, allocations: 13.41 kB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.6849, allocations: 27.11 kB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.685, allocations: 23.97 kB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.685, allocations: 8 kB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00054/0.6856, allocations: 351.1 kB / 1.123 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6856, allocations: 0 / 1.123 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006074/0.6862, allocations: 144.6 kB / 1.123 GB, free: 164.4 MB / 0.6823 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.001761/0.688, allocations: 1.231 MB / 1.124 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008989/0.6889, allocations: 326.4 kB / 1.124 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6889, allocations: 0 / 1.124 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.6894, allocations: 191.4 kB / 1.124 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6905, allocations: 119.7 kB / 1.125 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.6983, allocations: 3.324 MB / 1.128 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.6987, allocations: 0.8815 MB / 1.129 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003769/0.6991, allocations: 55.62 kB / 1.129 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6995, allocations: 191.4 kB / 1.129 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.6995, allocations: 0 / 1.129 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.7385, allocations: 10.35 MB / 1.139 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004153/0.739, allocations: 251.7 kB / 1.139 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.522, allocations: 0 / 1.139 GB, free: 148.5 MB / 0.6823 GB