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.01041/0.01041, allocations: 219.4 kB / 15.17 MB, free: 6 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.001173/0.001173, allocations: 178.4 kB / 16.06 MB, free: 5.871 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.487/3.487, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.049/4.049, allocations: 472.3 MB / 0.9018 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005083, allocations: 16 kB / 1.008 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5447, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001379/0.5461, allocations: 1.146 MB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003903/0.5501, allocations: 2.709 MB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.5501, allocations: 0 / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.5502, allocations: 2.25 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.5502, allocations: 19.58 kB / 1.108 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.5539, allocations: 1.315 MB / 1.109 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.554, allocations: 43.16 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.554, allocations: 5.031 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.666e-05/0.5541, allocations: 12.09 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.5541, allocations: 17.91 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.5541, allocations: 1.406 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.5563, allocations: 1.264 MB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-06/0.5563, allocations: 1.719 kB / 1.11 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.5564, allocations: 35.08 kB / 1.111 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.5575, allocations: 0.7177 MB / 1.111 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.199e-06/0.5575, allocations: 0 / 1.111 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5575, allocations: 1.094 kB / 1.111 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5576, allocations: 2.812 kB / 1.111 GB, free: 209.3 MB / 0.7292 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.0004945/0.5581, allocations: 0.5151 MB / 1.112 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5581, allocations: 9.25 kB / 1.112 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.5582, allocations: 78.14 kB / 1.112 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.5583, allocations: 252.7 kB / 1.112 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.5583, allocations: 155.6 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.5583, allocations: 150.6 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.049e-05/0.5584, allocations: 109.5 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5584, allocations: 78.94 kB / 1.113 GB, free: 208 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5585, allocations: 153.6 kB / 1.113 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.5585, allocations: 162.9 kB / 1.113 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.5585, allocations: 150.6 kB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.5587, allocations: 461.8 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.367e-05/0.5588, allocations: 172.5 kB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.5588, allocations: 80.19 kB / 1.114 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.5588, allocations: 80.38 kB / 1.114 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5589, allocations: 108.5 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.568e-06/0.5589, allocations: 0 / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.085e-05/0.559, allocations: 33.64 kB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.559, allocations: 134.3 kB / 1.114 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5591, allocations: 136.1 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-06/0.5591, allocations: 25.7 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.5592, allocations: 94.92 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-06/0.5592, allocations: 0 / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-06/0.5592, allocations: 0 / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.5593, allocations: 319.5 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.5593, allocations: 7.219 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.5593, allocations: 2.5 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.5594, allocations: 13.12 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-06/0.5594, allocations: 0 / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.5595, allocations: 50.77 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5596, allocations: 8.406 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.5596, allocations: 3.438 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5596, allocations: 0 / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.444e-06/0.5596, allocations: 0 / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.624e-06/0.5597, allocations: 4.531 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.5597, allocations: 7.859 kB / 1.115 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.5597, allocations: 1.594 kB / 1.115 GB, free: 205.8 MB / 0.7292 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.373e-05/0.5598, allocations: 197 kB / 1.115 GB, free: 205.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.5598, allocations: 106.5 kB / 1.115 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.5599, allocations: 116 kB / 1.115 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.5599, allocations: 181.7 kB / 1.115 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/0.56, allocations: 177.4 kB / 1.115 GB, free: 205 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.56, allocations: 183 kB / 1.116 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5602, allocations: 419 kB / 1.116 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.5602, allocations: 106.2 kB / 1.116 GB, free: 204.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.5602, allocations: 106.3 kB / 1.116 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-05/0.5603, allocations: 179.7 kB / 1.116 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.5603, allocations: 184.8 kB / 1.116 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.677e-05/0.5603, allocations: 177.5 kB / 1.117 GB, free: 203.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.774e-05/0.5604, allocations: 183.2 kB / 1.117 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.696e-05/0.5605, allocations: 323 kB / 1.117 GB, free: 203.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.5605, allocations: 188.5 kB / 1.117 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.5606, allocations: 181.5 kB / 1.117 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.5606, allocations: 105.8 kB / 1.118 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.5607, allocations: 183.6 kB / 1.118 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.5607, allocations: 105.5 kB / 1.118 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.5608, allocations: 101.2 kB / 1.118 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.21e-07/0.5608, allocations: 1.094 kB / 1.118 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008061/0.5616, allocations: 272.3 kB / 1.118 GB, free: 202.2 MB / 0.7292 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.001139/0.5628, allocations: 0.5245 MB / 1.119 GB, free: 202 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.5629, allocations: 42.95 kB / 1.119 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.198e-06/0.5629, allocations: 0 / 1.119 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-06/0.5629, allocations: 1.469 kB / 1.119 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.5633, allocations: 0.53 MB / 1.119 GB, free: 201.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.5636, allocations: 266.2 kB / 1.12 GB, free: 201.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.5637, allocations: 0.6861 MB / 1.12 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.5637, allocations: 0 / 1.12 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-06/0.5638, allocations: 10.06 kB / 1.12 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.211e-06/0.5638, allocations: 0 / 1.12 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.01345/0.5772, allocations: 5.709 MB / 1.126 GB, free: 200.4 MB / 0.7292 GB