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.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7689/0.7689, allocations: 143.8 MB / 159.1 MB, free: 6.508 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.0008898/0.0008901, allocations: 179.3 kB / 192 MB, free: 6.719 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.36/1.36, allocations: 225.7 MB / 450.4 MB, free: 4.992 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.0007629/0.0007629, allocations: 103.5 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.001632/0.001632, allocations: 285.1 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004626, allocations: 15.84 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 82.45 MB / 0.7753 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003806/0.1548, allocations: 3.59 MB / 0.7789 GB, free: 10.7 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.1576, allocations: 2.236 MB / 0.781 GB, free: 8.457 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1579, allocations: 12 kB / 0.781 GB, free: 8.445 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1591, allocations: 0.494 MB / 0.7815 GB, free: 7.949 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1595, allocations: 218.5 kB / 0.7817 GB, free: 7.734 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.1597, allocations: 119.9 kB / 0.7819 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.1604, allocations: 0.8059 MB / 0.7826 GB, free: 6.809 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.1608, allocations: 272.2 kB / 0.7829 GB, free: 6.539 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.161, allocations: 246.9 kB / 0.7831 GB, free: 6.297 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.1613, allocations: 286.6 kB / 0.7834 GB, free: 6.016 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.1614, allocations: 36 kB / 0.7834 GB, free: 5.98 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.1615, allocations: 36 kB / 0.7835 GB, free: 5.945 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1616, allocations: 127.4 kB / 0.7836 GB, free: 5.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.1619, allocations: 356 kB / 0.7839 GB, free: 5.465 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.1626, allocations: 0.9417 MB / 0.7849 GB, free: 4.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1626, allocations: 4 kB / 0.7849 GB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1626, allocations: 0 / 0.7849 GB, free: 4.516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1626, allocations: 3.938 kB / 0.7849 GB, free: 4.512 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001127/0.1638, allocations: 0.8451 MB / 0.7857 GB, free: 3.617 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1638, allocations: 8.031 kB / 0.7857 GB, free: 3.609 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.1639, allocations: 72.09 kB / 0.7858 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.1644, allocations: 453.7 kB / 0.7862 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.1645, allocations: 37.38 kB / 0.7862 GB, free: 3.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.1645, allocations: 48.36 kB / 0.7863 GB, free: 2.973 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.1653, allocations: 426.8 kB / 0.7867 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1653, allocations: 7.906 kB / 0.7867 GB, free: 2.543 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1654, allocations: 24 kB / 0.7867 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1654, allocations: 8 kB / 0.7867 GB, free: 2.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.1661, allocations: 379.8 kB / 0.7871 GB, free: 2.141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1679, allocations: 1.539 MB / 0.7886 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/0.1684, allocations: 352.1 kB / 0.7889 GB, free: 180 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.1689, allocations: 352.8 kB / 0.7893 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.169, allocations: 4 kB / 0.7893 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.169, allocations: 38.5 kB / 0.7893 GB, free: 15.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 1.412e-06/0.169, allocations: 0 / 0.7893 GB, free: 15.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008965/0.1699, allocations: 0.5097 MB / 0.7898 GB, free: 15.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1699, allocations: 55.41 kB / 0.7899 GB, free: 15.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.1705, allocations: 489.9 kB / 0.7903 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1705, allocations: 37.7 kB / 0.7904 GB, free: 14.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1707, allocations: 276.3 kB / 0.7906 GB, free: 14.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1708, allocations: 145.8 kB / 0.7908 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.1708, allocations: 8 kB / 0.7908 GB, free: 14.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.171, allocations: 358.8 kB / 0.7911 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1712, allocations: 128.7 kB / 0.7912 GB, free: 13.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1715, allocations: 133.2 kB / 0.7914 GB, free: 13.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.172, allocations: 306.5 kB / 0.7917 GB, free: 13.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.172, allocations: 0 / 0.7917 GB, free: 13.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006214/0.1726, allocations: 400.7 kB / 0.792 GB, free: 12.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1726, allocations: 4 kB / 0.792 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1726, allocations: 4 kB / 0.792 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1727, allocations: 0 / 0.792 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1732, allocations: 131.9 kB / 0.7922 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1732, allocations: 0 / 0.7922 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1734, allocations: 52.33 kB / 0.7922 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1735, allocations: 12 kB / 0.7922 GB, free: 12.72 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002018/0.1737, allocations: 197.8 kB / 0.7924 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.1737, allocations: 55.28 kB / 0.7925 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.1738, allocations: 57.09 kB / 0.7925 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1739, allocations: 4 kB / 0.7925 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.1739, allocations: 4 kB / 0.7925 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1739, allocations: 7.922 kB / 0.7925 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.1745, allocations: 0.5712 MB / 0.7931 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1745, allocations: 0 / 0.7931 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.175, allocations: 135.8 kB / 0.7932 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.175, allocations: 7.984 kB / 0.7932 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.175, allocations: 8 kB / 0.7932 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.1751, allocations: 4 kB / 0.7932 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1751, allocations: 0 / 0.7932 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.176, allocations: 0.6626 MB / 0.7939 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1761, allocations: 140.3 kB / 0.794 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.1762, allocations: 8 kB / 0.794 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.1764, allocations: 27.98 kB / 0.7941 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.1765, allocations: 19.97 kB / 0.7941 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1765, allocations: 8 kB / 0.7941 GB, free: 10.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003959/0.1769, allocations: 351.1 kB / 0.7944 GB, free: 10.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1769, allocations: 0 / 0.7944 GB, free: 10.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.1773, allocations: 147.5 kB / 0.7946 GB, free: 10.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001347/0.1774, allocations: 127.7 kB / 0.7947 GB, free: 10.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.178, allocations: 335.8 kB / 0.795 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.178, allocations: 3.938 kB / 0.795 GB, free: 9.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.1783, allocations: 187.6 kB / 0.7952 GB, free: 9.586 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.1789, allocations: 125.8 kB / 0.7953 GB, free: 9.461 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.1808, allocations: 1.5 MB / 0.7968 GB, free: 7.934 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1812, allocations: 0.8668 MB / 0.7976 GB, free: 7.043 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.1814, allocations: 60.31 kB / 0.7977 GB, free: 6.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.1815, allocations: 39.44 kB / 0.7977 GB, free: 6.945 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1815, allocations: 0 / 0.7977 GB, free: 6.945 MB / 474.7 MB Notification: Performance of Templates: time 0.009998/0.1915, allocations: 5.56 MB / 0.8031 GB, free: 1.449 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)