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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004241/0.004245, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001167/0.001167, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.818/3.818, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.874/3.874, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 16.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1677, allocations: 98.7 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7759/0.9436, allocations: 135.3 MB / 1.237 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.9441, allocations: 115.6 kB / 1.237 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.08558/1.03, allocations: 22.13 MB / 1.258 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/1.03, allocations: 0 / 1.258 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.03, allocations: 12 kB / 1.259 GB, free: 2.309 MB / 0.6198 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.001679/1.031, allocations: 0.8461 MB / 1.259 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.031, allocations: 14.55 kB / 1.259 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/1.032, allocations: 79 kB / 1.259 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/1.032, allocations: 428.8 kB / 1.26 GB, free: 1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/1.032, allocations: 38.25 kB / 1.26 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/1.032, allocations: 53.14 kB / 1.26 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/1.034, allocations: 427.4 kB / 1.26 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.034, allocations: 7.781 kB / 1.26 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/1.034, allocations: 18.75 kB / 1.26 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/1.034, allocations: 15.03 kB / 1.26 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.035, allocations: 369.9 kB / 1.261 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/1.038, allocations: 1.534 MB / 1.262 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/1.039, allocations: 342.3 kB / 1.263 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/1.04, allocations: 355.7 kB / 1.263 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/1.04, allocations: 7.406 kB / 1.263 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.04, allocations: 44.11 kB / 1.263 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 3.376e-06/1.04, allocations: 0 / 1.263 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.001525/1.041, allocations: 0.5047 MB / 1.263 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.042, allocations: 59.41 kB / 1.263 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/1.042, allocations: 479.7 kB / 1.264 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/1.042, allocations: 32.64 kB / 1.264 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/1.043, allocations: 272.7 kB / 1.264 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/1.043, allocations: 147.8 kB / 1.264 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/1.043, allocations: 3.438 kB / 1.264 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.043, allocations: 366.8 kB / 1.265 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/1.044, allocations: 124.6 kB / 1.265 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.044, allocations: 132.2 kB / 1.265 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/1.044, allocations: 147.8 kB / 1.265 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.044, allocations: 0 / 1.265 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001069/1.046, allocations: 400.5 kB / 1.265 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.046, allocations: 4 kB / 1.265 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.046, allocations: 4 kB / 1.266 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.046, allocations: 11.08 kB / 1.266 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/1.047, allocations: 123.5 kB / 1.266 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.047, allocations: 4 kB / 1.266 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/1.047, allocations: 57.17 kB / 1.266 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/1.047, allocations: 11.56 kB / 1.266 GB, free: 12.49 MB / 0.6355 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 () * Number of clocked 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.0003753/1.048, allocations: 190.5 kB / 1.266 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/1.048, allocations: 50.03 kB / 1.266 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/1.048, allocations: 62.59 kB / 1.266 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.048, allocations: 7.953 kB / 1.266 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.048, allocations: 0 / 1.266 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.048, allocations: 11.86 kB / 1.266 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/1.049, allocations: 0.5605 MB / 1.267 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.049, allocations: 0 / 1.267 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.05, allocations: 133.9 kB / 1.267 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.05, allocations: 3.938 kB / 1.267 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/1.05, allocations: 9.625 kB / 1.267 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.05, allocations: 0 / 1.267 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.05, allocations: 3.953 kB / 1.267 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/1.052, allocations: 0.6646 MB / 1.267 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/1.052, allocations: 135.6 kB / 1.267 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.052, allocations: 10.38 kB / 1.267 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/1.053, allocations: 26.7 kB / 1.268 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/1.053, allocations: 26.91 kB / 1.268 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.053, allocations: 15.52 kB / 1.268 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006729/1.053, allocations: 349.6 kB / 1.268 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.315e-06/1.054, allocations: 0 / 1.268 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007491/1.054, allocations: 157.7 kB / 1.268 GB, free: 10.55 MB / 0.6355 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 () * Number of clocked 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.0004931/1.055, allocations: 279 kB / 1.268 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.056, allocations: 330.4 kB / 1.269 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.056, allocations: 0 / 1.269 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000477/1.056, allocations: 183.6 kB / 1.269 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.057, allocations: 117.3 kB / 1.269 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/1.061, allocations: 1.438 MB / 1.27 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/1.061, allocations: 0.8857 MB / 1.271 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003855/1.062, allocations: 47.78 kB / 1.271 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/1.062, allocations: 35.44 kB / 1.271 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/1.062, allocations: 0 / 1.271 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of Templates: time 0.0229/1.085, allocations: 7.064 MB / 1.278 GB, free: 1.203 MB / 0.6355 GB