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.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.857/4.857, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.766e-05, allocations: 5.922 kB / 0.5384 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 98.73 MB / 0.6348 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8928/1.137, allocations: 145.8 MB / 0.7771 GB, free: 54.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004574/1.138, allocations: 118.1 kB / 0.7773 GB, free: 54.42 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07942/1.217, allocations: 14.96 MB / 0.7919 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/1.217, allocations: 0 / 0.7919 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.217, allocations: 1.062 kB / 0.7919 GB, free: 53.48 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.001278/1.218, allocations: 0.5518 MB / 0.7924 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.218, allocations: 13.05 kB / 0.7924 GB, free: 52.97 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/1.218, allocations: 110.6 kB / 0.7925 GB, free: 52.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/1.219, allocations: 85.45 kB / 0.7926 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.219, allocations: 249.7 kB / 0.7928 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/1.219, allocations: 158.4 kB / 0.793 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/1.219, allocations: 151.7 kB / 0.7931 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.951e-05/1.219, allocations: 101 kB / 0.7932 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/1.219, allocations: 84.25 kB / 0.7933 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/1.219, allocations: 154.5 kB / 0.7935 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/1.219, allocations: 151.7 kB / 0.7936 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/1.219, allocations: 156.1 kB / 0.7937 GB, free: 51.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/1.219, allocations: 462.3 kB / 0.7942 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.85e-05/1.219, allocations: 170 kB / 0.7944 GB, free: 50.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/1.219, allocations: 87.95 kB / 0.7944 GB, free: 50.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/1.219, allocations: 76.38 kB / 0.7945 GB, free: 50.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.219, allocations: 106.8 kB / 0.7946 GB, free: 50.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.784e-06/1.219, allocations: 0 / 0.7946 GB, free: 50.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.621e-05/1.22, allocations: 38.86 kB / 0.7946 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.22, allocations: 126.7 kB / 0.7948 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.22, allocations: 119.5 kB / 0.7949 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/1.22, allocations: 25.7 kB / 0.7949 GB, free: 50.33 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/1.22, allocations: 92.36 kB / 0.795 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/1.22, allocations: 3.906 kB / 0.795 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.22, allocations: 0 / 0.795 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/1.22, allocations: 322.8 kB / 0.7953 GB, free: 49.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/1.22, allocations: 12.09 kB / 0.7953 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/1.22, allocations: 7.031 kB / 0.7953 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/1.22, allocations: 4.438 kB / 0.7953 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.22, allocations: 0.9375 kB / 0.7953 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/1.22, allocations: 54.11 kB / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.22, allocations: 4.562 kB / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/1.22, allocations: 5.609 kB / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.22, allocations: 0 / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-06/1.22, allocations: 1.094 kB / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.22, allocations: 0 / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/1.22, allocations: 5.25 kB / 0.7954 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/1.22, allocations: 1.156 kB / 0.7954 GB, free: 49.88 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 6.444e-05/1.221, allocations: 181.4 kB / 0.7956 GB, free: 49.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/1.221, allocations: 114.3 kB / 0.7957 GB, free: 49.58 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/1.221, allocations: 111.3 kB / 0.7958 GB, free: 49.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/1.221, allocations: 185.3 kB / 0.796 GB, free: 49.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-05/1.221, allocations: 185.6 kB / 0.7961 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/1.221, allocations: 183.3 kB / 0.7963 GB, free: 48.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/1.221, allocations: 419.9 kB / 0.7967 GB, free: 48.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.221, allocations: 104.4 kB / 0.7968 GB, free: 48.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/1.221, allocations: 106.1 kB / 0.7969 GB, free: 48.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.28e-05/1.221, allocations: 176.3 kB / 0.7971 GB, free: 48.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.221, allocations: 183.3 kB / 0.7973 GB, free: 47.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.464e-05/1.221, allocations: 185.2 kB / 0.7974 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-05/1.221, allocations: 180.8 kB / 0.7976 GB, free: 47.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.546e-05/1.221, allocations: 314.7 kB / 0.7979 GB, free: 47.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/1.221, allocations: 189 kB / 0.7981 GB, free: 46.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/1.221, allocations: 183 kB / 0.7983 GB, free: 46.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/1.222, allocations: 102.1 kB / 0.7984 GB, free: 46.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/1.222, allocations: 181 kB / 0.7985 GB, free: 46.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/1.222, allocations: 103.9 kB / 0.7986 GB, free: 46.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.919e-05/1.222, allocations: 106.4 kB / 0.7987 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.222, allocations: 5.062 kB / 0.7987 GB, free: 46.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001658/1.223, allocations: 327.4 kB / 0.7991 GB, free: 46.24 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.0023/1.226, allocations: 1.207 MB / 0.8002 GB, free: 45.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000139/1.226, allocations: 50.73 kB / 0.8003 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.226, allocations: 0 / 0.8003 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/1.226, allocations: 0 / 0.8003 GB, free: 45.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/1.226, allocations: 0.5243 MB / 0.8008 GB, free: 44.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.227, allocations: 348.5 kB / 0.8011 GB, free: 44.47 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.228, allocations: 0.6881 MB / 0.8018 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.183e-05/1.228, allocations: 1.719 kB / 0.8018 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/1.228, allocations: 14.39 kB / 0.8018 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.228, allocations: 0 / 0.8018 GB, free: 43.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/1.261, allocations: 6.599 MB / 0.8083 GB, free: 43.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/1.261, allocations: 286.4 kB / 0.8085 GB, free: 42.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/4.097, allocations: 0 / 0.8085 GB, free: 42.9 MB / 0.6511 GB