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_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/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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00923/0.00923, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001581/0.001581, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8003/0.8003, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 59.72 kB / 0.5814 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1649, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002826/0.1678, allocations: 1.363 MB / 0.6611 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1709, allocations: 1.797 MB / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.171, allocations: 0 / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1712, allocations: 7.922 kB / 0.6628 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1714, allocations: 35.88 kB / 0.6629 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.1748, allocations: 1.151 MB / 0.664 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.175, allocations: 51.78 kB / 0.664 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.175, allocations: 7.984 kB / 0.6641 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1752, allocations: 27.86 kB / 0.6641 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.1753, allocations: 27.91 kB / 0.6641 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1753, allocations: 0 / 0.6641 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.1769, allocations: 0.8891 MB / 0.665 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.177, allocations: 75.75 kB / 0.6651 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.1771, allocations: 63.38 kB / 0.6651 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1784, allocations: 0.8729 MB / 0.666 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.012e-05/0.1785, allocations: 7.984 kB / 0.666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1785, allocations: 3.938 kB / 0.666 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1785, allocations: 0 / 0.666 GB, free: 3.848 MB / 0.4981 GB 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.0009653/0.1795, allocations: 0.58 MB / 0.6665 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1795, allocations: 8.031 kB / 0.6665 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.1796, allocations: 20.66 kB / 0.6666 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1798, allocations: 222.9 kB / 0.6668 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1799, allocations: 12.06 kB / 0.6668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1799, allocations: 0 / 0.6668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1801, allocations: 105.7 kB / 0.6669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1801, allocations: 0 / 0.6669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1801, allocations: 4 kB / 0.6669 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1801, allocations: 0 / 0.6669 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.1802, allocations: 71.97 kB / 0.667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1805, allocations: 277.8 kB / 0.6672 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1807, allocations: 134.4 kB / 0.6674 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.1808, allocations: 104.9 kB / 0.6675 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1808, allocations: 3.984 kB / 0.6675 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1809, allocations: 34.56 kB / 0.6675 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.1809, allocations: 0 / 0.6675 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004737/0.1813, allocations: 332 kB / 0.6678 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1814, allocations: 51.41 kB / 0.6679 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1817, allocations: 265 kB / 0.6681 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1818, allocations: 25.7 kB / 0.6681 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1819, allocations: 128.7 kB / 0.6683 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.182, allocations: 98.45 kB / 0.6684 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.182, allocations: 33.59 kB / 0.6684 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1822, allocations: 342.8 kB / 0.6687 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.1823, allocations: 71.98 kB / 0.6688 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.1824, allocations: 79.95 kB / 0.6689 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1826, allocations: 204.7 kB / 0.6691 GB, free: 480 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1826, allocations: 0 / 0.6691 GB, free: 480 kB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002484/0.1828, allocations: 225.5 kB / 0.6693 GB, free: 248 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1829, allocations: 4 kB / 0.6693 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.1829, allocations: 7.984 kB / 0.6693 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1829, allocations: 0 / 0.6693 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1829, allocations: 0 / 0.6693 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1829, allocations: 0 / 0.6693 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.183, allocations: 19.72 kB / 0.6693 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.183, allocations: 0 / 0.6693 GB, free: 216 kB / 0.4981 GB 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.0001467/0.1832, allocations: 161.8 kB / 0.6695 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1832, allocations: 19.72 kB / 0.6695 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1835, allocations: 259.4 kB / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1836, allocations: 0 / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1836, allocations: 4 kB / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1836, allocations: 3.984 kB / 0.6697 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1838, allocations: 277.8 kB / 0.67 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.1838, allocations: 4 kB / 0.67 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-06/0.1838, allocations: 4 kB / 0.67 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1838, allocations: 0 / 0.67 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1839, allocations: 4.031 kB / 0.67 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1839, allocations: 0 / 0.67 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1839, allocations: 0 / 0.67 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1841, allocations: 260.6 kB / 0.6703 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1842, allocations: 104.7 kB / 0.6704 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1842, allocations: 3.984 kB / 0.6704 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.1843, allocations: 0 / 0.6704 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1843, allocations: 7.984 kB / 0.6704 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.1843, allocations: 4.031 kB / 0.6704 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001752/0.1845, allocations: 192.5 kB / 0.6706 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1845, allocations: 0 / 0.6706 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006712/0.1851, allocations: 207.9 kB / 0.6707 GB, free: 14.62 MB / 0.5137 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.0009171/0.1861, allocations: 333 kB / 0.6711 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1864, allocations: 273.6 kB / 0.6713 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1864, allocations: 3.938 kB / 0.6713 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.1866, allocations: 181.7 kB / 0.6715 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1869, allocations: 26.14 kB / 0.6715 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.1876, allocations: 493.9 kB / 0.672 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1879, allocations: 0.7671 MB / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.188, allocations: 3.984 kB / 0.6728 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.188, allocations: 11.44 kB / 0.6728 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.188, allocations: 4.062 kB / 0.6728 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.009428/0.1974, allocations: 4.618 MB / 0.6773 GB, free: 7.918 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)