Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7822/0.7822, allocations: 143.8 MB / 159.1 MB, free: 6.469 MB / 122.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.0009308/0.0009307, allocations: 182.1 kB / 192 MB, free: 6.703 MB / 154.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.419/1.419, allocations: 225.7 MB / 450.4 MB, free: 4.938 MB / 330.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.0007637/0.0007635, allocations: 107.5 kB / 0.5211 GB, free: 1.598 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001598/0.001598, allocations: 276.7 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 16.59 kB / 0.6948 GB, free: 59.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1338, allocations: 82.46 MB / 0.7754 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001389/0.1352, allocations: 1.086 MB / 0.7764 GB, free: 13.18 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.002807/0.138, allocations: 2.629 MB / 0.779 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.1381, allocations: 0 / 0.779 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.1381, allocations: 11.94 kB / 0.779 GB, free: 10.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1383, allocations: 35.88 kB / 0.779 GB, free: 10.27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.1406, allocations: 1.547 MB / 0.7806 GB, free: 8.602 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1408, allocations: 83.78 kB / 0.7806 GB, free: 8.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1408, allocations: 8 kB / 0.7806 GB, free: 8.512 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.1409, allocations: 35.83 kB / 0.7807 GB, free: 8.477 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.141, allocations: 39.84 kB / 0.7807 GB, free: 8.438 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.141, allocations: 0 / 0.7807 GB, free: 8.438 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.142, allocations: 0.8071 MB / 0.7815 GB, free: 7.629 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.1421, allocations: 63.81 kB / 0.7816 GB, free: 7.566 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.1422, allocations: 93.08 kB / 0.7817 GB, free: 7.469 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.1431, allocations: 0.8732 MB / 0.7825 GB, free: 6.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1431, allocations: 3.938 kB / 0.7825 GB, free: 6.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1432, allocations: 0 / 0.7825 GB, free: 6.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1432, allocations: 0 / 0.7825 GB, free: 6.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005611/0.1437, allocations: 0.5763 MB / 0.7831 GB, free: 5.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1438, allocations: 8.031 kB / 0.7831 GB, free: 5.957 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1438, allocations: 20.66 kB / 0.7831 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.144, allocations: 222.7 kB / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.144, allocations: 384 / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.144, allocations: 4.375 kB / 0.7833 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1442, allocations: 110.3 kB / 0.7834 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1442, allocations: 0 / 0.7834 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1442, allocations: 0 / 0.7834 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1442, allocations: 4 kB / 0.7834 GB, free: 5.562 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1443, allocations: 75.97 kB / 0.7835 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.1445, allocations: 273.9 kB / 0.7838 GB, free: 5.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1446, allocations: 126.4 kB / 0.7839 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.1447, allocations: 109.4 kB / 0.784 GB, free: 4.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1448, allocations: 7.938 kB / 0.784 GB, free: 4.922 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1448, allocations: 34.56 kB / 0.784 GB, free: 4.879 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 9.72e-07/0.1448, allocations: 0 / 0.784 GB, free: 4.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004113/0.1452, allocations: 332.5 kB / 0.7843 GB, free: 4.551 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1453, allocations: 51.41 kB / 0.7844 GB, free: 4.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1455, allocations: 253 kB / 0.7846 GB, free: 4.227 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1456, allocations: 29.69 kB / 0.7847 GB, free: 4.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.1456, allocations: 124.7 kB / 0.7848 GB, free: 4.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.1457, allocations: 106.4 kB / 0.7849 GB, free: 3.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1457, allocations: 3.938 kB / 0.7849 GB, free: 3.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1459, allocations: 350.8 kB / 0.7852 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.1459, allocations: 75.97 kB / 0.7853 GB, free: 3.531 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.146, allocations: 67.97 kB / 0.7854 GB, free: 3.465 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1462, allocations: 199.2 kB / 0.7855 GB, free: 3.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1462, allocations: 0 / 0.7855 GB, free: 3.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002308/0.1464, allocations: 232.4 kB / 0.7858 GB, free: 3.039 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1464, allocations: 4 kB / 0.7858 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1464, allocations: 4 kB / 0.7858 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1465, allocations: 0 / 0.7858 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1465, allocations: 64 / 0.7858 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1465, allocations: 11.92 kB / 0.7858 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1465, allocations: 15.78 kB / 0.7858 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1466, allocations: 0 / 0.7858 GB, free: 3.004 MB / 458.7 MB 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 0.0001144/0.1467, allocations: 153.8 kB / 0.786 GB, free: 2.844 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1467, allocations: 27.56 kB / 0.786 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.147, allocations: 256.4 kB / 0.7862 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.147, allocations: 0 / 0.7862 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.147, allocations: 3.984 kB / 0.7862 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.147, allocations: 4 kB / 0.7862 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1472, allocations: 277.9 kB / 0.7865 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1472, allocations: 3.938 kB / 0.7865 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1472, allocations: 0 / 0.7865 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1472, allocations: 0 / 0.7865 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1472, allocations: 0 / 0.7865 GB, free: 2.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1473, allocations: 7.938 kB / 0.7865 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1473, allocations: 0 / 0.7865 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1475, allocations: 267 kB / 0.7868 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.1476, allocations: 104.7 kB / 0.7869 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1476, allocations: 3.984 kB / 0.7869 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.1476, allocations: 0 / 0.7869 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1477, allocations: 0 / 0.7869 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1477, allocations: 4 kB / 0.7869 GB, free: 1.812 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1478, allocations: 184.5 kB / 0.787 GB, free: 1.633 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1478, allocations: 0 / 0.787 GB, free: 1.633 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.1484, allocations: 219.9 kB / 0.7873 GB, free: 1.418 MB / 458.7 MB 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 (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 Backend phase and start with SimCode phase: time 0.0007196/0.1491, allocations: 338.6 kB / 0.7876 GB, free: 1.082 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1494, allocations: 261.6 kB / 0.7878 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1494, allocations: 7.875 kB / 0.7878 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1495, allocations: 177.6 kB / 0.788 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1498, allocations: 24.42 kB / 0.788 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.1504, allocations: 0.5729 MB / 0.7886 GB, free: 12 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1507, allocations: 0.7635 MB / 0.7893 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.1507, allocations: 11.97 kB / 0.7893 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.1507, allocations: 7.438 kB / 0.7893 GB, free: 15.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1507, allocations: 4 kB / 0.7894 GB, free: 15.19 MB / 474.7 MB Notification: Performance of Templates: time 0.007685/0.1584, allocations: 4.54 MB / 0.7938 GB, free: 10.68 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)