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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7698/0.7698, 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.001096/0.001096, allocations: 186.3 kB / 192 MB, free: 6.715 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.341/1.341, allocations: 225.7 MB / 450.4 MB, free: 4.926 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.0008332/0.0008333, allocations: 107.4 kB / 0.5211 GB, free: 1.582 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.001633/0.001633, allocations: 278.3 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004155, allocations: 18 kB / 0.6948 GB, free: 59.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1389, allocations: 82.45 MB / 0.7754 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001407/0.1404, allocations: 1.086 MB / 0.7764 GB, free: 13.18 MB / 458.7 MB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.002727/0.1431, allocations: 2.636 MB / 0.779 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.1431, allocations: 0 / 0.779 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.71e-05/0.1432, allocations: 7.922 kB / 0.779 GB, free: 10.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1434, allocations: 27.91 kB / 0.779 GB, free: 10.28 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.1457, allocations: 1.555 MB / 0.7805 GB, free: 8.602 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.1458, allocations: 83.78 kB / 0.7806 GB, free: 8.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.1458, allocations: 4 kB / 0.7806 GB, free: 8.516 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.1459, allocations: 23.86 kB / 0.7807 GB, free: 8.492 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.146, allocations: 31.84 kB / 0.7807 GB, free: 8.461 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.146, allocations: 4 kB / 0.7807 GB, free: 8.457 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.147, allocations: 0.7915 MB / 0.7815 GB, free: 7.664 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1471, allocations: 27.98 kB / 0.7815 GB, free: 7.637 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1471, allocations: 53.44 kB / 0.7815 GB, free: 7.578 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.1481, allocations: 0.8032 MB / 0.7823 GB, free: 6.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1481, allocations: 0 / 0.7823 GB, free: 6.773 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1481, allocations: 0 / 0.7823 GB, free: 6.773 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1481, allocations: 0 / 0.7823 GB, free: 6.773 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004517/0.1485, allocations: 478.9 kB / 0.7828 GB, free: 6.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1486, allocations: 8.031 kB / 0.7828 GB, free: 6.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1486, allocations: 8.844 kB / 0.7828 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1488, allocations: 192.7 kB / 0.783 GB, free: 6.016 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1488, allocations: 4.375 kB / 0.783 GB, free: 6.012 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.1488, allocations: 3.938 kB / 0.783 GB, free: 6.008 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.501e-05/0.1489, allocations: 49.69 kB / 0.783 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1489, allocations: 0 / 0.783 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.1489, allocations: 0 / 0.783 GB, free: 5.953 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1489, allocations: 3.984 kB / 0.783 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.149, allocations: 27.94 kB / 0.7831 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.1492, allocations: 193.6 kB / 0.7833 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.1492, allocations: 46.52 kB / 0.7833 GB, free: 5.629 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.1493, allocations: 36.88 kB / 0.7833 GB, free: 5.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1493, allocations: 4 kB / 0.7833 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.1493, allocations: 30.56 kB / 0.7834 GB, free: 5.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1493, allocations: 0 / 0.7834 GB, free: 5.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001842/0.1495, allocations: 125.5 kB / 0.7835 GB, free: 5.418 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.1495, allocations: 51.41 kB / 0.7835 GB, free: 5.355 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1497, allocations: 156.3 kB / 0.7837 GB, free: 5.188 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1497, allocations: 25.7 kB / 0.7837 GB, free: 5.156 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.1497, allocations: 96.14 kB / 0.7838 GB, free: 5.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1498, allocations: 27.55 kB / 0.7838 GB, free: 5.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/0.1498, allocations: 0 / 0.7838 GB, free: 5.031 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.1499, allocations: 326.8 kB / 0.7841 GB, free: 4.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.1499, allocations: 23.98 kB / 0.7842 GB, free: 4.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.15, allocations: 27.94 kB / 0.7842 GB, free: 4.652 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.15, allocations: 68.91 kB / 0.7843 GB, free: 4.582 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.15, allocations: 4.031 kB / 0.7843 GB, free: 4.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001039/0.1501, allocations: 97.52 kB / 0.7843 GB, free: 4.477 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1502, allocations: 4 kB / 0.7844 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1502, allocations: 0 / 0.7844 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1502, allocations: 4 kB / 0.7844 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.12e-07/0.1502, allocations: 0 / 0.7844 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1502, allocations: 0 / 0.7844 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.1502, allocations: 3.906 kB / 0.7844 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1502, allocations: 0 / 0.7844 GB, free: 4.465 MB / 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 7.612e-05/0.1503, allocations: 129.8 kB / 0.7845 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1503, allocations: 7.906 kB / 0.7845 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1505, allocations: 106.3 kB / 0.7846 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1505, allocations: 0 / 0.7846 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1505, allocations: 3.938 kB / 0.7846 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1505, allocations: 4 kB / 0.7846 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1506, allocations: 189.5 kB / 0.7848 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1507, allocations: 4 kB / 0.7848 GB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.1507, allocations: 3.984 kB / 0.7848 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1507, allocations: 4.031 kB / 0.7848 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.1507, allocations: 0 / 0.7848 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1507, allocations: 0 / 0.7848 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1507, allocations: 0 / 0.7848 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1508, allocations: 124.9 kB / 0.7849 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.1509, allocations: 89 kB / 0.785 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1509, allocations: 0 / 0.785 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.1509, allocations: 0 / 0.785 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1509, allocations: 8.031 kB / 0.785 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1509, allocations: 0 / 0.785 GB, free: 3.703 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.576e-05/0.151, allocations: 124.5 kB / 0.7851 GB, free: 3.582 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.151, allocations: 0 / 0.7851 GB, free: 3.582 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.1515, allocations: 203.9 kB / 0.7853 GB, free: 3.383 MB / 458.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 (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 Backend phase and start with SimCode phase: time 0.00063/0.1521, allocations: 359.8 kB / 0.7857 GB, free: 3.027 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1522, allocations: 89.67 kB / 0.7857 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1523, allocations: 0 / 0.7857 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.1523, allocations: 73.75 kB / 0.7858 GB, free: 2.855 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1525, allocations: 8 kB / 0.7858 GB, free: 2.848 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.1528, allocations: 247 kB / 0.7861 GB, free: 2.574 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1531, allocations: 0.7121 MB / 0.7868 GB, free: 1.836 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.607e-05/0.1531, allocations: 7.938 kB / 0.7868 GB, free: 1.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.1531, allocations: 7.438 kB / 0.7868 GB, free: 1.82 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1531, allocations: 3.938 kB / 0.7868 GB, free: 1.816 MB / 458.7 MB Notification: Performance of Templates: time 0.007205/0.1603, allocations: 4.275 MB / 0.7909 GB, free: 13.57 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)