Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009076/0.009076, allocations: 107.6 kB / 15.06 MB, free: 5.605 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.0011/0.0011, allocations: 180.8 kB / 15.95 MB, free: 5.547 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 1.887/1.887, allocations: 194.6 MB / 211.3 MB, free: 11.19 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.14/2.14, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 12 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5299, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001215/0.5312, allocations: 0.9899 MB / 0.6843 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004063/0.5353, allocations: 3.235 MB / 0.6875 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.5353, allocations: 3.938 kB / 0.6875 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.5354, allocations: 1.656 kB / 0.6875 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.5358, allocations: 88.62 kB / 0.6876 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.5361, allocations: 90.06 kB / 0.6876 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.5362, allocations: 14.2 kB / 0.6877 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.996e-05/0.5362, allocations: 1.844 kB / 0.6877 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.5363, allocations: 28.05 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.5364, allocations: 31.89 kB / 0.6877 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.5365, allocations: 0 / 0.6877 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.537, allocations: 290 kB / 0.688 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.573e-06/0.5371, allocations: 1.25 kB / 0.688 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.5371, allocations: 28.41 kB / 0.688 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.5373, allocations: 77.84 kB / 0.6881 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.449e-06/0.5373, allocations: 7.875 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5373, allocations: 3.938 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.755e-06/0.5373, allocations: 1.125 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003034/0.5376, allocations: 353.2 kB / 0.6885 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5377, allocations: 13.17 kB / 0.6885 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.5377, allocations: 12.95 kB / 0.6885 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.5378, allocations: 162.3 kB / 0.6886 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5378, allocations: 1.062 kB / 0.6886 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.5379, allocations: 5 kB / 0.6886 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.538, allocations: 31.5 kB / 0.6887 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-06/0.538, allocations: 0 / 0.6887 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.825e-06/0.538, allocations: 0 / 0.6887 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.538, allocations: 5.016 kB / 0.6887 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.5381, allocations: 4 kB / 0.6887 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.5382, allocations: 161.1 kB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.5383, allocations: 29.19 kB / 0.6889 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.5385, allocations: 97.09 kB / 0.6889 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.5386, allocations: 34.56 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.412e-06/0.5386, allocations: 1.281 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.5387, allocations: 45.62 kB / 0.689 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.5388, allocations: 56.75 kB / 0.6891 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.5389, allocations: 106.8 kB / 0.6892 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.591e-06/0.5389, allocations: 29.7 kB / 0.6892 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.5389, allocations: 80.84 kB / 0.6893 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5389, allocations: 5.938 kB / 0.6893 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/0.539, allocations: 0 / 0.6893 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.539, allocations: 313.3 kB / 0.6896 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.853e-05/0.539, allocations: 10.88 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.5391, allocations: 2.031 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/0.5391, allocations: 3 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-06/0.5391, allocations: 0.5156 kB / 0.6896 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.36e-05/0.5392, allocations: 40.23 kB / 0.6896 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5392, allocations: 7.219 kB / 0.6897 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-06/0.5392, allocations: 1.188 kB / 0.6897 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5393, allocations: 0 / 0.6897 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.5393, allocations: 12.28 kB / 0.6897 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.347e-06/0.5394, allocations: 5.062 kB / 0.6897 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.5394, allocations: 3.953 kB / 0.6897 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-06/0.5394, allocations: 1.875 kB / 0.6897 GB, free: 11.84 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 5.667e-05/0.5395, allocations: 107.6 kB / 0.6898 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.5395, allocations: 6.188 kB / 0.6898 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.5396, allocations: 49.64 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.836e-06/0.5397, allocations: 0.9688 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-06/0.5397, allocations: 4.547 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-06/0.5397, allocations: 0.9062 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.885e-05/0.5398, allocations: 157.2 kB / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-06/0.5398, allocations: 0.6562 kB / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.5398, allocations: 3.766 kB / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5399, allocations: 1.219 kB / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-06/0.5399, allocations: 0 / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-06/0.5399, allocations: 5.625 kB / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.5399, allocations: 0 / 0.69 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.284e-05/0.54, allocations: 70.39 kB / 0.6901 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.54, allocations: 79.48 kB / 0.6901 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.5401, allocations: 1.531 kB / 0.6901 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.5401, allocations: 1.062 kB / 0.6901 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.5401, allocations: 1.953 kB / 0.6901 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5401, allocations: 0.9688 kB / 0.6901 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.5402, allocations: 84.42 kB / 0.6902 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.2e-07/0.5402, allocations: 1.531 kB / 0.6902 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000314/0.5405, allocations: 22.5 kB / 0.6903 GB, free: 11.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002041/0.5407, allocations: 138.9 kB / 0.6904 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.5408, allocations: 15.75 kB / 0.6904 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.5409, allocations: 0 / 0.6904 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.5409, allocations: 4.406 kB / 0.6904 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.5411, allocations: 13.42 kB / 0.6904 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.5414, allocations: 160.8 kB / 0.6906 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.5415, allocations: 0.6791 MB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.5416, allocations: 2.781 kB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.5416, allocations: 13.34 kB / 0.6912 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.224e-06/0.5416, allocations: 0 / 0.6912 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.003459/0.5451, allocations: 0.7165 MB / 0.6919 GB, free: 10.18 MB / 0.5261 GB