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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009141/0.009146, allocations: 106.3 kB / 15.06 MB, free: 5.559 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.00112/0.00112, allocations: 182.3 kB / 15.95 MB, free: 5.523 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.843/1.843, allocations: 194.5 MB / 211.3 MB, free: 11.12 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.227/2.227, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004676, allocations: 16 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6336, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001454/0.6351, allocations: 1.122 MB / 0.6845 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.6397, allocations: 2.668 MB / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.6398, allocations: 0 / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.6399, allocations: 5.828 kB / 0.6871 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.6399, allocations: 12.23 kB / 0.6871 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.6447, allocations: 1.306 MB / 0.6884 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.6448, allocations: 37.22 kB / 0.6884 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.6449, allocations: 6.188 kB / 0.6884 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.6449, allocations: 12.33 kB / 0.6884 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.6449, allocations: 17.58 kB / 0.6885 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.645, allocations: 1.312 kB / 0.6885 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.6478, allocations: 1.208 MB / 0.6896 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.6479, allocations: 10.56 kB / 0.6897 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.6479, allocations: 28.8 kB / 0.6897 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.6499, allocations: 0.7314 MB / 0.6904 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.371e-06/0.65, allocations: 1.156 kB / 0.6904 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.911e-06/0.65, allocations: 4 kB / 0.6904 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.415e-06/0.65, allocations: 3.938 kB / 0.6904 GB, free: 12.91 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006818/0.6507, allocations: 0.5171 MB / 0.6909 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6507, allocations: 8.375 kB / 0.6909 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.6508, allocations: 78.58 kB / 0.691 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.6509, allocations: 249.4 kB / 0.6912 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.651, allocations: 155.2 kB / 0.6914 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.651, allocations: 155.4 kB / 0.6915 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.103e-05/0.6511, allocations: 102.8 kB / 0.6916 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6511, allocations: 75.28 kB / 0.6917 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.6511, allocations: 151.4 kB / 0.6918 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.6511, allocations: 154.5 kB / 0.692 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.6512, allocations: 155.6 kB / 0.6921 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.6514, allocations: 465.8 kB / 0.6926 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.873e-05/0.6515, allocations: 170.9 kB / 0.6927 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.6515, allocations: 76.5 kB / 0.6928 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.6515, allocations: 110.6 kB / 0.6929 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.872e-06/0.6515, allocations: 1.5 kB / 0.6929 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.718e-05/0.6516, allocations: 40.69 kB / 0.693 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.6517, allocations: 126.7 kB / 0.6931 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.6518, allocations: 141.1 kB / 0.6932 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.6518, allocations: 26.41 kB / 0.6932 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.6519, allocations: 92.12 kB / 0.6933 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-06/0.6519, allocations: 0 / 0.6933 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.6519, allocations: 4 kB / 0.6933 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.652, allocations: 315.8 kB / 0.6936 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.652, allocations: 7.281 kB / 0.6936 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.652, allocations: 4.156 kB / 0.6936 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.6521, allocations: 8.781 kB / 0.6937 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-06/0.6521, allocations: 0 / 0.6937 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.6522, allocations: 50.55 kB / 0.6937 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6523, allocations: 4.656 kB / 0.6937 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.6523, allocations: 7.578 kB / 0.6937 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6523, allocations: 1.312 kB / 0.6937 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-06/0.6523, allocations: 4.812 kB / 0.6937 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.6523, allocations: 0 / 0.6937 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.6524, allocations: 9.047 kB / 0.6937 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-06/0.6524, allocations: 1.672 kB / 0.6937 GB, free: 9.48 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.656e-05/0.6525, allocations: 188.1 kB / 0.6939 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.6525, allocations: 103.8 kB / 0.694 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.6526, allocations: 116.3 kB / 0.6941 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.6526, allocations: 182.2 kB / 0.6943 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.862e-05/0.6527, allocations: 178.2 kB / 0.6945 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.6527, allocations: 191.2 kB / 0.6946 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.6529, allocations: 416.5 kB / 0.695 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.6529, allocations: 110.1 kB / 0.6951 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.6529, allocations: 111.1 kB / 0.6953 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.017e-05/0.653, allocations: 178.4 kB / 0.6954 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.653, allocations: 182.2 kB / 0.6956 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-05/0.6531, allocations: 177 kB / 0.6958 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.101e-05/0.6531, allocations: 182.4 kB / 0.6959 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.6532, allocations: 314.8 kB / 0.6962 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.6532, allocations: 193.7 kB / 0.6964 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.6533, allocations: 178.3 kB / 0.6966 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.6534, allocations: 105.6 kB / 0.6967 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6534, allocations: 186.2 kB / 0.6969 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.6535, allocations: 110.7 kB / 0.697 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.6535, allocations: 100.2 kB / 0.6971 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.07e-07/0.6535, allocations: 3.938 kB / 0.6971 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001134/0.6547, allocations: 279.3 kB / 0.6973 GB, free: 5.836 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 (0): * Single equations (assignments): 0 * 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.001403/0.6561, allocations: 0.5104 MB / 0.6978 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.6562, allocations: 39.47 kB / 0.6979 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.494e-06/0.6563, allocations: 5.188 kB / 0.6979 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-06/0.6563, allocations: 0 / 0.6979 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6566, allocations: 0.5327 MB / 0.6984 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.6569, allocations: 263.9 kB / 0.6987 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.657, allocations: 0.6865 MB / 0.6993 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.657, allocations: 0 / 0.6993 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.6571, allocations: 9.844 kB / 0.6993 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of SimCode: time 1.289e-06/0.6571, allocations: 0 / 0.6993 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of Templates: time 0.01299/0.6701, allocations: 5.716 MB / 0.7049 GB, free: 1.938 MB / 0.5261 GB