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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.954/3.954, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.218e-05, allocations: 5.047 kB / 0.5384 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 98.72 MB / 0.6348 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.3743, allocations: 135.2 MB / 0.7668 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.3747, allocations: 103.9 kB / 0.7669 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5447/0.9195, allocations: 22.17 MB / 0.7885 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.146e-06/0.9195, allocations: 0 / 0.7885 GB, free: 139 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.9196, allocations: 12.38 kB / 0.7885 GB, free: 139 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.00116/0.9208, allocations: 0.7541 MB / 0.7893 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.9208, allocations: 13.58 kB / 0.7893 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.921, allocations: 71.22 kB / 0.7893 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006782/0.9217, allocations: 437.7 kB / 0.7898 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.9217, allocations: 36.56 kB / 0.7898 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/0.9218, allocations: 51.11 kB / 0.7898 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.9227, allocations: 398.2 kB / 0.7902 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.9228, allocations: 0 / 0.7902 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.9229, allocations: 27.41 kB / 0.7903 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.9229, allocations: 11.62 kB / 0.7903 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.9238, allocations: 331.1 kB / 0.7906 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.9265, allocations: 1.532 MB / 0.7921 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.9272, allocations: 318.5 kB / 0.7924 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.9278, allocations: 340.2 kB / 0.7927 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.9278, allocations: 4.688 kB / 0.7927 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.9279, allocations: 32.94 kB / 0.7927 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 4.165e-06/0.9279, allocations: 5.531 kB / 0.7927 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.000863/0.9288, allocations: 350.7 kB / 0.7931 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.9288, allocations: 56.06 kB / 0.7931 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.9296, allocations: 427.5 kB / 0.7935 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.9296, allocations: 37.61 kB / 0.7936 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.9299, allocations: 274 kB / 0.7938 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.93, allocations: 143.4 kB / 0.794 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.9301, allocations: 7.875 kB / 0.794 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9302, allocations: 364.4 kB / 0.7943 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.9305, allocations: 109.9 kB / 0.7944 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.9308, allocations: 108.2 kB / 0.7945 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.9311, allocations: 126.5 kB / 0.7947 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.445e-06/0.9311, allocations: 0 / 0.7947 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007602/0.9318, allocations: 364.5 kB / 0.795 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9319, allocations: 5.469 kB / 0.795 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.454e-06/0.9319, allocations: 0 / 0.795 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.9319, allocations: 9.531 kB / 0.795 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.9326, allocations: 135.7 kB / 0.7951 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9326, allocations: 6.453 kB / 0.7952 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.9331, allocations: 48.22 kB / 0.7952 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.9331, allocations: 11.25 kB / 0.7952 GB, free: 136.6 MB / 0.6511 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.0001006/0.9332, allocations: 126 kB / 0.7953 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.9334, allocations: 51.78 kB / 0.7954 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.9335, allocations: 61.55 kB / 0.7954 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.15e-06/0.9335, allocations: 4.562 kB / 0.7954 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.9336, allocations: 9.578 kB / 0.7955 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.807e-06/0.9336, allocations: 0 / 0.7955 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000837/0.9344, allocations: 0.5744 MB / 0.796 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-06/0.9345, allocations: 0 / 0.796 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.9352, allocations: 127.7 kB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-06/0.9352, allocations: 1.406 kB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.9352, allocations: 9.656 kB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.247e-06/0.9352, allocations: 4.578 kB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-06/0.9353, allocations: 0 / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.9363, allocations: 0.6062 MB / 0.7967 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.9365, allocations: 132.4 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.221e-05/0.9366, allocations: 8.969 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.937, allocations: 29.23 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.9371, allocations: 26 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.9371, allocations: 9.75 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005576/0.9377, allocations: 348.1 kB / 0.7973 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.3e-07/0.9377, allocations: 0 / 0.7973 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006691/0.9384, allocations: 157.8 kB / 0.7974 GB, free: 135.8 MB / 0.6511 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.0003956/0.9388, allocations: 263.7 kB / 0.7977 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006464/0.9395, allocations: 288.3 kB / 0.7979 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.724e-06/0.9395, allocations: 0 / 0.7979 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.9398, allocations: 169.7 kB / 0.7981 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.9406, allocations: 117.9 kB / 0.7982 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.9427, allocations: 0.9042 MB / 0.7991 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.9431, allocations: 0.8862 MB / 0.8 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00033/0.9435, allocations: 52 kB / 0.8 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.9436, allocations: 38.7 kB / 0.8001 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.841e-06/0.9437, allocations: 4 kB / 0.8001 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.01863/0.9623, allocations: 7.341 MB / 0.8072 GB, free: 131.7 MB / 0.6511 GB