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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.96/3.96, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.109e-05, allocations: 4.875 kB / 0.5384 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2245, allocations: 98.73 MB / 0.6348 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/0.5023, allocations: 145.1 MB / 0.7764 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004599/0.5028, allocations: 119.9 kB / 0.7765 GB, free: 472 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6118/1.115, allocations: 14.64 MB / 0.7908 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/1.115, allocations: 0 / 0.7908 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.115, allocations: 1.281 kB / 0.7908 GB, free: 141.4 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.001241/1.116, allocations: 0.5514 MB / 0.7914 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.116, allocations: 17.39 kB / 0.7914 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/1.116, allocations: 105.8 kB / 0.7915 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/1.116, allocations: 85.27 kB / 0.7916 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/1.116, allocations: 243.7 kB / 0.7918 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.116, allocations: 158.4 kB / 0.792 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/1.116, allocations: 151.7 kB / 0.7921 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.673e-05/1.116, allocations: 106.1 kB / 0.7922 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.116, allocations: 83.06 kB / 0.7923 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/1.116, allocations: 150.6 kB / 0.7924 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.116, allocations: 151.8 kB / 0.7926 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/1.116, allocations: 154.5 kB / 0.7927 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/1.117, allocations: 470.7 kB / 0.7932 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/1.117, allocations: 170.5 kB / 0.7933 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/1.117, allocations: 80.14 kB / 0.7934 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.117, allocations: 75.28 kB / 0.7935 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.117, allocations: 107.4 kB / 0.7936 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/1.117, allocations: 4 kB / 0.7936 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.954e-05/1.117, allocations: 36.08 kB / 0.7936 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.117, allocations: 128 kB / 0.7937 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.117, allocations: 117.4 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/1.117, allocations: 25.7 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/1.117, allocations: 93.28 kB / 0.794 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/1.117, allocations: 0 / 0.794 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/1.117, allocations: 1.125 kB / 0.794 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.157e-05/1.117, allocations: 323.9 kB / 0.7943 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/1.117, allocations: 3.25 kB / 0.7943 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/1.117, allocations: 3.062 kB / 0.7943 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/1.117, allocations: 11.2 kB / 0.7943 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.117, allocations: 1.094 kB / 0.7943 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/1.118, allocations: 46.33 kB / 0.7943 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.118, allocations: 4.938 kB / 0.7943 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.118, allocations: 3 kB / 0.7943 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.118, allocations: 4.891 kB / 0.7943 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/1.118, allocations: 0 / 0.7943 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.118, allocations: 4.062 kB / 0.7944 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/1.118, allocations: 12.62 kB / 0.7944 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/1.118, allocations: 1.969 kB / 0.7944 GB, free: 137.8 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.992e-05/1.118, allocations: 183.5 kB / 0.7945 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/1.118, allocations: 112 kB / 0.7946 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/1.118, allocations: 114.2 kB / 0.7948 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/1.118, allocations: 185.1 kB / 0.7949 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.118, allocations: 181.5 kB / 0.7951 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/1.118, allocations: 180.2 kB / 0.7953 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.118, allocations: 412.5 kB / 0.7957 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.118, allocations: 112.6 kB / 0.7958 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/1.118, allocations: 101.9 kB / 0.7959 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.401e-05/1.118, allocations: 185.3 kB / 0.7961 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/1.118, allocations: 181.3 kB / 0.7962 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.167e-05/1.118, allocations: 177.7 kB / 0.7964 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.63e-05/1.119, allocations: 187.1 kB / 0.7966 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.624e-05/1.119, allocations: 312.8 kB / 0.7969 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/1.119, allocations: 184.3 kB / 0.797 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/1.119, allocations: 181.3 kB / 0.7972 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/1.119, allocations: 104.9 kB / 0.7973 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/1.119, allocations: 177.4 kB / 0.7975 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/1.119, allocations: 110 kB / 0.7976 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.591e-05/1.119, allocations: 103.2 kB / 0.7977 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.119, allocations: 0 / 0.7977 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001495/1.121, allocations: 320.7 kB / 0.798 GB, free: 134.2 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.002044/1.123, allocations: 1.216 MB / 0.7992 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001246/1.123, allocations: 41.06 kB / 0.7992 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.123, allocations: 0 / 0.7992 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-06/1.123, allocations: 0 / 0.7992 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/1.123, allocations: 0.5302 MB / 0.7997 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/1.124, allocations: 342 kB / 0.8001 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/1.124, allocations: 0.6903 MB / 0.8007 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.802e-05/1.124, allocations: 0 / 0.8007 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/1.124, allocations: 13.59 kB / 0.8008 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/1.124, allocations: 0 / 0.8008 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/1.157, allocations: 6.457 MB / 0.8071 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.158, allocations: 277 kB / 0.8073 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.87, allocations: 0 / 0.8073 GB, free: 129.3 MB / 0.6511 GB