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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.816/1.816, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001016/0.001017, allocations: 187.1 kB / 375.4 MB, free: 5.129 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.587/1.587, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0008196/0.0008197, allocations: 97.14 kB / 0.7699 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 13 kB / 0.8956 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.667, allocations: 118.1 MB / 1.011 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001505/0.6685, allocations: 1.135 MB / 1.012 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.6721, allocations: 2.699 MB / 1.015 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.6722, allocations: 0 / 1.015 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.6722, allocations: 4.469 kB / 1.015 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.6723, allocations: 15.8 kB / 1.015 GB, free: 57.73 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.00308/0.6754, allocations: 1.29 MB / 1.016 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.6754, allocations: 40.28 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.6755, allocations: 10.14 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.6755, allocations: 17.86 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.435e-05/0.6755, allocations: 11.36 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.6756, allocations: 2.156 kB / 1.016 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.6772, allocations: 1.23 MB / 1.017 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.6772, allocations: 4.484 kB / 1.017 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.6773, allocations: 33.02 kB / 1.017 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007795/0.6781, allocations: 0.695 MB / 1.018 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6781, allocations: 1.5 kB / 1.018 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6781, allocations: 0 / 1.018 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.6781, allocations: 2.438 kB / 1.018 GB, free: 57.42 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.0004393/0.6785, allocations: 0.511 MB / 1.018 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6786, allocations: 11.19 kB / 1.018 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.6786, allocations: 93.03 kB / 1.019 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.6787, allocations: 248.9 kB / 1.019 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.6787, allocations: 151.9 kB / 1.019 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.6788, allocations: 151.5 kB / 1.019 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.235e-05/0.6788, allocations: 110.2 kB / 1.019 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6788, allocations: 75.94 kB / 1.019 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6789, allocations: 153.8 kB / 1.019 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.6789, allocations: 150.6 kB / 1.02 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.6789, allocations: 158.7 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.6792, allocations: 463.2 kB / 1.02 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.6792, allocations: 171.3 kB / 1.02 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.6792, allocations: 80.14 kB / 1.02 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.6793, allocations: 79.59 kB / 1.02 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6793, allocations: 112 kB / 1.021 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.6793, allocations: 0 / 1.021 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.021e-05/0.6794, allocations: 44.02 kB / 1.021 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6794, allocations: 126.7 kB / 1.021 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.6796, allocations: 135.5 kB / 1.021 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.6796, allocations: 26.55 kB / 1.021 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.6796, allocations: 92 kB / 1.021 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.6796, allocations: 1.969 kB / 1.021 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.6796, allocations: 0 / 1.021 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.6797, allocations: 321.8 kB / 1.021 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.6797, allocations: 2.906 kB / 1.021 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.6798, allocations: 3.875 kB / 1.021 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.561e-05/0.6798, allocations: 18.97 kB / 1.021 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6798, allocations: 1.219 kB / 1.021 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.6799, allocations: 51.89 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6799, allocations: 5.375 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.68, allocations: 3.531 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.68, allocations: 2.25 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-06/0.68, allocations: 2.75 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.68, allocations: 1.875 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.68, allocations: 5.5 kB / 1.021 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.68, allocations: 0 / 1.021 GB, free: 53.98 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 6.811e-05/0.6801, allocations: 186.6 kB / 1.022 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.6802, allocations: 117.9 kB / 1.022 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.6802, allocations: 113 kB / 1.022 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.6802, allocations: 179.5 kB / 1.022 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/0.6803, allocations: 182.8 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.6803, allocations: 179.3 kB / 1.022 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.6805, allocations: 416.5 kB / 1.023 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.6805, allocations: 107 kB / 1.023 GB, free: 52.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.6805, allocations: 107.9 kB / 1.023 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-05/0.6806, allocations: 181.5 kB / 1.023 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.6806, allocations: 177 kB / 1.023 GB, free: 51.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.298e-05/0.6807, allocations: 186.1 kB / 1.023 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.484e-05/0.6807, allocations: 181.7 kB / 1.024 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.601e-05/0.6808, allocations: 310.5 kB / 1.024 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.6808, allocations: 190.7 kB / 1.024 GB, free: 51.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.6809, allocations: 185.2 kB / 1.024 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.681, allocations: 110.5 kB / 1.024 GB, free: 50.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.681, allocations: 177.1 kB / 1.025 GB, free: 50.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.681, allocations: 106.1 kB / 1.025 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.6811, allocations: 104.8 kB / 1.025 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6811, allocations: 0 / 1.025 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007725/0.6819, allocations: 277.3 kB / 1.025 GB, free: 50.38 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.001089/0.683, allocations: 0.5166 MB / 1.026 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6831, allocations: 39.61 kB / 1.026 GB, free: 50.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6831, allocations: 8 kB / 1.026 GB, free: 50.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-06/0.6831, allocations: 6.812 kB / 1.026 GB, free: 50.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6835, allocations: 0.5386 MB / 1.026 GB, free: 49.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.6839, allocations: 251.8 kB / 1.026 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.6841, allocations: 0.6839 MB / 1.027 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.69e-05/0.6841, allocations: 0 / 1.027 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.6841, allocations: 10.53 kB / 1.027 GB, free: 48.68 MB / 0.7136 GB Notification: Performance of SimCode: time 1.773e-06/0.6841, allocations: 0 / 1.027 GB, free: 48.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.009936/0.694, allocations: 5.553 MB / 1.032 GB, free: 48.33 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)