Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001457/0.001457, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9618/0.9618, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.16 kB / 0.5054 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.185, allocations: 80.93 MB / 0.5844 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002696/0.1878, allocations: 1.421 MB / 0.5858 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1908, allocations: 1.849 MB / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.1909, allocations: 4 kB / 0.5876 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.191, allocations: 7.922 kB / 0.5876 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1912, allocations: 35.89 kB / 0.5876 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.1938, allocations: 1.036 MB / 0.5887 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1939, allocations: 87.72 kB / 0.5887 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.194, allocations: 4 kB / 0.5887 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.678e-05/0.1941, allocations: 31.86 kB / 0.5888 GB, free: 480 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.1942, allocations: 31.89 kB / 0.5888 GB, free: 448 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1942, allocations: 0 / 0.5888 GB, free: 448 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1953, allocations: 0.85 MB / 0.5896 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.1954, allocations: 67.81 kB / 0.5897 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1955, allocations: 71.36 kB / 0.5898 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.1963, allocations: 0.6163 MB / 0.5904 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1963, allocations: 0 / 0.5904 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1963, allocations: 0 / 0.5904 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1963, allocations: 0 / 0.5904 GB, free: 14.83 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.0006797/0.197, allocations: 0.5878 MB / 0.5909 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.197, allocations: 12.02 kB / 0.591 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1971, allocations: 24.56 kB / 0.591 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1973, allocations: 234.7 kB / 0.5912 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1973, allocations: 384 / 0.5912 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1973, allocations: 3.938 kB / 0.5912 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1975, allocations: 105.7 kB / 0.5913 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1975, allocations: 0 / 0.5913 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1975, allocations: 0 / 0.5913 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1975, allocations: 0 / 0.5913 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.409e-05/0.1976, allocations: 83.89 kB / 0.5914 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.1979, allocations: 273.8 kB / 0.5917 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.198, allocations: 130.5 kB / 0.5918 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.1981, allocations: 108.9 kB / 0.5919 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1982, allocations: 0 / 0.5919 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1982, allocations: 30.56 kB / 0.5919 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 7.62e-07/0.1982, allocations: 0 / 0.5919 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004107/0.1986, allocations: 347.3 kB / 0.5922 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1987, allocations: 55.41 kB / 0.5923 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.1989, allocations: 257 kB / 0.5925 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1989, allocations: 25.7 kB / 0.5926 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.199, allocations: 132.7 kB / 0.5927 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.1991, allocations: 94.47 kB / 0.5928 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1991, allocations: 25.7 kB / 0.5928 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1993, allocations: 342.8 kB / 0.5931 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.1994, allocations: 75.97 kB / 0.5932 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.1994, allocations: 76.77 kB / 0.5933 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1996, allocations: 201.1 kB / 0.5935 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1996, allocations: 3.938 kB / 0.5935 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000217/0.1999, allocations: 221.3 kB / 0.5937 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1999, allocations: 8 kB / 0.5937 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1999, allocations: 0 / 0.5937 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1999, allocations: 0 / 0.5937 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1999, allocations: 0 / 0.5937 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1999, allocations: 0 / 0.5937 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.2, allocations: 15.83 kB / 0.5937 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2, allocations: 0 / 0.5937 GB, free: 11.19 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 0.0001438/0.2002, allocations: 165.8 kB / 0.5939 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.2002, allocations: 27.62 kB / 0.5939 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.2005, allocations: 252.3 kB / 0.5941 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2005, allocations: 4 kB / 0.5941 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2005, allocations: 0 / 0.5941 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2005, allocations: 0 / 0.5941 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.2007, allocations: 289.8 kB / 0.5944 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2007, allocations: 4.031 kB / 0.5944 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/0.2007, allocations: 3.938 kB / 0.5944 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2008, allocations: 0 / 0.5944 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2008, allocations: 3.938 kB / 0.5944 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2008, allocations: 0 / 0.5944 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2008, allocations: 4 kB / 0.5944 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.201, allocations: 260.6 kB / 0.5947 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.2011, allocations: 100.8 kB / 0.5948 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2011, allocations: 4.031 kB / 0.5948 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.2012, allocations: 4 kB / 0.5948 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.2012, allocations: 0 / 0.5948 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2012, allocations: 0 / 0.5948 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001516/0.2014, allocations: 196.4 kB / 0.595 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2014, allocations: 0 / 0.595 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005901/0.202, allocations: 211.9 kB / 0.5952 GB, free: 9.59 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.0007515/0.2027, allocations: 335 kB / 0.5955 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.203, allocations: 265.5 kB / 0.5957 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.203, allocations: 0 / 0.5957 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2032, allocations: 185.6 kB / 0.5959 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2034, allocations: 12.5 kB / 0.5959 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.2042, allocations: 0.5991 MB / 0.5965 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2045, allocations: 0.7673 MB / 0.5973 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.2046, allocations: 7.438 kB / 0.5973 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2046, allocations: 0 / 0.5973 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.007345/0.2119, allocations: 4.675 MB / 0.6018 GB, free: 2.695 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)