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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7355/0.7355, allocations: 143.8 MB / 159.1 MB, free: 6.527 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.000963/0.0009631, allocations: 179.3 kB / 192 MB, free: 6.727 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.333/1.333, allocations: 225.7 MB / 450.4 MB, free: 5.004 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.0008404/0.0008404, allocations: 115.2 kB / 0.5211 GB, free: 1.66 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.001659/0.001659, allocations: 278.6 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005855/0.0005856, allocations: 19.3 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 82.45 MB / 0.7754 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001556/0.1671, allocations: 1.137 MB / 0.7765 GB, free: 13.17 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.00496/0.1721, allocations: 4.274 MB / 0.7807 GB, free: 8.531 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1721, allocations: 0 / 0.7807 GB, free: 8.531 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1721, allocations: 0 / 0.7807 GB, free: 8.531 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.1722, allocations: 15.86 kB / 0.7807 GB, free: 8.516 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.1759, allocations: 1.933 MB / 0.7826 GB, free: 6.461 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.176, allocations: 35.75 kB / 0.7826 GB, free: 6.426 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1761, allocations: 11.92 kB / 0.7826 GB, free: 6.414 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.1761, allocations: 11.94 kB / 0.7826 GB, free: 6.402 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.1761, allocations: 23.86 kB / 0.7826 GB, free: 6.379 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1762, allocations: 0 / 0.7826 GB, free: 6.379 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.1784, allocations: 1.38 MB / 0.784 GB, free: 4.996 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1784, allocations: 4 kB / 0.784 GB, free: 4.992 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.1784, allocations: 41.58 kB / 0.784 GB, free: 4.945 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.1801, allocations: 1.099 MB / 0.7851 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1801, allocations: 3.938 kB / 0.7851 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1801, allocations: 0 / 0.7851 GB, free: 3.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1801, allocations: 0 / 0.7851 GB, free: 3.84 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.0006557/0.1808, allocations: 0.5108 MB / 0.7856 GB, free: 3.281 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1809, allocations: 12.03 kB / 0.7856 GB, free: 3.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1809, allocations: 88.11 kB / 0.7857 GB, free: 3.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1811, allocations: 247.5 kB / 0.7859 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.1812, allocations: 158.9 kB / 0.7861 GB, free: 2.746 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.1812, allocations: 150.9 kB / 0.7862 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.65e-05/0.1813, allocations: 105.1 kB / 0.7863 GB, free: 2.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.1813, allocations: 83.28 kB / 0.7864 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.1814, allocations: 150.6 kB / 0.7866 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.1814, allocations: 154.6 kB / 0.7867 GB, free: 2.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.1815, allocations: 154.5 kB / 0.7868 GB, free: 1.953 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.1818, allocations: 461.9 kB / 0.7873 GB, free: 1.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.1819, allocations: 169.1 kB / 0.7875 GB, free: 1.277 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.1819, allocations: 80.14 kB / 0.7875 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1819, allocations: 75.28 kB / 0.7876 GB, free: 1.121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.509e-05/0.182, allocations: 121.7 kB / 0.7877 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.182, allocations: 0 / 0.7877 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.003e-05/0.1821, allocations: 33.61 kB / 0.7877 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1822, allocations: 126.7 kB / 0.7879 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1823, allocations: 133.7 kB / 0.788 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1823, allocations: 29.64 kB / 0.788 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1824, allocations: 92.14 kB / 0.7881 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.1824, allocations: 0 / 0.7881 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.1824, allocations: 0 / 0.7881 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1825, allocations: 318.8 kB / 0.7884 GB, free: 232 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.1825, allocations: 8 kB / 0.7884 GB, free: 224 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.1825, allocations: 4 kB / 0.7884 GB, free: 220 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.1826, allocations: 12.8 kB / 0.7884 GB, free: 204 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1826, allocations: 0 / 0.7884 GB, free: 204 kB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.1827, allocations: 57.53 kB / 0.7885 GB, free: 140 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1827, allocations: 4 kB / 0.7885 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.1827, allocations: 4 kB / 0.7885 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1828, allocations: 0 / 0.7885 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-07/0.1828, allocations: 0 / 0.7885 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1828, allocations: 3.984 kB / 0.7885 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.1828, allocations: 8 kB / 0.7885 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1828, allocations: 4 kB / 0.7885 GB, free: 116 kB / 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.0001072/0.1829, allocations: 185.1 kB / 0.7887 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.183, allocations: 120.8 kB / 0.7888 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.1831, allocations: 104.9 kB / 0.7889 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-05/0.1831, allocations: 184.3 kB / 0.7891 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.806e-05/0.1832, allocations: 188.2 kB / 0.7893 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-05/0.1833, allocations: 180.2 kB / 0.7894 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1835, allocations: 417.2 kB / 0.7898 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/0.1835, allocations: 104.9 kB / 0.7899 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.1836, allocations: 101 kB / 0.79 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.547e-05/0.1836, allocations: 184.2 kB / 0.7902 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/0.1837, allocations: 188.3 kB / 0.7904 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.009e-05/0.1838, allocations: 180.2 kB / 0.7906 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-05/0.1838, allocations: 184.2 kB / 0.7907 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.184, allocations: 307.7 kB / 0.791 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.184, allocations: 194 kB / 0.7912 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.1841, allocations: 180.2 kB / 0.7914 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.1842, allocations: 101 kB / 0.7915 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1843, allocations: 184.2 kB / 0.7917 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.1843, allocations: 109 kB / 0.7918 GB, free: 12.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.293e-05/0.1844, allocations: 95.27 kB / 0.7918 GB, free: 12.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1844, allocations: 4 kB / 0.7919 GB, free: 12.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.1852, allocations: 279.8 kB / 0.7921 GB, free: 12.19 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.001234/0.1864, allocations: 0.5574 MB / 0.7927 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.1865, allocations: 33.7 kB / 0.7927 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1865, allocations: 4.062 kB / 0.7927 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.1865, allocations: 11.88 kB / 0.7927 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1869, allocations: 0.528 MB / 0.7932 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.1872, allocations: 263.6 kB / 0.7935 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1875, allocations: 0.6809 MB / 0.7941 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.501e-05/0.1875, allocations: 3.938 kB / 0.7941 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.1875, allocations: 11.44 kB / 0.7942 GB, free: 10.04 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1875, allocations: 0 / 0.7942 GB, free: 10.04 MB / 474.7 MB Notification: Performance of Templates: time 0.009432/0.197, allocations: 5.571 MB / 0.7996 GB, free: 4.488 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)