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.InternalResistancesOneUTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.912/3.912, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.75e-05, allocations: 5 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 98.74 MB / 0.6289 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.4951, allocations: 132.4 MB / 0.7582 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000463/0.4956, allocations: 111.9 kB / 0.7583 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07897/0.5746, allocations: 17.7 MB / 0.7756 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5747, allocations: 0 / 0.7756 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.5747, allocations: 8 kB / 0.7756 GB, free: 2.602 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001063/0.5758, allocations: 0.5768 MB / 0.7762 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.5759, allocations: 8.031 kB / 0.7762 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.576, allocations: 43.44 kB / 0.7762 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.5767, allocations: 363.8 kB / 0.7766 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.5767, allocations: 8 kB / 0.7766 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.5768, allocations: 12 kB / 0.7766 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003894/0.5772, allocations: 120.9 kB / 0.7767 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.5776, allocations: 158.7 kB / 0.7769 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5776, allocations: 7.859 kB / 0.7769 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.5777, allocations: 0 / 0.7769 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.5777, allocations: 4 kB / 0.7769 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.5794, allocations: 0.8153 MB / 0.7777 GB, free: 356 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.5797, allocations: 134.7 kB / 0.7778 GB, free: 212 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.58, allocations: 92.78 kB / 0.7779 GB, free: 116 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.58, allocations: 4 kB / 0.7779 GB, free: 112 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.58, allocations: 34.56 kB / 0.7779 GB, free: 68 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.58, allocations: 0 / 0.7779 GB, free: 68 kB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.5364/1.116, allocations: 153.6 kB / 0.7781 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.117, allocations: 59.69 kB / 0.7781 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/1.117, allocations: 331.5 kB / 0.7784 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.117, allocations: 25.7 kB / 0.7785 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/1.117, allocations: 201.4 kB / 0.7787 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.887e-05/1.117, allocations: 59.77 kB / 0.7787 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/1.117, allocations: 0 / 0.7787 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/1.118, allocations: 345 kB / 0.779 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/1.118, allocations: 41.58 kB / 0.7791 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/1.118, allocations: 41.75 kB / 0.7791 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/1.118, allocations: 58.27 kB / 0.7792 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.118, allocations: 0.875 kB / 0.7792 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003439/1.118, allocations: 165.6 kB / 0.7793 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.118, allocations: 5.938 kB / 0.7793 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.118, allocations: 0 / 0.7793 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.118, allocations: 4.359 kB / 0.7793 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/1.119, allocations: 59.17 kB / 0.7794 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.119, allocations: 2.531 kB / 0.7794 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/1.119, allocations: 24.39 kB / 0.7794 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/1.119, allocations: 5.562 kB / 0.7794 GB, free: 139.1 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 (20): * Single equations (assignments): 20 * 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 7.218e-05/1.119, allocations: 108.7 kB / 0.7795 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003442/1.12, allocations: 159.6 kB / 0.7797 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/1.12, allocations: 33.72 kB / 0.7797 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/1.12, allocations: 33.86 kB / 0.7798 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.12, allocations: 4.844 kB / 0.7798 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.12, allocations: 1.203 kB / 0.7798 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.12, allocations: 3.016 kB / 0.7798 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/1.12, allocations: 328.8 kB / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.12, allocations: 7.422 kB / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/1.121, allocations: 60.34 kB / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.121, allocations: 0 / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/1.121, allocations: 3.719 kB / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.121, allocations: 0.75 kB / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.121, allocations: 0 / 0.7801 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/1.121, allocations: 321.9 kB / 0.7805 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/1.122, allocations: 122.5 kB / 0.7806 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/1.122, allocations: 3.422 kB / 0.7806 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/1.122, allocations: 13.88 kB / 0.7806 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/1.122, allocations: 15.52 kB / 0.7806 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/1.122, allocations: 2.219 kB / 0.7806 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003942/1.122, allocations: 263.4 kB / 0.7809 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.122, allocations: 0 / 0.7809 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004673/1.123, allocations: 74.41 kB / 0.7809 GB, free: 138.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001196/1.124, allocations: 1.021 MB / 0.7819 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003779/1.125, allocations: 110.7 kB / 0.782 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.125, allocations: 0 / 0.782 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/1.125, allocations: 67.66 kB / 0.7821 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/1.125, allocations: 74.72 kB / 0.7822 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.127, allocations: 0.5877 MB / 0.7827 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/1.128, allocations: 0.8049 MB / 0.7835 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002049/1.128, allocations: 30.36 kB / 0.7836 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.128, allocations: 115.1 kB / 0.7837 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.128, allocations: 0 / 0.7837 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/1.187, allocations: 6.811 MB / 0.7903 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.187, allocations: 221.2 kB / 0.7905 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.782, allocations: 4 kB / 0.7905 GB, free: 136.1 MB / 0.6511 GB