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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7365/0.7365, allocations: 143.8 MB / 159.1 MB, free: 6.551 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.001012/0.001013, allocations: 179.3 kB / 192 MB, free: 6.754 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.31/1.31, allocations: 225.7 MB / 450.4 MB, free: 5.016 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.0007861/0.0007861, allocations: 111.5 kB / 0.5211 GB, free: 1.68 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.001693/0.001693, allocations: 290.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 12.31 kB / 0.6948 GB, free: 59.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 82.46 MB / 0.7754 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001563/0.1567, allocations: 1.149 MB / 0.7765 GB, free: 13.18 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004826/0.1615, allocations: 4.318 MB / 0.7807 GB, free: 8.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.1616, allocations: 3.938 kB / 0.7807 GB, free: 8.496 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.1616, allocations: 0 / 0.7807 GB, free: 8.496 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.1617, allocations: 11.88 kB / 0.7807 GB, free: 8.484 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.1653, allocations: 1.958 MB / 0.7826 GB, free: 6.406 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.1654, allocations: 43.73 kB / 0.7827 GB, free: 6.363 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.1655, allocations: 11.88 kB / 0.7827 GB, free: 6.352 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.1655, allocations: 7.938 kB / 0.7827 GB, free: 6.344 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.775e-05/0.1655, allocations: 19.92 kB / 0.7827 GB, free: 6.324 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1655, allocations: 4 kB / 0.7827 GB, free: 6.32 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.1675, allocations: 1.419 MB / 0.7841 GB, free: 4.898 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.1675, allocations: 7.938 kB / 0.7841 GB, free: 4.891 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1675, allocations: 45.58 kB / 0.7842 GB, free: 4.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.1689, allocations: 1.123 MB / 0.7853 GB, free: 3.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1689, allocations: 4 kB / 0.7853 GB, free: 3.711 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1689, allocations: 0 / 0.7853 GB, free: 3.711 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1689, allocations: 0 / 0.7853 GB, free: 3.711 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.0005357/0.1694, allocations: 0.5146 MB / 0.7858 GB, free: 3.148 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1695, allocations: 12.03 kB / 0.7858 GB, free: 3.137 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.1696, allocations: 80.12 kB / 0.7858 GB, free: 3.059 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1697, allocations: 251.6 kB / 0.7861 GB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.1698, allocations: 154.9 kB / 0.7862 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.1699, allocations: 150.9 kB / 0.7864 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.1699, allocations: 109.1 kB / 0.7865 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.17, allocations: 75.28 kB / 0.7866 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.17, allocations: 154.5 kB / 0.7867 GB, free: 2.133 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.1701, allocations: 154.6 kB / 0.7868 GB, free: 1.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.1701, allocations: 154.5 kB / 0.787 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.1704, allocations: 465.9 kB / 0.7874 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.79e-05/0.1705, allocations: 169.1 kB / 0.7876 GB, free: 1.148 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.1706, allocations: 84.14 kB / 0.7877 GB, free: 1.062 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1706, allocations: 75.28 kB / 0.7878 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1707, allocations: 117.7 kB / 0.7879 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1707, allocations: 0 / 0.7879 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 8.424e-05/0.1708, allocations: 37.59 kB / 0.7879 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.1708, allocations: 126.7 kB / 0.788 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.171, allocations: 133.7 kB / 0.7881 GB, free: 0.543 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.171, allocations: 25.7 kB / 0.7882 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1711, allocations: 100.1 kB / 0.7883 GB, free: 420 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.1711, allocations: 0 / 0.7883 GB, free: 420 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1711, allocations: 0 / 0.7883 GB, free: 420 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1712, allocations: 322.8 kB / 0.7886 GB, free: 88 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.1713, allocations: 0 / 0.7886 GB, free: 88 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.1713, allocations: 8 kB / 0.7886 GB, free: 80 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.1713, allocations: 16.83 kB / 0.7886 GB, free: 60 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1713, allocations: 4 kB / 0.7886 GB, free: 56 kB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.1715, allocations: 57.59 kB / 0.7887 GB, free: 15.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1715, allocations: 8 kB / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.1715, allocations: 4 kB / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1716, allocations: 0 / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.1716, allocations: 0 / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1716, allocations: 0 / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.1716, allocations: 3.906 kB / 0.7887 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1716, allocations: 0 / 0.7887 GB, free: 15.98 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 0.0001074/0.1717, allocations: 193.2 kB / 0.7889 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.1718, allocations: 116.8 kB / 0.789 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1719, allocations: 108.8 kB / 0.7891 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.1719, allocations: 176.3 kB / 0.7892 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/0.172, allocations: 192.2 kB / 0.7894 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.177e-05/0.172, allocations: 180.2 kB / 0.7896 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.1723, allocations: 417.2 kB / 0.79 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/0.1723, allocations: 104.9 kB / 0.7901 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.1723, allocations: 105 kB / 0.7902 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.492e-05/0.1724, allocations: 184.2 kB / 0.7904 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.1725, allocations: 184.2 kB / 0.7905 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.346e-05/0.1725, allocations: 184.2 kB / 0.7907 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/0.1726, allocations: 176.3 kB / 0.7909 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.1727, allocations: 311.6 kB / 0.7912 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1728, allocations: 193.9 kB / 0.7914 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.94e-05/0.1729, allocations: 184.2 kB / 0.7915 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.173, allocations: 101 kB / 0.7916 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.173, allocations: 184.2 kB / 0.7918 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.1731, allocations: 105 kB / 0.7919 GB, free: 12.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.1731, allocations: 99.25 kB / 0.792 GB, free: 12.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1732, allocations: 3.938 kB / 0.792 GB, free: 12.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.1739, allocations: 287.8 kB / 0.7923 GB, free: 12.04 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.001097/0.175, allocations: 0.5653 MB / 0.7928 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.1751, allocations: 37.7 kB / 0.7929 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1751, allocations: 4.062 kB / 0.7929 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1751, allocations: 3.938 kB / 0.7929 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1755, allocations: 0.5302 MB / 0.7934 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.1758, allocations: 263.7 kB / 0.7937 GB, free: 10.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.176, allocations: 0.6887 MB / 0.7943 GB, free: 9.891 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.396e-05/0.176, allocations: 4 kB / 0.7943 GB, free: 9.887 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.1761, allocations: 11.38 kB / 0.7943 GB, free: 9.875 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1761, allocations: 0 / 0.7943 GB, free: 9.875 MB / 474.7 MB Notification: Performance of Templates: time 0.009057/0.1851, allocations: 5.778 MB / 0.8 GB, free: 4.113 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)