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.009228/0.009228, allocations: 109.6 kB / 15.05 MB, free: 5.965 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.001144/0.001144, allocations: 179.4 kB / 15.94 MB, free: 5.93 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 1.803/1.803, allocations: 194.6 MB / 211.3 MB, free: 11.11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.167/2.167, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004691, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5609, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/0.8099, allocations: 135.3 MB / 0.8155 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.8103, allocations: 111.9 kB / 0.8156 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1145/0.9249, allocations: 22.14 MB / 0.8372 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.387e-06/0.9249, allocations: 0 / 0.8372 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.925, allocations: 12 kB / 0.8372 GB, free: 0.6914 MB / 0.6511 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.002631/0.9276, allocations: 0.8411 MB / 0.838 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.9277, allocations: 11.98 kB / 0.838 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.928, allocations: 83.06 kB / 0.8381 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.9293, allocations: 428.8 kB / 0.8385 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.9294, allocations: 37 kB / 0.8386 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.9296, allocations: 51.95 kB / 0.8386 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.9314, allocations: 426.8 kB / 0.839 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.9315, allocations: 3.906 kB / 0.839 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.9316, allocations: 20 kB / 0.839 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.9317, allocations: 16 kB / 0.8391 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.9336, allocations: 379.7 kB / 0.8394 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/0.9387, allocations: 1.532 MB / 0.8409 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.9401, allocations: 337.2 kB / 0.8412 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.9402, allocations: 7.938 kB / 0.8412 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.9402, allocations: 42.5 kB / 0.8413 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 5.442e-06/0.9403, allocations: 0 / 0.8413 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.002399/0.9427, allocations: 0.4978 MB / 0.8418 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.9428, allocations: 55.41 kB / 0.8418 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.9441, allocations: 437.1 kB / 0.8422 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.9442, allocations: 37.7 kB / 0.8423 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.9446, allocations: 272.3 kB / 0.8425 GB, free: 11 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.9449, allocations: 141.8 kB / 0.8427 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.945, allocations: 16 kB / 0.8427 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002919/0.9453, allocations: 362.8 kB / 0.843 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.9459, allocations: 120.7 kB / 0.8432 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.9466, allocations: 133.1 kB / 0.8433 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.9473, allocations: 145.9 kB / 0.8434 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.313e-06/0.9474, allocations: 0 / 0.8434 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001745/0.9491, allocations: 400.6 kB / 0.8438 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.9492, allocations: 4 kB / 0.8438 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.381e-06/0.9492, allocations: 8 kB / 0.8438 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.9493, allocations: 0 / 0.8438 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.9505, allocations: 127.9 kB / 0.8439 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.9506, allocations: 0 / 0.8439 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.9512, allocations: 55.56 kB / 0.844 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.9513, allocations: 19.89 kB / 0.844 GB, free: 9.48 MB / 0.6667 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.0005799/0.9519, allocations: 197.8 kB / 0.8442 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.9522, allocations: 51.38 kB / 0.8442 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.9524, allocations: 61.09 kB / 0.8443 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.9524, allocations: 4 kB / 0.8443 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9525, allocations: 4 kB / 0.8443 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.9525, allocations: 8 kB / 0.8443 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.9541, allocations: 0.5672 MB / 0.8449 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-06/0.9541, allocations: 0 / 0.8449 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.9555, allocations: 127.9 kB / 0.845 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-06/0.9555, allocations: 0 / 0.845 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.9556, allocations: 8 kB / 0.845 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.478e-06/0.9556, allocations: 0 / 0.845 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.041e-06/0.9556, allocations: 0 / 0.845 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.9582, allocations: 0.6674 MB / 0.8457 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.9586, allocations: 140.5 kB / 0.8458 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.9587, allocations: 8 kB / 0.8458 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.9594, allocations: 23.89 kB / 0.8458 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.9595, allocations: 27.95 kB / 0.8458 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.9596, allocations: 11.94 kB / 0.8459 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001028/0.9606, allocations: 347.1 kB / 0.8462 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.295e-06/0.9607, allocations: 4 kB / 0.8462 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001188/0.9619, allocations: 159.6 kB / 0.8463 GB, free: 6.996 MB / 0.6667 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.000648/0.9625, allocations: 264.1 kB / 0.8466 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.964, allocations: 335.4 kB / 0.8469 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.818e-06/0.9641, allocations: 0 / 0.8469 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.9648, allocations: 179.8 kB / 0.8471 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.9661, allocations: 124.6 kB / 0.8472 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.9708, allocations: 1.444 MB / 0.8486 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/0.9717, allocations: 0.8823 MB / 0.8495 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005584/0.9723, allocations: 52.36 kB / 0.8495 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.9725, allocations: 35.44 kB / 0.8496 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of SimCode: time 2.039e-06/0.9726, allocations: 4 kB / 0.8496 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of Templates: time 0.02027/0.9928, allocations: 7.037 MB / 0.8564 GB, free: 12.71 MB / 0.6823 GB