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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.828/3.828, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.962e-05, allocations: 7.984 kB / 0.5326 GB, free: 1.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 98.7 MB / 0.629 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.6966, allocations: 132.4 MB / 0.7582 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/0.6971, allocations: 111.9 kB / 0.7583 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07441/0.7715, allocations: 17.7 MB / 0.7756 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.117e-06/0.7715, allocations: 0 / 0.7756 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.7716, allocations: 8 kB / 0.7756 GB, free: 9.25 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.0009135/0.7725, allocations: 0.5681 MB / 0.7762 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7726, allocations: 12.02 kB / 0.7762 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.7727, allocations: 47.44 kB / 0.7762 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.7733, allocations: 347.7 kB / 0.7766 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.7733, allocations: 12 kB / 0.7766 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.7734, allocations: 15.91 kB / 0.7766 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003543/0.7738, allocations: 128.8 kB / 0.7767 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.7742, allocations: 151 kB / 0.7769 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.7742, allocations: 0 / 0.7769 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.7742, allocations: 7.891 kB / 0.7769 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.7742, allocations: 8 kB / 0.7769 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.7758, allocations: 0.8153 MB / 0.7777 GB, free: 7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.7761, allocations: 134.6 kB / 0.7778 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.7763, allocations: 92.8 kB / 0.7779 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.7764, allocations: 0 / 0.7779 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.7764, allocations: 42.55 kB / 0.7779 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.566e-06/0.7764, allocations: 0 / 0.7779 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004143/0.7768, allocations: 157.4 kB / 0.7781 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7769, allocations: 55.41 kB / 0.7781 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.7775, allocations: 334.4 kB / 0.7785 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.7775, allocations: 25.7 kB / 0.7785 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.7777, allocations: 204.1 kB / 0.7787 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.7778, allocations: 63.02 kB / 0.7787 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-06/0.7778, allocations: 0 / 0.7787 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.778, allocations: 342.8 kB / 0.7791 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.7781, allocations: 48 kB / 0.7791 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.7782, allocations: 39.95 kB / 0.7792 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7784, allocations: 50.91 kB / 0.7792 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-06/0.7784, allocations: 0 / 0.7792 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003613/0.7788, allocations: 165.2 kB / 0.7794 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7788, allocations: 4 kB / 0.7794 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-06/0.7788, allocations: 0 / 0.7794 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7788, allocations: 0 / 0.7794 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.7792, allocations: 55.91 kB / 0.7794 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7792, allocations: 12 kB / 0.7794 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.7795, allocations: 19.83 kB / 0.7794 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.7795, allocations: 11.98 kB / 0.7795 GB, free: 5.117 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 0.0001009/0.7796, allocations: 108.9 kB / 0.7796 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.7797, allocations: 31.62 kB / 0.7796 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.88e-05/0.7798, allocations: 39.23 kB / 0.7796 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.209e-06/0.7798, allocations: 4 kB / 0.7796 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.648e-06/0.7798, allocations: 4 kB / 0.7796 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.883e-06/0.7799, allocations: 3.938 kB / 0.7796 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.7804, allocations: 333.8 kB / 0.78 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-06/0.7804, allocations: 4 kB / 0.78 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.7808, allocations: 51.97 kB / 0.78 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.64e-06/0.7808, allocations: 0 / 0.78 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.7808, allocations: 0 / 0.78 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.4e-06/0.7808, allocations: 0 / 0.78 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-06/0.7808, allocations: 4 kB / 0.78 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.7814, allocations: 336.1 kB / 0.7803 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.7816, allocations: 108.8 kB / 0.7804 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.7816, allocations: 4 kB / 0.7804 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.7819, allocations: 11.98 kB / 0.7805 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.7819, allocations: 11.98 kB / 0.7805 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.782, allocations: 8.062 kB / 0.7805 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004129/0.7824, allocations: 260.6 kB / 0.7807 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.05e-07/0.7824, allocations: 0 / 0.7807 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004655/0.7829, allocations: 79.69 kB / 0.7808 GB, free: 3.66 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.0004285/0.7833, allocations: 267.6 kB / 0.7811 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.7836, allocations: 110 kB / 0.7812 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.578e-06/0.7837, allocations: 0 / 0.7812 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.7838, allocations: 59.94 kB / 0.7812 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.7844, allocations: 73.19 kB / 0.7813 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.7857, allocations: 0.5232 MB / 0.7818 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.7862, allocations: 0.8068 MB / 0.7826 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.7864, allocations: 35.27 kB / 0.7826 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.7865, allocations: 23.44 kB / 0.7826 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of SimCode: time 1.72e-06/0.7865, allocations: 7.875 kB / 0.7826 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of Templates: time 0.01162/0.7982, allocations: 3.556 MB / 0.7861 GB, free: 14.22 MB / 0.6667 GB