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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7432/0.7432, allocations: 143.8 MB / 159.1 MB, free: 6.477 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.0009693/0.0009693, allocations: 186.1 kB / 192 MB, free: 6.711 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.351/1.351, allocations: 225.7 MB / 450.4 MB, free: 4.949 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.0009942/0.0009941, allocations: 115.4 kB / 0.5211 GB, free: 1.605 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.001628/0.001628, allocations: 283.6 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 18.81 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 82.46 MB / 0.7754 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001489/0.1213, allocations: 1.141 MB / 0.7765 GB, free: 13.14 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004656/0.126, allocations: 4.318 MB / 0.7807 GB, free: 8.465 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.126, allocations: 0 / 0.7807 GB, free: 8.465 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.1261, allocations: 3.938 kB / 0.7807 GB, free: 8.461 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.1261, allocations: 19.84 kB / 0.7807 GB, free: 8.441 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.1296, allocations: 1.943 MB / 0.7826 GB, free: 6.375 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.1297, allocations: 43.73 kB / 0.7827 GB, free: 6.332 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1298, allocations: 7.875 kB / 0.7827 GB, free: 6.324 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.1298, allocations: 19.94 kB / 0.7827 GB, free: 6.305 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.1298, allocations: 15.92 kB / 0.7827 GB, free: 6.289 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1298, allocations: 4 kB / 0.7827 GB, free: 6.285 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1318, allocations: 1.412 MB / 0.7841 GB, free: 4.871 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.1319, allocations: 11.94 kB / 0.7841 GB, free: 4.859 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.1319, allocations: 45.56 kB / 0.7841 GB, free: 4.809 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.1335, allocations: 1.123 MB / 0.7852 GB, free: 3.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1335, allocations: 4 kB / 0.7852 GB, free: 3.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1335, allocations: 0 / 0.7852 GB, free: 3.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1335, allocations: 4 kB / 0.7852 GB, free: 3.676 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005859/0.1341, allocations: 0.5164 MB / 0.7857 GB, free: 3.113 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1342, allocations: 8.031 kB / 0.7858 GB, free: 3.105 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1342, allocations: 84.12 kB / 0.7858 GB, free: 3.023 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1344, allocations: 255.5 kB / 0.7861 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1344, allocations: 150.9 kB / 0.7862 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.1345, allocations: 158.9 kB / 0.7864 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.154e-05/0.1345, allocations: 105.1 kB / 0.7865 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1346, allocations: 75.28 kB / 0.7865 GB, free: 2.246 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.1346, allocations: 154.5 kB / 0.7867 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.1347, allocations: 150.6 kB / 0.7868 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.1347, allocations: 154.5 kB / 0.787 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.135, allocations: 469.9 kB / 0.7874 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.1351, allocations: 169.1 kB / 0.7876 GB, free: 1.109 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.1351, allocations: 84.14 kB / 0.7877 GB, free: 1.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1351, allocations: 79.27 kB / 0.7878 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.1352, allocations: 113.8 kB / 0.7879 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1352, allocations: 3.938 kB / 0.7879 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.874e-05/0.1353, allocations: 33.61 kB / 0.7879 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.1353, allocations: 126.7 kB / 0.788 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1354, allocations: 133.7 kB / 0.7881 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1354, allocations: 25.7 kB / 0.7882 GB, free: 484 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.1355, allocations: 96.06 kB / 0.7883 GB, free: 384 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.1355, allocations: 4 kB / 0.7883 GB, free: 380 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.1355, allocations: 0 / 0.7883 GB, free: 380 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1356, allocations: 314.8 kB / 0.7886 GB, free: 56 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.1356, allocations: 8 kB / 0.7886 GB, free: 48 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.1357, allocations: 4 kB / 0.7886 GB, free: 44 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.447e-05/0.1357, allocations: 24.84 kB / 0.7886 GB, free: 16 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1357, allocations: 4 kB / 0.7886 GB, free: 12 kB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.1358, allocations: 49.75 kB / 0.7887 GB, free: 15.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1358, allocations: 4 kB / 0.7887 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.1359, allocations: 8.062 kB / 0.7887 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1359, allocations: 0 / 0.7887 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-07/0.1359, allocations: 0 / 0.7887 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1359, allocations: 4 kB / 0.7887 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.1359, allocations: 3.906 kB / 0.7887 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1359, allocations: 3.984 kB / 0.7887 GB, free: 15.93 MB / 474.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 8.606e-05/0.136, allocations: 189.1 kB / 0.7889 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.1361, allocations: 108.9 kB / 0.789 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.1361, allocations: 116.9 kB / 0.7891 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/0.1362, allocations: 176.3 kB / 0.7892 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-05/0.1363, allocations: 188.2 kB / 0.7894 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.1363, allocations: 180.3 kB / 0.7896 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1365, allocations: 413.2 kB / 0.79 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.1366, allocations: 109 kB / 0.7901 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.1366, allocations: 109 kB / 0.7902 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.647e-05/0.1367, allocations: 184.2 kB / 0.7904 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.1367, allocations: 176.3 kB / 0.7905 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.1368, allocations: 184.2 kB / 0.7907 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-05/0.1368, allocations: 176.3 kB / 0.7909 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.137, allocations: 319.6 kB / 0.7912 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.1371, allocations: 189.9 kB / 0.7914 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.1371, allocations: 180.2 kB / 0.7915 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1372, allocations: 105 kB / 0.7916 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1373, allocations: 188.2 kB / 0.7918 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.1373, allocations: 105 kB / 0.7919 GB, free: 12.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.1374, allocations: 95.27 kB / 0.792 GB, free: 12.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 3.938 kB / 0.792 GB, free: 12.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.138, allocations: 291.8 kB / 0.7923 GB, free: 12 MB / 474.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 (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.0009984/0.139, allocations: 0.5773 MB / 0.7929 GB, free: 11.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.1391, allocations: 41.69 kB / 0.7929 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1391, allocations: 0 / 0.7929 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1391, allocations: 3.938 kB / 0.7929 GB, free: 11.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1395, allocations: 0.5302 MB / 0.7934 GB, free: 10.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.1398, allocations: 259.7 kB / 0.7937 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.14, allocations: 0.6887 MB / 0.7943 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.027e-05/0.1401, allocations: 0 / 0.7943 GB, free: 9.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.1401, allocations: 11.44 kB / 0.7943 GB, free: 9.828 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1401, allocations: 3.938 kB / 0.7943 GB, free: 9.824 MB / 474.7 MB Notification: Performance of Templates: time 0.008525/0.1486, allocations: 5.773 MB / 0.8 GB, free: 4.066 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)