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.001228/0.001228, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001286/0.001286, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.365/1.365, allocations: 222.9 MB / 241 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.7858/0.7858, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.48 kB / 0.5821 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.22 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003172/0.1742, allocations: 1.363 MB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1776, allocations: 1.802 MB / 0.6635 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.1777, allocations: 0 / 0.6635 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1778, allocations: 11.92 kB / 0.6635 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.178, allocations: 23.89 kB / 0.6635 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.181, allocations: 1.159 MB / 0.6647 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1811, allocations: 47.77 kB / 0.6647 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.1812, allocations: 8 kB / 0.6647 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1813, allocations: 31.84 kB / 0.6647 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.1814, allocations: 19.92 kB / 0.6648 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1814, allocations: 4 kB / 0.6648 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1828, allocations: 0.8891 MB / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1829, allocations: 63.81 kB / 0.6657 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.183, allocations: 75.36 kB / 0.6658 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1843, allocations: 0.8792 MB / 0.6666 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1843, allocations: 4 kB / 0.6666 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1843, allocations: 0 / 0.6666 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1843, allocations: 0 / 0.6666 GB, free: 3.875 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.0008121/0.1852, allocations: 0.5878 MB / 0.6672 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1852, allocations: 8.031 kB / 0.6672 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.1853, allocations: 24.66 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1855, allocations: 214.9 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1855, allocations: 4.125 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1856, allocations: 7.938 kB / 0.6675 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1857, allocations: 109.7 kB / 0.6676 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1857, allocations: 4 kB / 0.6676 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1858, allocations: 3.984 kB / 0.6676 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1858, allocations: 0 / 0.6676 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.1858, allocations: 71.98 kB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.1861, allocations: 281.8 kB / 0.6679 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1862, allocations: 118.5 kB / 0.668 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.1863, allocations: 116.8 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1864, allocations: 0 / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1864, allocations: 30.56 kB / 0.6682 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 9.12e-07/0.1864, allocations: 4 kB / 0.6682 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003737/0.1868, allocations: 336 kB / 0.6685 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1868, allocations: 51.41 kB / 0.6685 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1871, allocations: 257 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1871, allocations: 29.73 kB / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.1872, allocations: 124.7 kB / 0.6689 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1873, allocations: 102.5 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1873, allocations: 29.64 kB / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1874, allocations: 342.8 kB / 0.6694 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.1875, allocations: 75.92 kB / 0.6694 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.1876, allocations: 79.95 kB / 0.6695 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1878, allocations: 200.7 kB / 0.6697 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1878, allocations: 8.031 kB / 0.6697 GB, free: 496 kB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002118/0.188, allocations: 221.5 kB / 0.6699 GB, free: 268 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.188, allocations: 8 kB / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1881, allocations: 0 / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1881, allocations: 0 / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1881, allocations: 0 / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1881, allocations: 0 / 0.6699 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1881, allocations: 15.78 kB / 0.67 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1882, allocations: 0 / 0.67 GB, free: 244 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.0001217/0.1883, allocations: 165.7 kB / 0.6701 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1883, allocations: 23.75 kB / 0.6701 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1886, allocations: 260.4 kB / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1886, allocations: 0 / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1886, allocations: 0 / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1886, allocations: 0 / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1888, allocations: 281.8 kB / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1888, allocations: 0 / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1888, allocations: 0 / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1888, allocations: 0 / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1888, allocations: 0 / 0.6707 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1889, allocations: 8.031 kB / 0.6707 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1889, allocations: 0 / 0.6707 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1891, allocations: 264.6 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.1892, allocations: 104.7 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1892, allocations: 4 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.1892, allocations: 7.984 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1893, allocations: 0 / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.1893, allocations: 0 / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001481/0.1894, allocations: 192.5 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1894, allocations: 0 / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005238/0.19, allocations: 207.9 kB / 0.6714 GB, free: 14.64 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.0007034/0.1907, allocations: 334.9 kB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.191, allocations: 269.6 kB / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.191, allocations: 0 / 0.672 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.1911, allocations: 181.6 kB / 0.6722 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1914, allocations: 32.55 kB / 0.6722 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.192, allocations: 0.5153 MB / 0.6727 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1923, allocations: 0.7671 MB / 0.6734 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1923, allocations: 11.44 kB / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1924, allocations: 0 / 0.6734 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.007004/0.1994, allocations: 4.721 MB / 0.6781 GB, free: 7.754 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)