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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009641/0.009646, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001182/0.001182, allocations: 184.4 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.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.31 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.229/2.229, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004698, allocations: 16 kB / 0.587 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5482, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001507/0.5497, allocations: 1.118 MB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.5543, allocations: 2.671 MB / 0.6871 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.5545, allocations: 1.094 kB / 0.6871 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.5545, allocations: 1.688 kB / 0.6871 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.5546, allocations: 16.52 kB / 0.6871 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.5595, allocations: 1.313 MB / 0.6884 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.5596, allocations: 36.86 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.5597, allocations: 3.516 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.5597, allocations: 11.22 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.5597, allocations: 14.8 kB / 0.6885 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5598, allocations: 5.438 kB / 0.6885 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.5628, allocations: 1.211 MB / 0.6896 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.5628, allocations: 6.812 kB / 0.6896 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.5629, allocations: 32.95 kB / 0.6897 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.5649, allocations: 0.732 MB / 0.6904 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.375e-06/0.5649, allocations: 0 / 0.6904 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.447e-06/0.5649, allocations: 0 / 0.6904 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.899e-06/0.5649, allocations: 0 / 0.6904 GB, free: 12.93 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.0007341/0.5657, allocations: 0.5164 MB / 0.6909 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5657, allocations: 9.719 kB / 0.6909 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.5658, allocations: 78.75 kB / 0.691 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5659, allocations: 257.2 kB / 0.6912 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5659, allocations: 150.6 kB / 0.6914 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.566, allocations: 152.2 kB / 0.6915 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.107e-05/0.566, allocations: 101.7 kB / 0.6916 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5661, allocations: 80.44 kB / 0.6917 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.5661, allocations: 150.6 kB / 0.6918 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5661, allocations: 155.1 kB / 0.692 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.5662, allocations: 151.8 kB / 0.6921 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.5664, allocations: 469.8 kB / 0.6926 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.5665, allocations: 170.4 kB / 0.6927 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5665, allocations: 75.28 kB / 0.6928 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5665, allocations: 107.6 kB / 0.6929 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.108e-06/0.5666, allocations: 0 / 0.6929 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.6e-05/0.5666, allocations: 41.02 kB / 0.6929 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.5667, allocations: 132.7 kB / 0.6931 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5668, allocations: 137.5 kB / 0.6932 GB, free: 10 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.848e-06/0.5668, allocations: 29.64 kB / 0.6932 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.5669, allocations: 96.27 kB / 0.6933 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-06/0.5669, allocations: 1.344 kB / 0.6933 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.5669, allocations: 0 / 0.6933 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.567, allocations: 318.5 kB / 0.6936 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.567, allocations: 7.312 kB / 0.6936 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/0.567, allocations: 8.469 kB / 0.6936 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.5671, allocations: 5.625 kB / 0.6937 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-06/0.5671, allocations: 3.938 kB / 0.6937 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.5672, allocations: 52.94 kB / 0.6937 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5673, allocations: 6 kB / 0.6937 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.5673, allocations: 4.562 kB / 0.6937 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5673, allocations: 64 / 0.6937 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.5673, allocations: 4 kB / 0.6937 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.818e-06/0.5674, allocations: 2.25 kB / 0.6937 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.5674, allocations: 7.859 kB / 0.6937 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5674, allocations: 5.5 kB / 0.6937 GB, free: 9.484 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.554e-05/0.5675, allocations: 187.7 kB / 0.6939 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.5676, allocations: 104.5 kB / 0.694 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.5676, allocations: 116.3 kB / 0.6941 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.5676, allocations: 182.2 kB / 0.6943 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-05/0.5677, allocations: 182 kB / 0.6945 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/0.5677, allocations: 182.5 kB / 0.6946 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.5679, allocations: 412.3 kB / 0.695 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.5679, allocations: 106.7 kB / 0.6951 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.568, allocations: 106.9 kB / 0.6952 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.864e-05/0.568, allocations: 178 kB / 0.6954 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.568, allocations: 186 kB / 0.6956 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.907e-05/0.5681, allocations: 178 kB / 0.6958 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.901e-05/0.5681, allocations: 182.2 kB / 0.6959 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.982e-05/0.5682, allocations: 309.9 kB / 0.6962 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.5683, allocations: 197.7 kB / 0.6964 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.5683, allocations: 179.2 kB / 0.6966 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.5684, allocations: 105.6 kB / 0.6967 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.5684, allocations: 182 kB / 0.6969 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.5685, allocations: 106.9 kB / 0.697 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.034e-05/0.5685, allocations: 105.7 kB / 0.6971 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.89e-07/0.5686, allocations: 0 / 0.6971 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001135/0.5697, allocations: 283 kB / 0.6973 GB, free: 5.852 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.001366/0.5711, allocations: 0.5257 MB / 0.6978 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.5713, allocations: 40.59 kB / 0.6979 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.909e-06/0.5713, allocations: 0 / 0.6979 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.622e-06/0.5713, allocations: 0 / 0.6979 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5716, allocations: 0.5358 MB / 0.6984 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.5719, allocations: 268 kB / 0.6987 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.572, allocations: 0.6889 MB / 0.6993 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.5721, allocations: 0.6094 kB / 0.6993 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.5721, allocations: 9.625 kB / 0.6993 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of SimCode: time 1.315e-06/0.5721, allocations: 0 / 0.6993 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of Templates: time 0.01314/0.5852, allocations: 5.71 MB / 0.7049 GB, free: 1.945 MB / 0.5261 GB