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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") 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.415/1.415, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001067/0.001067, allocations: 183.5 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.623/1.623, allocations: 225.7 MB / 0.6016 GB, free: 1.52 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.0008509/0.0008508, allocations: 95.66 kB / 0.709 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 11.94 kB / 0.8262 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2731, allocations: 109.2 MB / 0.9328 GB, free: 6.199 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00144/0.2747, allocations: 1.141 MB / 0.9339 GB, free: 5.051 MB / 0.573 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.003926/0.2786, allocations: 4.275 MB / 0.9381 GB, free: 420 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.2787, allocations: 4 kB / 0.9381 GB, free: 416 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.2787, allocations: 3.984 kB / 0.9381 GB, free: 412 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.2788, allocations: 7.875 kB / 0.9381 GB, free: 404 kB / 0.573 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.2828, allocations: 1.941 MB / 0.94 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.2829, allocations: 43.73 kB / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.2829, allocations: 3.984 kB / 0.9401 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.283, allocations: 11.94 kB / 0.9401 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.358e-05/0.283, allocations: 23.86 kB / 0.9401 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.283, allocations: 0 / 0.9401 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2853, allocations: 1.373 MB / 0.9414 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.2853, allocations: 15.97 kB / 0.9415 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.2854, allocations: 49.52 kB / 0.9415 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.2869, allocations: 1.096 MB / 0.9426 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2869, allocations: 4 kB / 0.9426 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2869, allocations: 0 / 0.9426 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.287, allocations: 0 / 0.9426 GB, free: 11.7 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.0006007/0.2876, allocations: 0.5069 MB / 0.9431 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2876, allocations: 8.031 kB / 0.9431 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.2877, allocations: 84.12 kB / 0.9432 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.2879, allocations: 259.4 kB / 0.9434 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.288, allocations: 154.9 kB / 0.9435 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.2881, allocations: 150.9 kB / 0.9437 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.2881, allocations: 109.1 kB / 0.9438 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.2882, allocations: 87.2 kB / 0.9439 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.2882, allocations: 154.6 kB / 0.944 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.2883, allocations: 154.6 kB / 0.9442 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.2884, allocations: 150.6 kB / 0.9443 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.2887, allocations: 465.9 kB / 0.9448 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.2888, allocations: 165.1 kB / 0.9449 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.2889, allocations: 84.14 kB / 0.945 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.2889, allocations: 75.28 kB / 0.9451 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.2889, allocations: 113.8 kB / 0.9452 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.289, allocations: 0 / 0.9452 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 8.405e-05/0.289, allocations: 33.55 kB / 0.9452 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.2891, allocations: 134.7 kB / 0.9453 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2893, allocations: 137.7 kB / 0.9455 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2893, allocations: 25.7 kB / 0.9455 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2893, allocations: 88.14 kB / 0.9456 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.2894, allocations: 0 / 0.9456 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.2894, allocations: 0 / 0.9456 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2895, allocations: 318.8 kB / 0.9459 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.2895, allocations: 8 kB / 0.9459 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.2895, allocations: 0 / 0.9459 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.2896, allocations: 16.89 kB / 0.9459 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2896, allocations: 0 / 0.9459 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.2897, allocations: 57.47 kB / 0.946 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2897, allocations: 4 kB / 0.946 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.2898, allocations: 4 kB / 0.946 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2898, allocations: 0 / 0.946 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2898, allocations: 0 / 0.946 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2898, allocations: 0 / 0.946 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.2898, allocations: 4 kB / 0.946 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2899, allocations: 0 / 0.946 GB, free: 7.984 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 9.639e-05/0.29, allocations: 186.3 kB / 0.9462 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.29, allocations: 116.8 kB / 0.9463 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.2901, allocations: 120.6 kB / 0.9464 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.2902, allocations: 176.3 kB / 0.9465 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-05/0.2903, allocations: 180.2 kB / 0.9467 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/0.2903, allocations: 180.3 kB / 0.9469 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2906, allocations: 421.1 kB / 0.9473 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.244e-05/0.2906, allocations: 108.9 kB / 0.9474 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.2907, allocations: 105.1 kB / 0.9475 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.96e-05/0.2908, allocations: 192.2 kB / 0.9477 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.2908, allocations: 176.3 kB / 0.9478 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.954e-05/0.2909, allocations: 184.3 kB / 0.948 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-05/0.291, allocations: 184.2 kB / 0.9482 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.2912, allocations: 303.8 kB / 0.9485 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2913, allocations: 189.9 kB / 0.9487 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.2914, allocations: 184.2 kB / 0.9488 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.2915, allocations: 108.9 kB / 0.949 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.2916, allocations: 176.3 kB / 0.9491 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.2916, allocations: 104.9 kB / 0.9492 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.2917, allocations: 99.27 kB / 0.9493 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2917, allocations: 0 / 0.9493 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009011/0.2926, allocations: 283.8 kB / 0.9496 GB, free: 4.059 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.001182/0.2938, allocations: 0.561 MB / 0.9501 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.2939, allocations: 37.7 kB / 0.9502 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2939, allocations: 0 / 0.9502 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.2939, allocations: 3.984 kB / 0.9502 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2944, allocations: 0.5341 MB / 0.9507 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2947, allocations: 252.5 kB / 0.9509 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.295, allocations: 0.6886 MB / 0.9516 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.295, allocations: 0 / 0.9516 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.295, allocations: 11.44 kB / 0.9516 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of SimCode: time 3.21e-07/0.295, allocations: 0 / 0.9516 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of Templates: time 0.009475/0.3045, allocations: 5.57 MB / 0.9571 GB, free: 12.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)