Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_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.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_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.0/package.mo): time 1.644/1.644, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.0009737/0.000974, allocations: 188 kB / 375.4 MB, free: 5.133 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.474/1.474, allocations: 225.7 MB / 0.6538 GB, free: 13.58 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.0008305/0.0008306, allocations: 101.8 kB / 0.7699 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.000463, allocations: 16.78 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7786, allocations: 118.1 MB / 1.011 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001549/0.7802, allocations: 1.138 MB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003869/0.7841, allocations: 2.692 MB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.7842, allocations: 3.5 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.7842, allocations: 3.797 kB / 1.015 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.076e-05/0.7843, allocations: 12.28 kB / 1.015 GB, free: 57.16 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.003407/0.7877, allocations: 1.305 MB / 1.016 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.7878, allocations: 38.59 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.7878, allocations: 7.641 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.005e-05/0.7879, allocations: 15.94 kB / 1.016 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.7879, allocations: 13.98 kB / 1.016 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.7879, allocations: 0.7812 kB / 1.016 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.7897, allocations: 1.227 MB / 1.017 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.7897, allocations: 13.86 kB / 1.017 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.7898, allocations: 29.86 kB / 1.017 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.7906, allocations: 0.6965 MB / 1.018 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7906, allocations: 4.125 kB / 1.018 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7906, allocations: 0 / 1.018 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7906, allocations: 0.7812 kB / 1.018 GB, free: 56.85 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.0004995/0.7911, allocations: 0.5114 MB / 1.018 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7912, allocations: 11.56 kB / 1.018 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.7912, allocations: 80.69 kB / 1.019 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7913, allocations: 254.3 kB / 1.019 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.7914, allocations: 150.9 kB / 1.019 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.7914, allocations: 154.4 kB / 1.019 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.142e-05/0.7915, allocations: 108.5 kB / 1.019 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.7915, allocations: 75.28 kB / 1.019 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.7916, allocations: 151.9 kB / 1.019 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.7916, allocations: 154.2 kB / 1.02 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.7916, allocations: 155.9 kB / 1.02 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.7919, allocations: 464.1 kB / 1.02 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.7919, allocations: 169.2 kB / 1.02 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.792, allocations: 80.14 kB / 1.02 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.792, allocations: 77.06 kB / 1.02 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.792, allocations: 113.8 kB / 1.021 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.854e-06/0.792, allocations: 4.094 kB / 1.021 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.09e-05/0.7921, allocations: 40.14 kB / 1.021 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.7921, allocations: 129.6 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.7922, allocations: 135.9 kB / 1.021 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.7923, allocations: 26.23 kB / 1.021 GB, free: 53.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.7923, allocations: 90.7 kB / 1.021 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.7923, allocations: 2.375 kB / 1.021 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.7923, allocations: 0 / 1.021 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.7924, allocations: 320.3 kB / 1.021 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.7924, allocations: 2.531 kB / 1.021 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.7924, allocations: 3.281 kB / 1.021 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.7924, allocations: 22.5 kB / 1.021 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7925, allocations: 0 / 1.021 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.7926, allocations: 53.48 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.7926, allocations: 7.562 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.7926, allocations: 1.188 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7926, allocations: 3.156 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.7926, allocations: 0.5625 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.7926, allocations: 0 / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.7927, allocations: 3.766 kB / 1.021 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.7927, allocations: 4.594 kB / 1.021 GB, free: 53.4 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 5.69e-05/0.7928, allocations: 181.1 kB / 1.022 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.7928, allocations: 120.7 kB / 1.022 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.7928, allocations: 111.2 kB / 1.022 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.7929, allocations: 176.8 kB / 1.022 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.7929, allocations: 181.7 kB / 1.022 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/0.7929, allocations: 182 kB / 1.022 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.7931, allocations: 417 kB / 1.023 GB, free: 52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.7931, allocations: 106.8 kB / 1.023 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.7931, allocations: 105 kB / 1.023 GB, free: 51.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/0.7932, allocations: 184.5 kB / 1.023 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.7932, allocations: 181.8 kB / 1.023 GB, free: 51.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-05/0.7932, allocations: 186.9 kB / 1.023 GB, free: 51.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.222e-05/0.7932, allocations: 179.1 kB / 1.024 GB, free: 51.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.7933, allocations: 315.5 kB / 1.024 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.7934, allocations: 186 kB / 1.024 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.7934, allocations: 186.7 kB / 1.024 GB, free: 50.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.7935, allocations: 104.5 kB / 1.024 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.7935, allocations: 187.9 kB / 1.025 GB, free: 50.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.7935, allocations: 104.9 kB / 1.025 GB, free: 49.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.7936, allocations: 96.41 kB / 1.025 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7936, allocations: 0 / 1.025 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006444/0.7942, allocations: 278.8 kB / 1.025 GB, free: 49.81 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.0009597/0.7952, allocations: 0.5184 MB / 1.026 GB, free: 49.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.7953, allocations: 39.22 kB / 1.026 GB, free: 49.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7953, allocations: 0 / 1.026 GB, free: 49.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.7953, allocations: 3.938 kB / 1.026 GB, free: 49.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.7956, allocations: 0.5365 MB / 1.026 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002509/0.7959, allocations: 260.1 kB / 1.026 GB, free: 48.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.796, allocations: 0.686 MB / 1.027 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.796, allocations: 5.953 kB / 1.027 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.796, allocations: 7.438 kB / 1.027 GB, free: 48.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7961, allocations: 4 kB / 1.027 GB, free: 48.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.008569/0.8046, allocations: 5.55 MB / 1.032 GB, free: 47.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)