Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001304/0.001304, allocations: 189 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7647/0.7647, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.12 kB / 0.5013 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.21 MB / 0.5797 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002848/0.1563, allocations: 1.417 MB / 0.5811 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1593, allocations: 1.786 MB / 0.5828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.1594, allocations: 0 / 0.5828 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1595, allocations: 15.86 kB / 0.5828 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1597, allocations: 31.84 kB / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.1624, allocations: 1.057 MB / 0.5839 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1625, allocations: 51.77 kB / 0.5839 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1626, allocations: 4 kB / 0.5839 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.1627, allocations: 23.92 kB / 0.5839 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.1628, allocations: 27.84 kB / 0.584 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1628, allocations: 0 / 0.584 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1641, allocations: 0.8578 MB / 0.5848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.1641, allocations: 31.97 kB / 0.5848 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1642, allocations: 27.73 kB / 0.5849 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1653, allocations: 0.776 MB / 0.5856 GB, free: 2.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1653, allocations: 7.984 kB / 0.5856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1653, allocations: 0 / 0.5856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1653, allocations: 0 / 0.5856 GB, free: 2.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006623/0.166, allocations: 474.8 kB / 0.5861 GB, free: 2.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.166, allocations: 12.03 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1661, allocations: 8.844 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1663, allocations: 197.1 kB / 0.5863 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1663, allocations: 0 / 0.5863 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1663, allocations: 0 / 0.5863 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1664, allocations: 57.67 kB / 0.5864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1664, allocations: 0 / 0.5864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1664, allocations: 0 / 0.5864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1665, allocations: 0 / 0.5864 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.1665, allocations: 31.92 kB / 0.5864 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1667, allocations: 189.5 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.1668, allocations: 46.56 kB / 0.5866 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.1668, allocations: 32.88 kB / 0.5866 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1669, allocations: 12 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1669, allocations: 30.56 kB / 0.5867 GB, free: 1.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1669, allocations: 0 / 0.5867 GB, free: 1.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002195/0.1671, allocations: 121.7 kB / 0.5868 GB, free: 1.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1672, allocations: 55.39 kB / 0.5868 GB, free: 1.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1674, allocations: 153 kB / 0.587 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1674, allocations: 25.7 kB / 0.587 GB, free: 1.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1674, allocations: 100.2 kB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1675, allocations: 27.55 kB / 0.5871 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1675, allocations: 17.72 kB / 0.5872 GB, free: 1.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1676, allocations: 326.8 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.1677, allocations: 27.92 kB / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.1677, allocations: 20 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.1678, allocations: 68.77 kB / 0.5876 GB, free: 0.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1678, allocations: 4 kB / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.1679, allocations: 85.89 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1679, allocations: 12.06 kB / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.168, allocations: 0 / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.168, allocations: 0 / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.168, allocations: 0 / 0.5877 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.168, allocations: 3.984 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.168, allocations: 4 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.168, allocations: 3.938 kB / 0.5877 GB, free: 0.5898 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 9.587e-05/0.1681, allocations: 122.5 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.1682, allocations: 11.81 kB / 0.5878 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.1683, allocations: 110.3 kB / 0.5879 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1683, allocations: 0 / 0.5879 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1684, allocations: 0 / 0.5879 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1684, allocations: 4 kB / 0.5879 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1685, allocations: 197.6 kB / 0.5881 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1685, allocations: 3.984 kB / 0.5881 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.1685, allocations: 3.938 kB / 0.5881 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1685, allocations: 4 kB / 0.5881 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1685, allocations: 0 / 0.5881 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1685, allocations: 32 / 0.5881 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1686, allocations: 4 kB / 0.5881 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1687, allocations: 117 kB / 0.5882 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.1688, allocations: 92.86 kB / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1688, allocations: 0 / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.1688, allocations: 0 / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1688, allocations: 3.938 kB / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1688, allocations: 4 kB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.362e-05/0.1689, allocations: 129.5 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1689, allocations: 0 / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00059/0.1695, allocations: 203.9 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB 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.0007699/0.1703, allocations: 331 kB / 0.589 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1705, allocations: 93.66 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1705, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.1706, allocations: 69.69 kB / 0.5891 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1708, allocations: 15.88 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.1712, allocations: 247.4 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1714, allocations: 0.7041 MB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.1715, allocations: 4 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.1715, allocations: 7.438 kB / 0.5901 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1715, allocations: 0 / 0.5901 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.008172/0.1797, allocations: 4.308 MB / 0.5943 GB, free: 9.727 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)