Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 190.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 282.9 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 89.91 kB / 0.5947 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 86.98 MB / 0.6797 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002553/0.1532, allocations: 1.435 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.1559, allocations: 1.773 MB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.156, allocations: 0 / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.1561, allocations: 19.86 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1563, allocations: 31.88 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.1589, allocations: 1.068 MB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.159, allocations: 55.77 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1591, allocations: 0 / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.1591, allocations: 31.84 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.1592, allocations: 31.89 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1592, allocations: 0 / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.1604, allocations: 0.8501 MB / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.1605, allocations: 75.75 kB / 0.6849 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.1606, allocations: 59.44 kB / 0.685 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1617, allocations: 0.8692 MB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1617, allocations: 0 / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1617, allocations: 0 / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1617, allocations: 0 / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007497/0.1625, allocations: 0.5761 MB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1625, allocations: 12.03 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1626, allocations: 20.66 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1628, allocations: 218.8 kB / 0.6866 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.1628, allocations: 4.375 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1628, allocations: 384 / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.163, allocations: 109.8 kB / 0.6867 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.163, allocations: 3.938 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.163, allocations: 0 / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.163, allocations: 3.984 kB / 0.6868 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.1631, allocations: 75.92 kB / 0.6868 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1633, allocations: 285.8 kB / 0.6871 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1635, allocations: 118.6 kB / 0.6872 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.1636, allocations: 108.9 kB / 0.6873 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1636, allocations: 3.938 kB / 0.6873 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1636, allocations: 34.56 kB / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.1636, allocations: 0 / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003799/0.164, allocations: 338.8 kB / 0.6877 GB, free: 8.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.164, allocations: 51.41 kB / 0.6877 GB, free: 8.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1643, allocations: 261 kB / 0.688 GB, free: 8.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1643, allocations: 25.7 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.1644, allocations: 124.7 kB / 0.6881 GB, free: 8.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.1645, allocations: 106.4 kB / 0.6882 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.1645, allocations: 29.7 kB / 0.6882 GB, free: 8.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1646, allocations: 338.8 kB / 0.6886 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.1647, allocations: 71.98 kB / 0.6886 GB, free: 7.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1648, allocations: 75.97 kB / 0.6887 GB, free: 7.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.165, allocations: 217.7 kB / 0.6889 GB, free: 7.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.165, allocations: 0 / 0.6889 GB, free: 7.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002221/0.1652, allocations: 225.2 kB / 0.6891 GB, free: 7.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1652, allocations: 8 kB / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1652, allocations: 0 / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1653, allocations: 0 / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1653, allocations: 0 / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.1653, allocations: 0 / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1653, allocations: 15.78 kB / 0.6892 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1653, allocations: 0 / 0.6892 GB, free: 7.117 MB / 494.1 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.0001219/0.1655, allocations: 162.5 kB / 0.6893 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1655, allocations: 27.66 kB / 0.6893 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.1658, allocations: 265.6 kB / 0.6896 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1658, allocations: 3.984 kB / 0.6896 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1658, allocations: 0 / 0.6896 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1658, allocations: 0 / 0.6896 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.166, allocations: 273.9 kB / 0.6899 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.166, allocations: 7.969 kB / 0.6899 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.166, allocations: 0 / 0.6899 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1661, allocations: 0 / 0.6899 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1661, allocations: 0 / 0.6899 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1661, allocations: 4 kB / 0.6899 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1661, allocations: 0 / 0.6899 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1663, allocations: 260.7 kB / 0.6901 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1664, allocations: 108.6 kB / 0.6902 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1664, allocations: 7.938 kB / 0.6902 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.1665, allocations: 4.031 kB / 0.6902 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1665, allocations: 0 / 0.6902 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1665, allocations: 0 / 0.6902 GB, free: 5.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1667, allocations: 188.5 kB / 0.6904 GB, free: 5.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1667, allocations: 0 / 0.6904 GB, free: 5.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.1673, allocations: 207.9 kB / 0.6906 GB, free: 5.52 MB / 494.1 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.0007623/0.168, allocations: 342.8 kB / 0.6909 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1683, allocations: 261.6 kB / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1683, allocations: 4.062 kB / 0.6912 GB, free: 4.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1685, allocations: 177.6 kB / 0.6914 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1687, allocations: 20.98 kB / 0.6914 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.1694, allocations: 0.5716 MB / 0.6919 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1697, allocations: 0.7671 MB / 0.6927 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.1698, allocations: 0 / 0.6927 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1698, allocations: 11.44 kB / 0.6927 GB, free: 3.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1698, allocations: 0 / 0.6927 GB, free: 3.305 MB / 494.1 MB Notification: Performance of Templates: time 0.008307/0.1781, allocations: 4.59 MB / 0.6972 GB, free: 14.78 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)