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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.1-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.0009966/0.0009967, allocations: 178 kB / 382.3 MB, free: 14.83 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.477/1.477, allocations: 225.7 MB / 0.6617 GB, free: 7.156 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.0009121/0.0009121, allocations: 97.62 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 8.594 kB / 0.9059 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6294, allocations: 119.2 MB / 1.022 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001552/0.631, allocations: 1.156 MB / 1.023 GB, free: 57.43 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004377/0.6354, allocations: 4.32 MB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.6355, allocations: 0.8125 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.6355, allocations: 5.25 kB / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.6356, allocations: 17.42 kB / 1.028 GB, free: 53.93 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/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.003729/0.6393, allocations: 1.966 MB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.6394, allocations: 46.77 kB / 1.03 GB, free: 52.56 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.6394, allocations: 3.875 kB / 1.03 GB, free: 52.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.6395, allocations: 12.59 kB / 1.03 GB, free: 52.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.864e-05/0.6395, allocations: 21.05 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.6395, allocations: 0 / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.6418, allocations: 1.413 MB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.6418, allocations: 5.906 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.6419, allocations: 49.81 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.6433, allocations: 1.134 MB / 1.032 GB, free: 51.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6433, allocations: 0 / 1.032 GB, free: 51.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6433, allocations: 0 / 1.032 GB, free: 51.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.6434, allocations: 0 / 1.032 GB, free: 51.81 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.0004892/0.6438, allocations: 0.517 MB / 1.033 GB, free: 51.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6439, allocations: 10.88 kB / 1.033 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.6439, allocations: 80.12 kB / 1.033 GB, free: 51.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.644, allocations: 251.5 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.6441, allocations: 154.9 kB / 1.033 GB, free: 50.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.6441, allocations: 150.9 kB / 1.033 GB, free: 50.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.399e-05/0.6442, allocations: 107.4 kB / 1.033 GB, free: 50.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6442, allocations: 77.41 kB / 1.034 GB, free: 50.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.6442, allocations: 154.6 kB / 1.034 GB, free: 50.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.6442, allocations: 150.6 kB / 1.034 GB, free: 50.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.479e-05/0.6443, allocations: 158.5 kB / 1.034 GB, free: 50.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.6445, allocations: 467.7 kB / 1.034 GB, free: 49.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.985e-05/0.6445, allocations: 165.1 kB / 1.035 GB, free: 49.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.6446, allocations: 80.14 kB / 1.035 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.6446, allocations: 79.28 kB / 1.035 GB, free: 49.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.6446, allocations: 113.7 kB / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/0.6446, allocations: 0 / 1.035 GB, free: 49.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.865e-05/0.6447, allocations: 40.06 kB / 1.035 GB, free: 49.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.6447, allocations: 135.2 kB / 1.035 GB, free: 48.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.6448, allocations: 130.3 kB / 1.035 GB, free: 48.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.6449, allocations: 29.7 kB / 1.035 GB, free: 48.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.6449, allocations: 94.27 kB / 1.035 GB, free: 48.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.6449, allocations: 0 / 1.035 GB, free: 48.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.6449, allocations: 0 / 1.035 GB, free: 48.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.645, allocations: 317.4 kB / 1.036 GB, free: 48.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.645, allocations: 2.875 kB / 1.036 GB, free: 48.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.645, allocations: 4.188 kB / 1.036 GB, free: 48.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.6451, allocations: 18.73 kB / 1.036 GB, free: 48.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6451, allocations: 0 / 1.036 GB, free: 48.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.6452, allocations: 59.39 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6452, allocations: 5.125 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.6453, allocations: 3.906 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6453, allocations: 1.156 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.6453, allocations: 0 / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6453, allocations: 4.25 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.6453, allocations: 3.906 kB / 1.036 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.6453, allocations: 3.781 kB / 1.036 GB, free: 48.29 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 6.082e-05/0.6454, allocations: 187.9 kB / 1.036 GB, free: 48.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.6455, allocations: 117.6 kB / 1.036 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.6455, allocations: 111 kB / 1.036 GB, free: 47.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.6455, allocations: 180.9 kB / 1.036 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-05/0.6456, allocations: 177 kB / 1.036 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.6456, allocations: 181 kB / 1.037 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.6457, allocations: 419.8 kB / 1.037 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.6458, allocations: 106.4 kB / 1.037 GB, free: 46.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.6458, allocations: 106.9 kB / 1.037 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.742e-05/0.6458, allocations: 181.5 kB / 1.037 GB, free: 46.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.6459, allocations: 179.8 kB / 1.038 GB, free: 46.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.63e-05/0.6459, allocations: 182.8 kB / 1.038 GB, free: 46.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-05/0.6459, allocations: 184.3 kB / 1.038 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.432e-05/0.646, allocations: 309.8 kB / 1.038 GB, free: 45.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.646, allocations: 194.4 kB / 1.038 GB, free: 45.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6461, allocations: 183.5 kB / 1.039 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.6462, allocations: 108.9 kB / 1.039 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.6462, allocations: 184.3 kB / 1.039 GB, free: 44.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.6462, allocations: 103.5 kB / 1.039 GB, free: 44.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.6463, allocations: 106.1 kB / 1.039 GB, free: 44.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6463, allocations: 0 / 1.039 GB, free: 44.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007925/0.6471, allocations: 286.4 kB / 1.039 GB, free: 44.65 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.001112/0.6482, allocations: 0.5636 MB / 1.04 GB, free: 44.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.6483, allocations: 44.2 kB / 1.04 GB, free: 44.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6483, allocations: 7.875 kB / 1.04 GB, free: 44.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6483, allocations: 64 / 1.04 GB, free: 44.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.6487, allocations: 0.5342 MB / 1.04 GB, free: 43.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.6489, allocations: 256.6 kB / 1.041 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.6491, allocations: 0.6873 MB / 1.041 GB, free: 42.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.6491, allocations: 3.656 kB / 1.041 GB, free: 42.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-06/0.6491, allocations: 7.438 kB / 1.041 GB, free: 42.89 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.6491, allocations: 0 / 1.041 GB, free: 42.89 MB / 0.698 GB Notification: Performance of Templates: time 0.009869/0.659, allocations: 5.771 MB / 1.047 GB, free: 42.46 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)