Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 255.9 MB / 271.2 MB, free: 8.906 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 195.2 kB / 330.8 MB, free: 460 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.84/1.84, allocations: 225.7 MB / 0.6016 GB, free: 1.805 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 103.6 kB / 0.709 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 9.188 kB / 0.8262 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1804, allocations: 109.2 MB / 0.9328 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001227/0.1817, allocations: 1.149 MB / 0.9339 GB, free: 23.15 MB / 0.5886 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.003836/0.1856, allocations: 4.322 MB / 0.9382 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.1856, allocations: 0 / 0.9382 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.1856, allocations: 3.938 kB / 0.9382 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.1857, allocations: 11.92 kB / 0.9382 GB, free: 18.45 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.1891, allocations: 1.967 MB / 0.9401 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.1892, allocations: 43.72 kB / 0.9401 GB, free: 16.31 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.1892, allocations: 11.98 kB / 0.9401 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.1892, allocations: 11.94 kB / 0.9402 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.1893, allocations: 23.86 kB / 0.9402 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.1893, allocations: 0 / 0.9402 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1912, allocations: 1.416 MB / 0.9416 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1913, allocations: 7.938 kB / 0.9416 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.1913, allocations: 45.58 kB / 0.9416 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.1928, allocations: 1.131 MB / 0.9427 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1929, allocations: 0 / 0.9427 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1929, allocations: 4 kB / 0.9427 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.1929, allocations: 0 / 0.9427 GB, free: 13.65 MB / 0.5886 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.0005709/0.1934, allocations: 0.5147 MB / 0.9432 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1935, allocations: 8.031 kB / 0.9432 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1935, allocations: 88.06 kB / 0.9433 GB, free: 13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.1936, allocations: 251.5 kB / 0.9436 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1936, allocations: 154.9 kB / 0.9437 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1937, allocations: 154.9 kB / 0.9438 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.888e-05/0.1937, allocations: 113 kB / 0.944 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1937, allocations: 75.28 kB / 0.944 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1938, allocations: 154.6 kB / 0.9442 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.1938, allocations: 150.6 kB / 0.9443 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.1938, allocations: 154.6 kB / 0.9445 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.194, allocations: 461.9 kB / 0.9449 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.1941, allocations: 169.1 kB / 0.9451 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.1941, allocations: 80.14 kB / 0.9451 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1941, allocations: 83.27 kB / 0.9452 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1941, allocations: 113.8 kB / 0.9453 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1941, allocations: 0 / 0.9453 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/0.1942, allocations: 41.59 kB / 0.9454 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1943, allocations: 130.6 kB / 0.9455 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1944, allocations: 129.6 kB / 0.9456 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.1944, allocations: 25.7 kB / 0.9456 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.1944, allocations: 96.14 kB / 0.9457 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.1944, allocations: 0 / 0.9457 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1945, allocations: 3.938 kB / 0.9457 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.1945, allocations: 318.8 kB / 0.946 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.1945, allocations: 4 kB / 0.946 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.1946, allocations: 4 kB / 0.946 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.1946, allocations: 12.86 kB / 0.9461 GB, free: 10 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1946, allocations: 0 / 0.9461 GB, free: 10 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001102/0.1947, allocations: 61.47 kB / 0.9461 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1947, allocations: 4.062 kB / 0.9461 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.1948, allocations: 8 kB / 0.9461 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1948, allocations: 0 / 0.9461 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.1948, allocations: 0 / 0.9461 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1948, allocations: 0 / 0.9461 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.1948, allocations: 7.938 kB / 0.9461 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1948, allocations: 0 / 0.9461 GB, free: 9.914 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1949, allocations: 185.8 kB / 0.9463 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.1949, allocations: 116.8 kB / 0.9464 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.195, allocations: 116.8 kB / 0.9465 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.195, allocations: 176.3 kB / 0.9467 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/0.195, allocations: 176.3 kB / 0.9469 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.195, allocations: 188.2 kB / 0.9471 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1952, allocations: 409.3 kB / 0.9474 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.1952, allocations: 116.8 kB / 0.9476 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.1952, allocations: 113 kB / 0.9477 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.1953, allocations: 180.3 kB / 0.9478 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.1953, allocations: 188.2 kB / 0.948 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-05/0.1953, allocations: 176.3 kB / 0.9482 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.993e-05/0.1954, allocations: 184.2 kB / 0.9484 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/0.1954, allocations: 307.7 kB / 0.9487 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1955, allocations: 190 kB / 0.9488 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1955, allocations: 180.3 kB / 0.949 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.1956, allocations: 104.9 kB / 0.9491 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.1956, allocations: 180.3 kB / 0.9493 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1956, allocations: 101 kB / 0.9494 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1957, allocations: 115.7 kB / 0.9495 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1957, allocations: 0 / 0.9495 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007045/0.1964, allocations: 287.7 kB / 0.9498 GB, free: 5.977 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.1975, allocations: 0.57 MB / 0.9503 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.1976, allocations: 41.7 kB / 0.9504 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1977, allocations: 0 / 0.9504 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.1977, allocations: 0 / 0.9504 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.198, allocations: 0.5361 MB / 0.9509 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.1982, allocations: 264.1 kB / 0.9511 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1983, allocations: 0.6848 MB / 0.9518 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.1984, allocations: 0 / 0.9518 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.1984, allocations: 11.44 kB / 0.9518 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.1984, allocations: 0 / 0.9518 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of Templates: time 0.009084/0.2075, allocations: 5.786 MB / 0.9575 GB, free: 14.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)