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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") 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.713/1.713, allocations: 292.6 MB / 307.8 MB, free: 7.176 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.001021/0.00102, allocations: 176.6 kB / 376.5 MB, free: 4.461 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.467/1.467, allocations: 225.7 MB / 0.655 GB, free: 13.17 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.0007767/0.0007767, allocations: 96.84 kB / 0.7711 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 12 kB / 0.8971 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.73, allocations: 118.2 MB / 1.012 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001518/0.7316, allocations: 1.14 MB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.7355, allocations: 2.699 MB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.7355, allocations: 1.312 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.7356, allocations: 7.812 kB / 1.016 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.7357, allocations: 14.58 kB / 1.016 GB, free: 57.55 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.7395, allocations: 1.374 MB / 1.018 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.7396, allocations: 42.02 kB / 1.018 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.7397, allocations: 3.844 kB / 1.018 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.7397, allocations: 13.78 kB / 1.018 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.7397, allocations: 16.86 kB / 1.018 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.7398, allocations: 2.938 kB / 1.018 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.7419, allocations: 1.41 MB / 1.019 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.742, allocations: 7.828 kB / 1.019 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.742, allocations: 38.98 kB / 1.019 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.7431, allocations: 0.7982 MB / 1.02 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7432, allocations: 0 / 1.02 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7432, allocations: 2.375 kB / 1.02 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7432, allocations: 0 / 1.02 GB, free: 57.21 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.000534/0.7437, allocations: 0.5155 MB / 1.02 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7438, allocations: 10.38 kB / 1.02 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.7438, allocations: 82.78 kB / 1.02 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.744, allocations: 248.7 kB / 1.021 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.744, allocations: 150.9 kB / 1.021 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.744, allocations: 156.7 kB / 1.021 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.494e-05/0.7441, allocations: 108 kB / 1.021 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.7441, allocations: 78.97 kB / 1.021 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.7442, allocations: 157.9 kB / 1.021 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.7442, allocations: 154.5 kB / 1.021 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.7442, allocations: 156.2 kB / 1.022 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.7444, allocations: 461.3 kB / 1.022 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.7445, allocations: 167 kB / 1.022 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.7445, allocations: 80.14 kB / 1.022 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.7445, allocations: 83.47 kB / 1.022 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.7446, allocations: 115.4 kB / 1.022 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7446, allocations: 3 kB / 1.022 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.904e-05/0.7447, allocations: 29.61 kB / 1.022 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.7447, allocations: 130.4 kB / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7448, allocations: 131.5 kB / 1.023 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.7448, allocations: 26.36 kB / 1.023 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.7449, allocations: 94.66 kB / 1.023 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.7449, allocations: 0 / 1.023 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.7449, allocations: 0.9375 kB / 1.023 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.745, allocations: 321.3 kB / 1.023 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.745, allocations: 4.344 kB / 1.023 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.745, allocations: 6.906 kB / 1.023 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.7451, allocations: 18.8 kB / 1.023 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7451, allocations: 0 / 1.023 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/0.7452, allocations: 56.38 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7452, allocations: 5.625 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.7453, allocations: 3.375 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7453, allocations: 2.719 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.7453, allocations: 2.406 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7453, allocations: 0 / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.7453, allocations: 7.844 kB / 1.023 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7453, allocations: 6.391 kB / 1.023 GB, free: 53.77 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 8.187e-05/0.7454, allocations: 184.6 kB / 1.023 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.7455, allocations: 111.8 kB / 1.024 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.7455, allocations: 111.7 kB / 1.024 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/0.7456, allocations: 181.7 kB / 1.024 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/0.7456, allocations: 183.3 kB / 1.024 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-05/0.7457, allocations: 179.5 kB / 1.024 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.7458, allocations: 422.2 kB / 1.025 GB, free: 52.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.7459, allocations: 104.9 kB / 1.025 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.7459, allocations: 104.9 kB / 1.025 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.395e-05/0.7459, allocations: 182.5 kB / 1.025 GB, free: 51.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.746, allocations: 177.3 kB / 1.025 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.64e-05/0.746, allocations: 184.5 kB / 1.025 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-05/0.7461, allocations: 183.6 kB / 1.025 GB, free: 51.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.7462, allocations: 311.6 kB / 1.026 GB, free: 51.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.7462, allocations: 189.8 kB / 1.026 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.7463, allocations: 190.3 kB / 1.026 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.7463, allocations: 105 kB / 1.026 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.7464, allocations: 180.2 kB / 1.026 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.7464, allocations: 103.8 kB / 1.027 GB, free: 50.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.7465, allocations: 101.5 kB / 1.027 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7465, allocations: 0 / 1.027 GB, free: 50.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008153/0.7473, allocations: 291.2 kB / 1.027 GB, free: 50.18 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.001179/0.7485, allocations: 0.5753 MB / 1.027 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.7486, allocations: 41.83 kB / 1.027 GB, free: 49.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7486, allocations: 3.812 kB / 1.027 GB, free: 49.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.7486, allocations: 4 kB / 1.027 GB, free: 49.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.749, allocations: 0.5295 MB / 1.028 GB, free: 49.38 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.7492, allocations: 260.4 kB / 1.028 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.7494, allocations: 0.6859 MB / 1.029 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.7494, allocations: 0 / 1.029 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.7494, allocations: 10.41 kB / 1.029 GB, free: 48.47 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7494, allocations: 3.938 kB / 1.029 GB, free: 48.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.009416/0.7588, allocations: 5.787 MB / 1.035 GB, free: 48.09 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)