Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7872/0.7872, allocations: 132.2 MB / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 64.84 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1731, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002823/0.176, allocations: 1.497 MB / 0.581 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.1806, allocations: 3.005 MB / 0.5839 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.1807, allocations: 0 / 0.5839 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.1808, allocations: 3.984 kB / 0.5839 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.1808, allocations: 15.86 kB / 0.5839 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.1845, allocations: 1.375 MB / 0.5852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.1845, allocations: 51.67 kB / 0.5853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1846, allocations: 3.984 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.1846, allocations: 11.94 kB / 0.5853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.1847, allocations: 19.92 kB / 0.5853 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1847, allocations: 4 kB / 0.5853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.187, allocations: 1.455 MB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.187, allocations: 15.86 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.1871, allocations: 15.88 kB / 0.5868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.1888, allocations: 1.107 MB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1888, allocations: 8 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1888, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1888, allocations: 3.938 kB / 0.5879 GB, free: 0.5625 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007008/0.1896, allocations: 0.5119 MB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1896, allocations: 12.08 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/0.1897, allocations: 80.12 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1899, allocations: 259.4 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.1899, allocations: 158.9 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.19, allocations: 158.5 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.477e-05/0.1901, allocations: 101 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.1901, allocations: 75.28 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.1902, allocations: 150.6 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.1902, allocations: 150.6 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.1903, allocations: 158.5 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1906, allocations: 461.9 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/0.1907, allocations: 173.1 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1907, allocations: 84.14 kB / 0.5903 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1908, allocations: 79.28 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1908, allocations: 113.8 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.1908, allocations: 0 / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.1909, allocations: 37.55 kB / 0.5905 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.191, allocations: 126.7 kB / 0.5906 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1911, allocations: 132.5 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1911, allocations: 25.7 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.1912, allocations: 92.14 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.1912, allocations: 0 / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.1912, allocations: 21.7 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1914, allocations: 318.8 kB / 0.5912 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.1914, allocations: 4 kB / 0.5912 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.1914, allocations: 7.984 kB / 0.5912 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.1915, allocations: 16.8 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1915, allocations: 3.938 kB / 0.5912 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.1916, allocations: 53.64 kB / 0.5913 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1916, allocations: 4 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.1917, allocations: 4 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1917, allocations: 0 / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-06/0.1917, allocations: 3.984 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1917, allocations: 0 / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.1917, allocations: 4 kB / 0.5913 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1918, allocations: 11.94 kB / 0.5913 GB, free: 12.8 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 9.343e-05/0.1918, allocations: 185.1 kB / 0.5915 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.1919, allocations: 129 kB / 0.5916 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.192, allocations: 104.9 kB / 0.5917 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.377e-05/0.1921, allocations: 184.2 kB / 0.5919 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.797e-05/0.1921, allocations: 180.2 kB / 0.5921 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-05/0.1922, allocations: 176.3 kB / 0.5922 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1925, allocations: 425.1 kB / 0.5926 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/0.1925, allocations: 105 kB / 0.5927 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.1925, allocations: 101 kB / 0.5928 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.496e-05/0.1926, allocations: 184.2 kB / 0.593 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.1927, allocations: 176.3 kB / 0.5932 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-05/0.1928, allocations: 184.2 kB / 0.5934 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-05/0.1928, allocations: 180.3 kB / 0.5935 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.193, allocations: 319.6 kB / 0.5938 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.1931, allocations: 178.1 kB / 0.594 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.1931, allocations: 180.2 kB / 0.5942 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.1932, allocations: 120.9 kB / 0.5943 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.1933, allocations: 180.2 kB / 0.5945 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.1933, allocations: 101 kB / 0.5946 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.1934, allocations: 105.4 kB / 0.5947 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.1934, allocations: 4 kB / 0.5947 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008072/0.1942, allocations: 283.8 kB / 0.5949 GB, free: 8.871 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00124/0.1955, allocations: 0.5246 MB / 0.5954 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1956, allocations: 41.69 kB / 0.5955 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.1956, allocations: 0 / 0.5955 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-06/0.1956, allocations: 7.875 kB / 0.5955 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1961, allocations: 0.5384 MB / 0.596 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.1964, allocations: 237.9 kB / 0.5962 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1967, allocations: 0.6848 MB / 0.5969 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.1967, allocations: 7.922 kB / 0.5969 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.1967, allocations: 11.44 kB / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1967, allocations: 0 / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.01024/0.207, allocations: 5.651 MB / 0.6025 GB, free: 1.156 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)