Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.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 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.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 8.0.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.8 MB, free: 7.117 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.001473/0.001473, allocations: 185 kB / 376.5 MB, free: 4.449 MB / 298.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.475/1.475, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008606/0.0008606, allocations: 95.94 kB / 0.7711 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 16 kB / 0.8971 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6699, allocations: 118.2 MB / 1.012 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001655/0.6716, allocations: 1.134 MB / 1.014 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.6759, allocations: 2.667 MB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.676, allocations: 0 / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.676, allocations: 0.9375 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.6761, allocations: 17.25 kB / 1.016 GB, free: 57.44 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.003521/0.6797, allocations: 1.341 MB / 1.017 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.6797, allocations: 38.19 kB / 1.018 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.6798, allocations: 7.188 kB / 1.018 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.6798, allocations: 9.938 kB / 1.018 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.945e-05/0.6799, allocations: 21.23 kB / 1.018 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.6799, allocations: 0.6562 kB / 1.018 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.6819, allocations: 1.38 MB / 1.019 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.6819, allocations: 0.6562 kB / 1.019 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.6819, allocations: 47.3 kB / 1.019 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009416/0.6829, allocations: 0.7675 MB / 1.02 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.6829, allocations: 0 / 1.02 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6829, allocations: 4.969 kB / 1.02 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6829, allocations: 0 / 1.02 GB, free: 57.1 MB / 0.7136 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.0004629/0.6834, allocations: 0.5096 MB / 1.02 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6834, allocations: 10.84 kB / 1.02 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.6835, allocations: 83.28 kB / 1.02 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.6836, allocations: 252.6 kB / 1.021 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.6837, allocations: 154.8 kB / 1.021 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.6837, allocations: 155.6 kB / 1.021 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.6838, allocations: 110.6 kB / 1.021 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.6838, allocations: 75.28 kB / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.6839, allocations: 152.4 kB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.6839, allocations: 153.3 kB / 1.021 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.6839, allocations: 156.2 kB / 1.021 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.6842, allocations: 461.6 kB / 1.022 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.6842, allocations: 170.5 kB / 1.022 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.6842, allocations: 81.55 kB / 1.022 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.6843, allocations: 75.28 kB / 1.022 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6843, allocations: 116 kB / 1.022 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.6843, allocations: 2.719 kB / 1.022 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.052e-05/0.6844, allocations: 40.05 kB / 1.022 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.6844, allocations: 126.7 kB / 1.022 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6845, allocations: 131.1 kB / 1.023 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.6846, allocations: 28.2 kB / 1.023 GB, free: 54.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.6846, allocations: 91.14 kB / 1.023 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.6846, allocations: 0 / 1.023 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.6846, allocations: 0 / 1.023 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.6847, allocations: 320.3 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.6847, allocations: 4 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.6847, allocations: 4.406 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.6848, allocations: 10.11 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6848, allocations: 4.188 kB / 1.023 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.6849, allocations: 57.95 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6849, allocations: 4.938 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.685, allocations: 4.594 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.685, allocations: 0.6094 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.685, allocations: 0 / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.685, allocations: 0 / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.685, allocations: 5.5 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.685, allocations: 6.406 kB / 1.023 GB, free: 53.66 MB / 0.7136 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 7.186e-05/0.6851, allocations: 183.6 kB / 1.023 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.6852, allocations: 120.9 kB / 1.023 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.6852, allocations: 111.3 kB / 1.024 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6852, allocations: 181.1 kB / 1.024 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/0.6853, allocations: 188 kB / 1.024 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.6853, allocations: 177.5 kB / 1.024 GB, free: 52.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.6855, allocations: 415.5 kB / 1.024 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.6855, allocations: 106.1 kB / 1.025 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.6855, allocations: 111.7 kB / 1.025 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-05/0.6855, allocations: 183.9 kB / 1.025 GB, free: 51.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.6856, allocations: 179.4 kB / 1.025 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-05/0.6856, allocations: 180.2 kB / 1.025 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/0.6856, allocations: 182.4 kB / 1.025 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.6857, allocations: 308 kB / 1.026 GB, free: 50.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.6858, allocations: 189.5 kB / 1.026 GB, free: 50.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.6859, allocations: 182.1 kB / 1.026 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.6859, allocations: 109.9 kB / 1.026 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.686, allocations: 176.3 kB / 1.026 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.686, allocations: 108.2 kB / 1.026 GB, free: 50.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.686, allocations: 95.48 kB / 1.026 GB, free: 50.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.686, allocations: 4.062 kB / 1.026 GB, free: 50.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006897/0.6867, allocations: 286.8 kB / 1.027 GB, free: 50.07 MB / 0.7136 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.001083/0.6878, allocations: 0.5482 MB / 1.027 GB, free: 49.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.6879, allocations: 41.03 kB / 1.027 GB, free: 49.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.688, allocations: 4.062 kB / 1.027 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.688, allocations: 0 / 1.027 GB, free: 49.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.6883, allocations: 0.5355 MB / 1.028 GB, free: 49.28 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.6886, allocations: 259.8 kB / 1.028 GB, free: 49.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.6888, allocations: 0.6834 MB / 1.029 GB, free: 48.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.6888, allocations: 1.156 kB / 1.029 GB, free: 48.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.6888, allocations: 10.34 kB / 1.029 GB, free: 48.37 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6888, allocations: 0 / 1.029 GB, free: 48.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.009127/0.6979, allocations: 5.592 MB / 1.034 GB, free: 47.99 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)