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.001224/0.001224, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001419/0.001419, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.017/1.017, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.91 kB / 0.5821 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003227/0.1761, allocations: 1.363 MB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1793, allocations: 1.786 MB / 0.6635 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1793, allocations: 0 / 0.6635 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.1795, allocations: 7.922 kB / 0.6635 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1797, allocations: 31.89 kB / 0.6635 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.1827, allocations: 1.145 MB / 0.6646 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1829, allocations: 47.72 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1829, allocations: 11.98 kB / 0.6647 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.183, allocations: 15.94 kB / 0.6647 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.1831, allocations: 35.78 kB / 0.6647 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1831, allocations: 4 kB / 0.6648 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1847, allocations: 0.8852 MB / 0.6656 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.1847, allocations: 31.91 kB / 0.6656 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.1848, allocations: 23.81 kB / 0.6657 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1858, allocations: 0.7991 MB / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1859, allocations: 0 / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1859, allocations: 0 / 0.6664 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1859, allocations: 0 / 0.6664 GB, free: 4.051 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005632/0.1864, allocations: 486.8 kB / 0.6669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1865, allocations: 8.031 kB / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1865, allocations: 8.844 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1867, allocations: 192.2 kB / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1867, allocations: 0 / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.1867, allocations: 0 / 0.6671 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1868, allocations: 53.69 kB / 0.6672 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1868, allocations: 3.938 kB / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1869, allocations: 0 / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1869, allocations: 0 / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.714e-05/0.1869, allocations: 27.98 kB / 0.6672 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.1871, allocations: 193.6 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.377e-05/0.1872, allocations: 46.5 kB / 0.6674 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.1872, allocations: 32.89 kB / 0.6675 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.1873, allocations: 3.984 kB / 0.6675 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1873, allocations: 30.56 kB / 0.6675 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1873, allocations: 4 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000203/0.1875, allocations: 117.5 kB / 0.6676 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1876, allocations: 51.41 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1877, allocations: 153.2 kB / 0.6678 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1877, allocations: 25.7 kB / 0.6678 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1878, allocations: 104.1 kB / 0.6679 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1878, allocations: 23.56 kB / 0.6679 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1879, allocations: 17.7 kB / 0.668 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.188, allocations: 330.8 kB / 0.6683 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.188, allocations: 24 kB / 0.6683 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.1881, allocations: 24.22 kB / 0.6683 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.1881, allocations: 72.98 kB / 0.6684 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1882, allocations: 0 / 0.6684 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.1883, allocations: 93.56 kB / 0.6685 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1883, allocations: 4 kB / 0.6685 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1883, allocations: 0 / 0.6685 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1883, allocations: 0 / 0.6685 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.1883, allocations: 7.938 kB / 0.6685 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1883, allocations: 4.062 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.1884, allocations: 3.938 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1884, allocations: 0 / 0.6685 GB, free: 1.719 MB / 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 8.709e-05/0.1885, allocations: 125.8 kB / 0.6686 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1885, allocations: 11.89 kB / 0.6686 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1887, allocations: 109.4 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1887, allocations: 3.984 kB / 0.6687 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1887, allocations: 4 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1887, allocations: 7.938 kB / 0.6688 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1888, allocations: 189.6 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1889, allocations: 4 kB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1889, allocations: 0 / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1889, allocations: 0 / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1889, allocations: 3.938 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1889, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1889, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.189, allocations: 121 kB / 0.6691 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1891, allocations: 92.97 kB / 0.6691 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1891, allocations: 0 / 0.6691 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.1891, allocations: 4 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.1891, allocations: 0 / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1891, allocations: 3.938 kB / 0.6692 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.1892, allocations: 119.2 kB / 0.6693 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1892, allocations: 0 / 0.6693 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00048/0.1897, allocations: 199.9 kB / 0.6695 GB, free: 0.6289 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.0006733/0.1904, allocations: 333 kB / 0.6698 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.1906, allocations: 105.6 kB / 0.6699 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1906, allocations: 0 / 0.6699 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.1906, allocations: 65.67 kB / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.1908, allocations: 11.94 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1912, allocations: 261.1 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1915, allocations: 0.7003 MB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.1915, allocations: 15.44 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1915, allocations: 0 / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.00596/0.1975, allocations: 3.987 MB / 0.6748 GB, free: 11.1 MB / 0.5137 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)