Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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_8_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_8_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 8.1.1-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.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.00116/0.00116, allocations: 185 kB / 382.3 MB, free: 14.82 MB / 314.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.485/1.485, allocations: 225.7 MB / 0.6617 GB, free: 7.215 MB / 490.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.0008638/0.0008638, allocations: 100.6 kB / 0.7789 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 8 kB / 0.9059 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.649, allocations: 119.2 MB / 1.022 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001754/0.6509, allocations: 1.14 MB / 1.023 GB, free: 57.74 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004449/0.6553, allocations: 4.277 MB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.6554, allocations: 4.125 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.6554, allocations: 1.453 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.756e-05/0.6555, allocations: 11.64 kB / 1.028 GB, free: 54.26 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.003466/0.659, allocations: 1.94 MB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.6591, allocations: 40.3 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.6591, allocations: 6.859 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.6591, allocations: 15.17 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.6592, allocations: 18.73 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.6592, allocations: 2.812 kB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.6612, allocations: 1.378 MB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.6612, allocations: 10.42 kB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.6613, allocations: 40.36 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6626, allocations: 1.107 MB / 1.032 GB, free: 52.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6627, allocations: 4 kB / 1.032 GB, free: 52.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6627, allocations: 0 / 1.032 GB, free: 52.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.6627, allocations: 0.6875 kB / 1.032 GB, free: 52.15 MB / 0.698 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.0004671/0.6632, allocations: 0.504 MB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6632, allocations: 18.53 kB / 1.033 GB, free: 51.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.6633, allocations: 80.12 kB / 1.033 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.6634, allocations: 253.8 kB / 1.033 GB, free: 51.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6634, allocations: 155.8 kB / 1.033 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.6634, allocations: 150.9 kB / 1.033 GB, free: 51.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.425e-05/0.6635, allocations: 105.1 kB / 1.033 GB, free: 50.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6635, allocations: 79.28 kB / 1.033 GB, free: 50.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.6635, allocations: 151.1 kB / 1.034 GB, free: 50.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.6635, allocations: 150.6 kB / 1.034 GB, free: 50.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.6636, allocations: 157.3 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.6638, allocations: 459.2 kB / 1.034 GB, free: 49.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.6638, allocations: 169.8 kB / 1.034 GB, free: 49.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.6638, allocations: 85.55 kB / 1.035 GB, free: 49.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.6639, allocations: 75.28 kB / 1.035 GB, free: 49.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6639, allocations: 119 kB / 1.035 GB, free: 49.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6639, allocations: 0 / 1.035 GB, free: 49.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.218e-05/0.664, allocations: 37.3 kB / 1.035 GB, free: 49.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.664, allocations: 126.7 kB / 1.035 GB, free: 49.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.6641, allocations: 127.9 kB / 1.035 GB, free: 49.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.6641, allocations: 29.7 kB / 1.035 GB, free: 49.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.6642, allocations: 95.88 kB / 1.035 GB, free: 49.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.6642, allocations: 0 / 1.035 GB, free: 49.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.6642, allocations: 0 / 1.035 GB, free: 49.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.6643, allocations: 317.5 kB / 1.035 GB, free: 48.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.6643, allocations: 6.312 kB / 1.035 GB, free: 48.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.6643, allocations: 3.25 kB / 1.035 GB, free: 48.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.6643, allocations: 20.58 kB / 1.035 GB, free: 48.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.6643, allocations: 0 / 1.035 GB, free: 48.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.6645, allocations: 53.48 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6645, allocations: 4.875 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6645, allocations: 2.938 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6645, allocations: 0 / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.6645, allocations: 3.094 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-06/0.6645, allocations: 3.75 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.6646, allocations: 4.766 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.6646, allocations: 0 / 1.035 GB, free: 48.64 MB / 0.698 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.69e-05/0.6646, allocations: 189.9 kB / 1.036 GB, free: 48.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.6647, allocations: 116.5 kB / 1.036 GB, free: 48.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.6647, allocations: 107 kB / 1.036 GB, free: 48.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.6647, allocations: 186.5 kB / 1.036 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.6648, allocations: 180.9 kB / 1.036 GB, free: 47.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.6648, allocations: 181.9 kB / 1.036 GB, free: 47.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.6649, allocations: 415.1 kB / 1.037 GB, free: 47.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.665, allocations: 104.9 kB / 1.037 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.665, allocations: 112.9 kB / 1.037 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/0.665, allocations: 183.9 kB / 1.037 GB, free: 46.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.665, allocations: 179.9 kB / 1.037 GB, free: 46.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-05/0.6651, allocations: 180.2 kB / 1.038 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.291e-05/0.6651, allocations: 177.8 kB / 1.038 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.194e-05/0.6652, allocations: 312.8 kB / 1.038 GB, free: 45.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.6652, allocations: 190.9 kB / 1.038 GB, free: 45.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.6653, allocations: 184.2 kB / 1.038 GB, free: 45.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.6653, allocations: 105.2 kB / 1.038 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.6654, allocations: 186 kB / 1.039 GB, free: 45.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6654, allocations: 101 kB / 1.039 GB, free: 45.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.6654, allocations: 102.9 kB / 1.039 GB, free: 45.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6654, allocations: 4 kB / 1.039 GB, free: 45.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006353/0.6661, allocations: 283.1 kB / 1.039 GB, free: 45 MB / 0.698 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.0009932/0.6671, allocations: 0.5413 MB / 1.04 GB, free: 44.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.6671, allocations: 43.38 kB / 1.04 GB, free: 44.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6672, allocations: 3.938 kB / 1.04 GB, free: 44.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.6672, allocations: 2.344 kB / 1.04 GB, free: 44.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.6675, allocations: 0.5305 MB / 1.04 GB, free: 44.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.6677, allocations: 268.7 kB / 1.04 GB, free: 43.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.6678, allocations: 0.6818 MB / 1.041 GB, free: 43.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.6679, allocations: 4.875 kB / 1.041 GB, free: 43.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-06/0.6679, allocations: 7.438 kB / 1.041 GB, free: 43.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6679, allocations: 0 / 1.041 GB, free: 43.25 MB / 0.698 GB Notification: Performance of Templates: time 0.00867/0.6766, allocations: 5.58 MB / 1.047 GB, free: 42.81 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)