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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadModel(Buildings): time 3.727/3.727, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.137e-05, allocations: 4 kB / 0.5384 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1674, allocations: 98.72 MB / 0.6348 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/0.9324, allocations: 145.8 MB / 0.7771 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006991/0.9332, allocations: 115.8 kB / 0.7773 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09618/1.029, allocations: 14.95 MB / 0.7919 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.728e-06/1.029, allocations: 0 / 0.7919 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.029, allocations: 1.469 kB / 0.7919 GB, free: 53.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009742/1.03, allocations: 0.558 MB / 0.7924 GB, free: 52.87 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.03, allocations: 9.219 kB / 0.7924 GB, free: 52.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/1.031, allocations: 86.05 kB / 0.7925 GB, free: 52.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/1.031, allocations: 249.8 kB / 0.7927 GB, free: 52.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.031, allocations: 150.6 kB / 0.7929 GB, free: 52.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/1.031, allocations: 159.4 kB / 0.793 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.014e-05/1.031, allocations: 106 kB / 0.7931 GB, free: 52.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.031, allocations: 75.28 kB / 0.7932 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/1.031, allocations: 155.5 kB / 0.7933 GB, free: 51.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/1.031, allocations: 150.6 kB / 0.7935 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/1.031, allocations: 157.5 kB / 0.7936 GB, free: 51.57 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.031, allocations: 472.2 kB / 0.7941 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/1.031, allocations: 171.6 kB / 0.7943 GB, free: 50.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/1.031, allocations: 80.14 kB / 0.7943 GB, free: 50.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/1.031, allocations: 76.28 kB / 0.7944 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.031, allocations: 110.9 kB / 0.7945 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.927e-06/1.031, allocations: 0 / 0.7945 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.461e-05/1.031, allocations: 36.83 kB / 0.7945 GB, free: 50.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/1.031, allocations: 128.3 kB / 0.7947 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.032, allocations: 121.3 kB / 0.7948 GB, free: 50.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-06/1.032, allocations: 26.67 kB / 0.7948 GB, free: 50.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/1.032, allocations: 89.42 kB / 0.7949 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-06/1.032, allocations: 0 / 0.7949 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-06/1.032, allocations: 4.969 kB / 0.7949 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/1.032, allocations: 321.6 kB / 0.7952 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/1.032, allocations: 4.031 kB / 0.7952 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.286e-05/1.032, allocations: 7.906 kB / 0.7952 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/1.032, allocations: 3.906 kB / 0.7952 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.032, allocations: 0.9375 kB / 0.7952 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/1.032, allocations: 53.58 kB / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.032, allocations: 5.75 kB / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.032, allocations: 3.781 kB / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.032, allocations: 9.312 kB / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.736e-06/1.032, allocations: 0 / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.308e-06/1.032, allocations: 1.312 kB / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/1.032, allocations: 0 / 0.7953 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-06/1.032, allocations: 1.062 kB / 0.7953 GB, free: 49.89 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.501e-05/1.032, allocations: 187.2 kB / 0.7955 GB, free: 49.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/1.032, allocations: 108.9 kB / 0.7956 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/1.032, allocations: 111.5 kB / 0.7957 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/1.032, allocations: 181.1 kB / 0.7959 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.022e-05/1.032, allocations: 183.1 kB / 0.796 GB, free: 49.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/1.032, allocations: 189.2 kB / 0.7962 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/1.033, allocations: 413 kB / 0.7966 GB, free: 48.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.033, allocations: 107.8 kB / 0.7967 GB, free: 48.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/1.033, allocations: 106.1 kB / 0.7968 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/1.033, allocations: 177.1 kB / 0.797 GB, free: 48.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/1.033, allocations: 187.2 kB / 0.7972 GB, free: 47.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/1.033, allocations: 177.6 kB / 0.7973 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.169e-05/1.033, allocations: 184.8 kB / 0.7975 GB, free: 47.53 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/1.033, allocations: 314.2 kB / 0.7978 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/1.033, allocations: 184.7 kB / 0.798 GB, free: 47.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/1.033, allocations: 179.6 kB / 0.7981 GB, free: 46.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/1.033, allocations: 109 kB / 0.7983 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/1.033, allocations: 179.5 kB / 0.7984 GB, free: 46.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.033, allocations: 106.1 kB / 0.7985 GB, free: 46.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.958e-05/1.033, allocations: 101.5 kB / 0.7986 GB, free: 46.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.646e-06/1.033, allocations: 0 / 0.7986 GB, free: 46.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001323/1.035, allocations: 333 kB / 0.7989 GB, free: 46.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001353/1.036, allocations: 0.5658 MB / 0.7995 GB, free: 45.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001106/1.036, allocations: 42.92 kB / 0.7995 GB, free: 45.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.036, allocations: 6.875 kB / 0.7995 GB, free: 45.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.201e-06/1.036, allocations: 1.062 kB / 0.7995 GB, free: 45.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.036, allocations: 0.5349 MB / 0.8001 GB, free: 45.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/1.037, allocations: 142.5 kB / 0.8002 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/1.037, allocations: 0.6907 MB / 0.8009 GB, free: 44.58 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.055e-05/1.037, allocations: 11.83 kB / 0.8009 GB, free: 44.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/1.037, allocations: 9.812 kB / 0.8009 GB, free: 44.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.45e-06/1.037, allocations: 0 / 0.8009 GB, free: 44.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.01214/1.049, allocations: 5.423 MB / 0.8062 GB, free: 44.15 MB / 0.6511 GB