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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01069/0.01069, allocations: 221.7 kB / 15.17 MB, free: 5.93 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.001148/0.001148, allocations: 179.9 kB / 16.06 MB, free: 5.828 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.549/3.549, allocations: 389 MB / 405.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.746/3.746, allocations: 472.3 MB / 0.9018 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 98.72 MB / 1.104 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003522/0.1268, allocations: 3.577 MB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1294, allocations: 2.242 MB / 1.11 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1296, allocations: 11.38 kB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1308, allocations: 455.7 kB / 1.11 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1312, allocations: 216.8 kB / 1.11 GB, free: 35.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1314, allocations: 79.94 kB / 1.11 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000616/0.132, allocations: 0.7551 MB / 1.111 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1324, allocations: 249.4 kB / 1.111 GB, free: 34.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1327, allocations: 223.1 kB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.133, allocations: 282.7 kB / 1.112 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.133, allocations: 36 kB / 1.112 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1331, allocations: 36 kB / 1.112 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1333, allocations: 123 kB / 1.112 GB, free: 33.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1334, allocations: 161.4 kB / 1.112 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.134, allocations: 0.7944 MB / 1.113 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.016e-06/0.134, allocations: 0 / 1.113 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.847e-06/0.134, allocations: 0 / 1.113 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1341, allocations: 0 / 1.113 GB, free: 32.82 MB / 0.6042 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.001158/0.1352, allocations: 0.8431 MB / 1.114 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1353, allocations: 14.55 kB / 1.114 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1354, allocations: 71.16 kB / 1.114 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.136, allocations: 440.7 kB / 1.114 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.136, allocations: 37 kB / 1.114 GB, free: 31.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.1361, allocations: 44 kB / 1.114 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.1369, allocations: 434.3 kB / 1.115 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.137, allocations: 0 / 1.115 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.137, allocations: 19.95 kB / 1.115 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1371, allocations: 12 kB / 1.115 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.1379, allocations: 369.9 kB / 1.115 GB, free: 30.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1401, allocations: 1.553 MB / 1.117 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1407, allocations: 344.6 kB / 1.117 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.1413, allocations: 349.4 kB / 1.117 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1413, allocations: 4 kB / 1.117 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.1414, allocations: 44.62 kB / 1.117 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.636e-06/0.1414, allocations: 0 / 1.117 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001092/0.1425, allocations: 0.505 MB / 1.118 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1425, allocations: 59.41 kB / 1.118 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.1431, allocations: 485.9 kB / 1.118 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1432, allocations: 37.64 kB / 1.119 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1433, allocations: 276.4 kB / 1.119 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1434, allocations: 151.4 kB / 1.119 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.1435, allocations: 8 kB / 1.119 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.1436, allocations: 362.7 kB / 1.119 GB, free: 26.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.1439, allocations: 131.7 kB / 1.119 GB, free: 26.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.1442, allocations: 128.5 kB / 1.12 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.1445, allocations: 145 kB / 1.12 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-06/0.1445, allocations: 0 / 1.12 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007622/0.1453, allocations: 399.5 kB / 1.12 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1453, allocations: 8 kB / 1.12 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.1454, allocations: 3.031 kB / 1.12 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1454, allocations: 3.984 kB / 1.12 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.1459, allocations: 127.9 kB / 1.12 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.56e-06/0.146, allocations: 0 / 1.12 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.1463, allocations: 50.39 kB / 1.12 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1463, allocations: 15.95 kB / 1.12 GB, free: 25.28 MB / 0.6042 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.0002278/0.1466, allocations: 197.1 kB / 1.12 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.1467, allocations: 51.44 kB / 1.12 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1468, allocations: 61.09 kB / 1.121 GB, free: 24.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-06/0.1468, allocations: 4 kB / 1.121 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-06/0.1468, allocations: 0 / 1.121 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-06/0.1468, allocations: 0 / 1.121 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/0.1475, allocations: 0.5751 MB / 1.121 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-06/0.1475, allocations: 0.5156 kB / 1.121 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.1481, allocations: 127.2 kB / 1.121 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.061e-06/0.1481, allocations: 15.88 kB / 1.121 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.1482, allocations: 8 kB / 1.121 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1482, allocations: 4 kB / 1.121 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1482, allocations: 0 / 1.121 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1493, allocations: 0.6667 MB / 1.122 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1495, allocations: 141.6 kB / 1.122 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.1496, allocations: 8 kB / 1.122 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.1499, allocations: 27.97 kB / 1.122 GB, free: 23.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.15, allocations: 19.97 kB / 1.122 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.15, allocations: 8.562 kB / 1.122 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004195/0.1504, allocations: 358.5 kB / 1.122 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.42e-07/0.1504, allocations: 0 / 1.122 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004713/0.1509, allocations: 135.7 kB / 1.123 GB, free: 22.82 MB / 0.6042 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.000114/0.151, allocations: 115.2 kB / 1.123 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000679/0.1517, allocations: 342.5 kB / 1.123 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.422e-06/0.1517, allocations: 0 / 1.123 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.1521, allocations: 180.8 kB / 1.123 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.1529, allocations: 127.1 kB / 1.123 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.155, allocations: 1.44 MB / 1.125 GB, free: 20.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1553, allocations: 0.8793 MB / 1.126 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.1556, allocations: 61.72 kB / 1.126 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1557, allocations: 31.44 kB / 1.126 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.257e-06/0.1557, allocations: 4 kB / 1.126 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.01273/0.1685, allocations: 5.387 MB / 1.131 GB, free: 14.75 MB / 0.6042 GB