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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") 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.399/1.399, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001929/0.001929, allocations: 178.2 kB / 330.8 MB, free: 456 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.525/1.525, allocations: 225.7 MB / 0.6016 GB, free: 15.92 MB / 442.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.0007716/0.0007716, allocations: 101.4 kB / 0.709 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 12.91 kB / 0.8262 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1801, allocations: 109.2 MB / 0.9328 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001155/0.1813, allocations: 1.145 MB / 0.9339 GB, free: 22.86 MB / 0.5886 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.003435/0.1847, allocations: 4.326 MB / 0.9382 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.1848, allocations: 4 kB / 0.9382 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1848, allocations: 7.875 kB / 0.9382 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.89e-05/0.1848, allocations: 15.91 kB / 0.9382 GB, free: 18.14 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.002951/0.1878, allocations: 1.96 MB / 0.9401 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.1879, allocations: 43.73 kB / 0.9401 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.1879, allocations: 3.984 kB / 0.9401 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.188, allocations: 15.92 kB / 0.9402 GB, free: 16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.188, allocations: 15.88 kB / 0.9402 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.188, allocations: 7.938 kB / 0.9402 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1897, allocations: 1.412 MB / 0.9416 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1897, allocations: 7.938 kB / 0.9416 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1898, allocations: 45.58 kB / 0.9416 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1909, allocations: 1.139 MB / 0.9427 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1909, allocations: 0 / 0.9427 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1909, allocations: 0 / 0.9427 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.1909, allocations: 0 / 0.9427 GB, free: 13.37 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.0003996/0.1913, allocations: 0.5108 MB / 0.9432 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1914, allocations: 12.03 kB / 0.9432 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.1914, allocations: 84.11 kB / 0.9433 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.1915, allocations: 247.5 kB / 0.9435 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1915, allocations: 154.9 kB / 0.9437 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1916, allocations: 158.9 kB / 0.9438 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.827e-05/0.1916, allocations: 105.1 kB / 0.9439 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1916, allocations: 75.28 kB / 0.944 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1917, allocations: 150.6 kB / 0.9442 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.1917, allocations: 154.6 kB / 0.9443 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.1917, allocations: 154.5 kB / 0.9445 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1919, allocations: 465.9 kB / 0.9449 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.1919, allocations: 177.1 kB / 0.9451 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.192, allocations: 88.08 kB / 0.9452 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.192, allocations: 79.27 kB / 0.9452 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.192, allocations: 109.8 kB / 0.9453 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.192, allocations: 0 / 0.9453 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.825e-05/0.1921, allocations: 33.61 kB / 0.9454 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.1921, allocations: 130.6 kB / 0.9455 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.1922, allocations: 133.6 kB / 0.9456 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1922, allocations: 29.7 kB / 0.9456 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.1923, allocations: 96.12 kB / 0.9457 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-06/0.1923, allocations: 0 / 0.9457 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.1923, allocations: 3.938 kB / 0.9457 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.1923, allocations: 310.8 kB / 0.946 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.1923, allocations: 8 kB / 0.946 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.1924, allocations: 4 kB / 0.9461 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.1924, allocations: 20.84 kB / 0.9461 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1924, allocations: 4.031 kB / 0.9461 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.781e-05/0.1925, allocations: 53.48 kB / 0.9461 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1925, allocations: 8 kB / 0.9461 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1925, allocations: 0 / 0.9461 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1926, allocations: 0 / 0.9461 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1926, allocations: 4 kB / 0.9461 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1926, allocations: 0 / 0.9461 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1926, allocations: 3.938 kB / 0.9461 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1926, allocations: 0 / 0.9461 GB, free: 9.633 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.066e-05/0.1927, allocations: 193.8 kB / 0.9463 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1927, allocations: 112.8 kB / 0.9464 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.1927, allocations: 112.8 kB / 0.9465 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.1928, allocations: 176.3 kB / 0.9467 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/0.1928, allocations: 180.2 kB / 0.9469 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.1928, allocations: 184.3 kB / 0.9471 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.193, allocations: 417.2 kB / 0.9475 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.193, allocations: 116.9 kB / 0.9476 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.193, allocations: 101 kB / 0.9477 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/0.193, allocations: 184.3 kB / 0.9478 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1931, allocations: 180.2 kB / 0.948 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.1931, allocations: 184.3 kB / 0.9482 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.32e-05/0.1931, allocations: 184.2 kB / 0.9484 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.964e-05/0.1932, allocations: 307.7 kB / 0.9487 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.1932, allocations: 190 kB / 0.9488 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1933, allocations: 176.3 kB / 0.949 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.1933, allocations: 108.9 kB / 0.9491 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1933, allocations: 180.2 kB / 0.9493 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1934, allocations: 112.9 kB / 0.9494 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.1934, allocations: 107.7 kB / 0.9495 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1934, allocations: 0 / 0.9495 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005561/0.194, allocations: 287.7 kB / 0.9498 GB, free: 5.691 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.0009236/0.1949, allocations: 0.5584 MB / 0.9503 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.195, allocations: 41.69 kB / 0.9504 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.195, allocations: 0 / 0.9504 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.195, allocations: 8.062 kB / 0.9504 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1953, allocations: 0.524 MB / 0.9509 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.1955, allocations: 267.6 kB / 0.9511 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.1957, allocations: 0.6848 MB / 0.9518 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.322e-05/0.1957, allocations: 3.984 kB / 0.9518 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.1957, allocations: 11.44 kB / 0.9518 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/0.1957, allocations: 0 / 0.9518 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of Templates: time 0.008573/0.2043, allocations: 5.788 MB / 0.9575 GB, free: 13.79 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)