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.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadModel(Buildings): time 3.763/3.763, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.267e-05, allocations: 6 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1703, allocations: 98.73 MB / 0.6348 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.367, allocations: 133 MB / 0.7647 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.3673, allocations: 111.9 kB / 0.7648 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5113/0.8787, allocations: 17.94 MB / 0.7823 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.376e-06/0.8787, allocations: 0 / 0.7823 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.8787, allocations: 6.312 kB / 0.7823 GB, free: 138.2 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.0007698/0.8795, allocations: 0.5725 MB / 0.7829 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.8796, allocations: 12.8 kB / 0.7829 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8797, allocations: 46.06 kB / 0.7829 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.8802, allocations: 354.7 kB / 0.7833 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.8803, allocations: 17.66 kB / 0.7833 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.8803, allocations: 21 kB / 0.7833 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.8808, allocations: 178.4 kB / 0.7835 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.8808, allocations: 0.5156 kB / 0.7835 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.8809, allocations: 10.88 kB / 0.7835 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8809, allocations: 9.141 kB / 0.7835 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.8812, allocations: 139.6 kB / 0.7836 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.8828, allocations: 0.8759 MB / 0.7845 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.8831, allocations: 147.9 kB / 0.7846 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.8833, allocations: 97.66 kB / 0.7847 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.8833, allocations: 5.938 kB / 0.7847 GB, free: 137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.8834, allocations: 43.89 kB / 0.7848 GB, free: 137 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.22e-06/0.8834, allocations: 0 / 0.7848 GB, free: 137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004233/0.8838, allocations: 166 kB / 0.7849 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.8839, allocations: 60.59 kB / 0.785 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.8845, allocations: 363.6 kB / 0.7853 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.8845, allocations: 32.67 kB / 0.7854 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.8847, allocations: 203.7 kB / 0.7856 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.8847, allocations: 65.64 kB / 0.7856 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.8848, allocations: 5.281 kB / 0.7856 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.8849, allocations: 348.2 kB / 0.786 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.885, allocations: 47.3 kB / 0.786 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.8851, allocations: 49.02 kB / 0.786 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.8853, allocations: 49.55 kB / 0.7861 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8853, allocations: 0 / 0.7861 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003709/0.8857, allocations: 181.5 kB / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.8857, allocations: 5.969 kB / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.93e-06/0.8857, allocations: 1.906 kB / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8857, allocations: 1.875 kB / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.8861, allocations: 57.25 kB / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.482e-06/0.8861, allocations: 0 / 0.7863 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.8864, allocations: 29.75 kB / 0.7864 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.8864, allocations: 4.031 kB / 0.7864 GB, free: 136.2 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.034e-05/0.8865, allocations: 114.9 kB / 0.7865 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.8866, allocations: 39.84 kB / 0.7865 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.8867, allocations: 39.3 kB / 0.7865 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-06/0.8867, allocations: 1.438 kB / 0.7865 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.8867, allocations: 3.656 kB / 0.7866 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-06/0.8868, allocations: 2.266 kB / 0.7866 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.8873, allocations: 375.3 kB / 0.7869 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-06/0.8873, allocations: 4.156 kB / 0.7869 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.8877, allocations: 63.91 kB / 0.787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.8877, allocations: 1.734 kB / 0.787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.8878, allocations: 5.094 kB / 0.787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.901e-06/0.8878, allocations: 1.188 kB / 0.787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-06/0.8878, allocations: 0.7969 kB / 0.787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.8883, allocations: 341.5 kB / 0.7873 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8885, allocations: 118.2 kB / 0.7874 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/0.8885, allocations: 10.38 kB / 0.7874 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.8888, allocations: 11.17 kB / 0.7874 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.8889, allocations: 15.53 kB / 0.7875 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.8889, allocations: 6.266 kB / 0.7875 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004506/0.8894, allocations: 301.8 kB / 0.7878 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.36e-07/0.8894, allocations: 0 / 0.7878 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005177/0.8899, allocations: 83.11 kB / 0.7878 GB, free: 135.5 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.0003944/0.8903, allocations: 271 kB / 0.7881 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.8907, allocations: 120.7 kB / 0.7882 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.629e-06/0.8907, allocations: 0 / 0.7882 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.8909, allocations: 65.55 kB / 0.7883 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/0.8915, allocations: 80.98 kB / 0.7883 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8928, allocations: 0.5303 MB / 0.7889 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.8931, allocations: 0.8086 MB / 0.7897 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.8933, allocations: 33.72 kB / 0.7897 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.8934, allocations: 23.5 kB / 0.7897 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.803e-06/0.8934, allocations: 5.328 kB / 0.7897 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.01564/0.9091, allocations: 5.536 MB / 0.7951 GB, free: 133.9 MB / 0.6511 GB