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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7457/0.7457, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.0009329/0.000933, allocations: 183.3 kB / 192 MB, free: 6.723 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.347/1.347, allocations: 225.7 MB / 450.4 MB, free: 4.996 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.0007992/0.0007993, allocations: 106.5 kB / 0.5211 GB, free: 1.652 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.001664/0.001664, allocations: 273.2 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 13.69 kB / 0.6948 GB, free: 59.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, 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.InternalResistancesOneUTube): time 0.001529/0.1448, allocations: 1.141 MB / 0.7765 GB, free: 13.15 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004548/0.1494, allocations: 4.267 MB / 0.7806 GB, free: 8.523 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1494, allocations: 0 / 0.7806 GB, free: 8.523 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1495, allocations: 0 / 0.7806 GB, free: 8.523 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.1495, allocations: 19.84 kB / 0.7807 GB, free: 8.504 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003452/0.153, allocations: 1.935 MB / 0.7826 GB, free: 6.445 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.1531, allocations: 35.73 kB / 0.7826 GB, free: 6.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.1531, allocations: 7.938 kB / 0.7826 GB, free: 6.402 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.1532, allocations: 15.94 kB / 0.7826 GB, free: 6.387 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.408e-05/0.1532, allocations: 15.88 kB / 0.7826 GB, free: 6.371 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1532, allocations: 4 kB / 0.7826 GB, free: 6.367 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.1552, allocations: 1.377 MB / 0.784 GB, free: 4.988 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.1552, allocations: 8 kB / 0.784 GB, free: 4.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1553, allocations: 37.58 kB / 0.784 GB, free: 4.938 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.1567, allocations: 1.099 MB / 0.7851 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1568, allocations: 11.88 kB / 0.7851 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1568, allocations: 0 / 0.7851 GB, free: 3.824 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1568, allocations: 0 / 0.7851 GB, free: 3.824 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.0005346/0.1573, allocations: 0.5127 MB / 0.7856 GB, free: 3.266 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1574, allocations: 8.031 kB / 0.7856 GB, free: 3.258 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.1574, allocations: 84.12 kB / 0.7857 GB, free: 3.176 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1576, allocations: 255.5 kB / 0.7859 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.1576, allocations: 154.9 kB / 0.7861 GB, free: 2.734 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.1577, allocations: 150.9 kB / 0.7862 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.1578, allocations: 109.1 kB / 0.7863 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1578, allocations: 83.22 kB / 0.7864 GB, free: 2.391 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.1578, allocations: 150.6 kB / 0.7866 GB, free: 2.242 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.1579, allocations: 150.6 kB / 0.7867 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.158, allocations: 158.5 kB / 0.7868 GB, free: 1.938 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.1583, allocations: 465.9 kB / 0.7873 GB, free: 1.434 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.1583, allocations: 169.1 kB / 0.7875 GB, free: 1.258 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.1584, allocations: 84.14 kB / 0.7875 GB, free: 1.172 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1584, allocations: 75.28 kB / 0.7876 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.1585, allocations: 113.7 kB / 0.7877 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1585, allocations: 8 kB / 0.7877 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 6.536e-05/0.1585, allocations: 29.61 kB / 0.7878 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1586, allocations: 126.7 kB / 0.7879 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1587, allocations: 129.7 kB / 0.788 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1588, allocations: 29.7 kB / 0.788 GB, free: 0.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.1588, allocations: 92.12 kB / 0.7881 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1588, allocations: 0 / 0.7881 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1588, allocations: 0 / 0.7881 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1589, allocations: 322.8 kB / 0.7884 GB, free: 212 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.159, allocations: 0 / 0.7884 GB, free: 212 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.159, allocations: 4 kB / 0.7884 GB, free: 208 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.159, allocations: 20.78 kB / 0.7884 GB, free: 184 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.159, allocations: 0 / 0.7884 GB, free: 184 kB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001115/0.1592, allocations: 53.55 kB / 0.7885 GB, free: 124 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1592, allocations: 4 kB / 0.7885 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.1592, allocations: 4 kB / 0.7885 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1592, allocations: 0 / 0.7885 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1592, allocations: 48 / 0.7885 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1592, allocations: 4.062 kB / 0.7885 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.1593, allocations: 7.922 kB / 0.7885 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1593, allocations: 7.984 kB / 0.7885 GB, free: 96 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.0001099/0.1594, allocations: 181.1 kB / 0.7887 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.1595, allocations: 116.8 kB / 0.7888 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1595, allocations: 104.9 kB / 0.7889 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/0.1596, allocations: 196.2 kB / 0.7891 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.809e-05/0.1597, allocations: 184.3 kB / 0.7893 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-05/0.1597, allocations: 176.3 kB / 0.7894 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.16, allocations: 413.2 kB / 0.7898 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/0.16, allocations: 104.9 kB / 0.7899 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.16, allocations: 108.9 kB / 0.79 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/0.1601, allocations: 188.3 kB / 0.7902 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.1602, allocations: 180.3 kB / 0.7904 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-05/0.1602, allocations: 180.2 kB / 0.7906 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-05/0.1603, allocations: 180.2 kB / 0.7907 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1604, allocations: 315.7 kB / 0.791 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.1605, allocations: 186 kB / 0.7912 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.1606, allocations: 180.2 kB / 0.7914 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.1606, allocations: 101 kB / 0.7915 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.1607, allocations: 192.2 kB / 0.7917 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.1607, allocations: 101 kB / 0.7918 GB, free: 12.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.1608, allocations: 99.27 kB / 0.7918 GB, free: 12.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1608, allocations: 0 / 0.7918 GB, free: 12.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006757/0.1615, allocations: 275.8 kB / 0.7921 GB, free: 12.18 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.001074/0.1626, allocations: 0.5557 MB / 0.7927 GB, free: 11.63 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.58e-05/0.1627, allocations: 41.7 kB / 0.7927 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1627, allocations: 0 / 0.7927 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.1627, allocations: 3.938 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.0003807/0.1631, allocations: 0.5241 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.0002726/0.1634, allocations: 267.7 kB / 0.7935 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1636, allocations: 0.6848 MB / 0.7941 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.099e-05/0.1636, allocations: 0 / 0.7941 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.1636, allocations: 11.44 kB / 0.7941 GB, free: 10.04 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1636, allocations: 4 kB / 0.7941 GB, free: 10.04 MB / 474.7 MB Notification: Performance of Templates: time 0.00882/0.1724, allocations: 5.58 MB / 0.7996 GB, free: 4.473 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)