Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.806/3.806, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.14e-05, allocations: 8 kB / 0.5326 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4899, allocations: 98.71 MB / 0.629 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.6892, allocations: 134.5 MB / 0.7603 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.6896, allocations: 107.9 kB / 0.7604 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08691/0.7766, allocations: 21.89 MB / 0.7818 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.408e-06/0.7766, allocations: 0 / 0.7818 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.7766, allocations: 12 kB / 0.7818 GB, free: 2.938 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.001271/0.7779, allocations: 0.7478 MB / 0.7825 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.778, allocations: 16.02 kB / 0.7825 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.7781, allocations: 71.16 kB / 0.7826 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.7789, allocations: 439 kB / 0.783 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.779, allocations: 20 kB / 0.7831 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.7791, allocations: 35.95 kB / 0.7831 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007966/0.7799, allocations: 302.6 kB / 0.7834 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.7807, allocations: 332 kB / 0.7837 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.7808, allocations: 0 / 0.7837 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.7808, allocations: 0 / 0.7837 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.7808, allocations: 12 kB / 0.7837 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.7836, allocations: 1.434 MB / 0.7851 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.7842, allocations: 299.7 kB / 0.7854 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.7848, allocations: 279.3 kB / 0.7857 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.7848, allocations: 8 kB / 0.7857 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.7849, allocations: 38.56 kB / 0.7857 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 2.797e-06/0.7849, allocations: 0 / 0.7857 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0007492/0.7856, allocations: 317 kB / 0.786 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7857, allocations: 59.39 kB / 0.7861 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/0.7863, allocations: 373.2 kB / 0.7864 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.7864, allocations: 25.7 kB / 0.7864 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.7866, allocations: 280 kB / 0.7867 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.7868, allocations: 145.9 kB / 0.7868 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.7868, allocations: 0 / 0.7868 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.7871, allocations: 354.8 kB / 0.7872 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.7873, allocations: 100.8 kB / 0.7873 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.7876, allocations: 97.12 kB / 0.7874 GB, free: 13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.7878, allocations: 122.3 kB / 0.7875 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-06/0.7879, allocations: 0 / 0.7875 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007218/0.7886, allocations: 328.5 kB / 0.7878 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.7886, allocations: 7.984 kB / 0.7878 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7886, allocations: 4 kB / 0.7878 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.7887, allocations: 4 kB / 0.7878 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.7893, allocations: 123.9 kB / 0.7879 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.841e-06/0.7893, allocations: 4 kB / 0.7879 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.7897, allocations: 43.62 kB / 0.788 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.7897, allocations: 12 kB / 0.788 GB, free: 12.36 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 () * 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.0001156/0.7899, allocations: 104.9 kB / 0.7881 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.79, allocations: 47.42 kB / 0.7881 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.7901, allocations: 52.97 kB / 0.7882 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7901, allocations: 4 kB / 0.7882 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-06/0.7902, allocations: 0 / 0.7882 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7902, allocations: 3.984 kB / 0.7882 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.791, allocations: 0.5053 MB / 0.7887 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7911, allocations: 0 / 0.7887 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.7917, allocations: 127.9 kB / 0.7888 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.589e-06/0.7918, allocations: 0 / 0.7888 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.7918, allocations: 0 / 0.7888 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.047e-06/0.7918, allocations: 4 kB / 0.7888 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.44e-06/0.7918, allocations: 0 / 0.7888 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.7929, allocations: 0.573 MB / 0.7894 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.7931, allocations: 136.5 kB / 0.7895 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.7932, allocations: 0 / 0.7895 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.7935, allocations: 15.98 kB / 0.7895 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.7936, allocations: 23.95 kB / 0.7895 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.7936, allocations: 12 kB / 0.7896 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004677/0.7941, allocations: 303 kB / 0.7898 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.78e-07/0.7941, allocations: 0 / 0.7898 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005995/0.7947, allocations: 143.5 kB / 0.79 GB, free: 10.25 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 () * 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.0004466/0.7952, allocations: 273.7 kB / 0.7902 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006121/0.7958, allocations: 279.2 kB / 0.7905 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.963e-06/0.7958, allocations: 0 / 0.7905 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.7962, allocations: 159.8 kB / 0.7907 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.7968, allocations: 89.64 kB / 0.7907 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.7989, allocations: 0.8881 MB / 0.7916 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.7995, allocations: 0.8821 MB / 0.7925 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.7998, allocations: 39.39 kB / 0.7925 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7999, allocations: 35.44 kB / 0.7925 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of SimCode: time 1.724e-06/0.8, allocations: 0 / 0.7925 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of Templates: time 0.01466/0.8146, allocations: 4.824 MB / 0.7973 GB, free: 2.789 MB / 0.6667 GB