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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.378/4.378, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.267e-05, allocations: 4.156 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 98.74 MB / 0.6348 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.4895, allocations: 135.2 MB / 0.7667 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006444/0.4902, allocations: 111.9 kB / 0.7669 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6589/1.149, allocations: 22.18 MB / 0.7885 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.876e-06/1.149, allocations: 1.344 kB / 0.7885 GB, free: 139 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.149, allocations: 10.56 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.001544/1.151, allocations: 0.7534 MB / 0.7893 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.151, allocations: 13.81 kB / 0.7893 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/1.151, allocations: 88.16 kB / 0.7894 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/1.151, allocations: 72.28 kB / 0.7894 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/1.152, allocations: 432.4 kB / 0.7898 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/1.152, allocations: 35.94 kB / 0.7899 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.152, allocations: 51.2 kB / 0.7899 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.153, allocations: 395.5 kB / 0.7903 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/1.153, allocations: 5.25 kB / 0.7903 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/1.153, allocations: 19.62 kB / 0.7903 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/1.153, allocations: 12.16 kB / 0.7903 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/1.154, allocations: 335.6 kB / 0.7907 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/1.158, allocations: 1.538 MB / 0.7922 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/1.159, allocations: 321.7 kB / 0.7925 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000725/1.159, allocations: 330 kB / 0.7928 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/1.159, allocations: 4.312 kB / 0.7928 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.159, allocations: 40.48 kB / 0.7928 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 3.797e-06/1.159, allocations: 0 / 0.7928 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.001035/1.16, allocations: 348.9 kB / 0.7932 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/1.161, allocations: 55.53 kB / 0.7932 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/1.162, allocations: 426.7 kB / 0.7936 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/1.162, allocations: 36.89 kB / 0.7937 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/1.162, allocations: 272.7 kB / 0.7939 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.162, allocations: 146.3 kB / 0.7941 GB, free: 137 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.162, allocations: 10.5 kB / 0.7941 GB, free: 137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.162, allocations: 364.1 kB / 0.7944 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/1.163, allocations: 109.3 kB / 0.7945 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/1.163, allocations: 107 kB / 0.7946 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/1.163, allocations: 128.4 kB / 0.7947 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.163, allocations: 0 / 0.7947 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009369/1.164, allocations: 365.1 kB / 0.7951 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.164, allocations: 6.031 kB / 0.7951 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.164, allocations: 0 / 0.7951 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.164, allocations: 6.078 kB / 0.7951 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/1.165, allocations: 126.5 kB / 0.7952 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.165, allocations: 5.891 kB / 0.7952 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/1.166, allocations: 47.17 kB / 0.7953 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/1.166, allocations: 14.62 kB / 0.7953 GB, free: 136.5 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.0001269/1.166, allocations: 126.3 kB / 0.7954 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.166, allocations: 51.22 kB / 0.7955 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/1.167, allocations: 62.28 kB / 0.7955 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.167, allocations: 7.922 kB / 0.7955 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.167, allocations: 1.219 kB / 0.7955 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.167, allocations: 3.938 kB / 0.7955 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/1.168, allocations: 0.566 MB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.168, allocations: 0.9375 kB / 0.7961 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.169, allocations: 131.2 kB / 0.7962 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/1.169, allocations: 6.688 kB / 0.7962 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.169, allocations: 7.531 kB / 0.7962 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/1.169, allocations: 6.031 kB / 0.7962 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.169, allocations: 3.953 kB / 0.7962 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.17, allocations: 0.6018 MB / 0.7968 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/1.17, allocations: 136.9 kB / 0.7969 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.17, allocations: 11.91 kB / 0.797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/1.171, allocations: 31.52 kB / 0.797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.171, allocations: 23.02 kB / 0.797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/1.171, allocations: 11.61 kB / 0.797 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006609/1.172, allocations: 345.8 kB / 0.7973 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.172, allocations: 0 / 0.7973 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007601/1.172, allocations: 157.4 kB / 0.7975 GB, free: 135.7 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.001884/1.174, allocations: 1.302 MB / 0.7988 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007827/1.175, allocations: 302.2 kB / 0.7991 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.175, allocations: 0 / 0.7991 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/1.176, allocations: 166.1 kB / 0.7992 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.177, allocations: 113.1 kB / 0.7993 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/1.18, allocations: 1.014 MB / 0.8003 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/1.18, allocations: 0.8831 MB / 0.8012 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003708/1.181, allocations: 56.83 kB / 0.8012 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/1.181, allocations: 200.4 kB / 0.8014 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.181, allocations: 0 / 0.8014 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04281/1.224, allocations: 12.55 MB / 0.8137 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/1.224, allocations: 228.2 kB / 0.8139 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/4.302, allocations: 0 / 0.8139 GB, free: 125.4 MB / 0.6511 GB