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.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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001882/0.001882, allocations: 109.6 kB / 16.41 MB, free: 6.449 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.002217/0.002217, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8829/0.8829, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.98 kB / 0.5864 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1772, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002847/0.1801, allocations: 1.433 MB / 0.6668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004824/0.1849, allocations: 2.887 MB / 0.6697 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.185, allocations: 0 / 0.6697 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.185, allocations: 3.938 kB / 0.6697 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.185, allocations: 19.84 kB / 0.6697 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003934/0.189, allocations: 1.58 MB / 0.6712 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1891, allocations: 43.67 kB / 0.6713 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1891, allocations: 7.984 kB / 0.6713 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.1892, allocations: 15.92 kB / 0.6713 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.048e-05/0.1892, allocations: 15.88 kB / 0.6713 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1892, allocations: 0 / 0.6713 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1915, allocations: 1.525 MB / 0.6728 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.1915, allocations: 12 kB / 0.6728 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.1916, allocations: 15.88 kB / 0.6728 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.1931, allocations: 1.099 MB / 0.6739 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1931, allocations: 0 / 0.6739 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1931, allocations: 0 / 0.6739 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1931, allocations: 3.938 kB / 0.6739 GB, free: 13.04 MB / 0.5137 GB 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.0007853/0.1939, allocations: 0.5247 MB / 0.6744 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1939, allocations: 8.031 kB / 0.6744 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.194, allocations: 84.17 kB / 0.6745 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1942, allocations: 255.5 kB / 0.6747 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.1944, allocations: 158.7 kB / 0.6749 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1945, allocations: 150.6 kB / 0.675 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.1946, allocations: 112.9 kB / 0.6751 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.1946, allocations: 79.22 kB / 0.6752 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.1947, allocations: 150.6 kB / 0.6754 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-05/0.1948, allocations: 154.6 kB / 0.6755 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.1948, allocations: 154.5 kB / 0.6757 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1952, allocations: 461.9 kB / 0.6761 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1953, allocations: 173 kB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1954, allocations: 88.14 kB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1954, allocations: 79.28 kB / 0.6764 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.1955, allocations: 105.8 kB / 0.6765 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.1955, allocations: 0 / 0.6765 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.333e-05/0.1956, allocations: 37.66 kB / 0.6766 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.1956, allocations: 126.7 kB / 0.6767 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1958, allocations: 139.6 kB / 0.6768 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1958, allocations: 25.7 kB / 0.6768 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.1959, allocations: 92.14 kB / 0.6769 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1959, allocations: 0 / 0.6769 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1959, allocations: 17.72 kB / 0.6769 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1961, allocations: 318.8 kB / 0.6772 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.1961, allocations: 4 kB / 0.6772 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.1961, allocations: 4 kB / 0.6773 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.1962, allocations: 24.83 kB / 0.6773 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1962, allocations: 0 / 0.6773 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001373/0.1963, allocations: 53.62 kB / 0.6773 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1963, allocations: 8 kB / 0.6773 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.1963, allocations: 7.984 kB / 0.6773 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1964, allocations: 3.938 kB / 0.6773 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1964, allocations: 0 / 0.6773 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1964, allocations: 0 / 0.6773 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.1964, allocations: 3.938 kB / 0.6774 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1964, allocations: 0 / 0.6774 GB, free: 9.262 MB / 0.5137 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.0001466/0.1965, allocations: 201.1 kB / 0.6775 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.1966, allocations: 108.9 kB / 0.6776 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.1967, allocations: 116.6 kB / 0.6778 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/0.1968, allocations: 176.3 kB / 0.6779 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.954e-05/0.1969, allocations: 180.3 kB / 0.6781 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.123e-05/0.197, allocations: 188.2 kB / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1973, allocations: 421.1 kB / 0.6787 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.362e-05/0.1974, allocations: 104.9 kB / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.1974, allocations: 101 kB / 0.6789 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.1976, allocations: 180.2 kB / 0.679 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.62e-05/0.1977, allocations: 184.2 kB / 0.6792 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.78e-05/0.1977, allocations: 184.3 kB / 0.6794 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.517e-05/0.1978, allocations: 184.2 kB / 0.6796 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.198, allocations: 307.7 kB / 0.6799 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.1981, allocations: 190 kB / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.1982, allocations: 188.2 kB / 0.6802 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1983, allocations: 108.9 kB / 0.6803 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.1984, allocations: 180.3 kB / 0.6805 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.1985, allocations: 105 kB / 0.6806 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.1985, allocations: 96.98 kB / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1985, allocations: 0 / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008047/0.1994, allocations: 291 kB / 0.681 GB, free: 5.32 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 (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.001142/0.2005, allocations: 0.5394 MB / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.2006, allocations: 33.7 kB / 0.6815 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2006, allocations: 4 kB / 0.6815 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.2006, allocations: 0 / 0.6815 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.2011, allocations: 470.9 kB / 0.682 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.2015, allocations: 277.6 kB / 0.6823 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2018, allocations: 0.6885 MB / 0.6829 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.2018, allocations: 11.44 kB / 0.6829 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.2018, allocations: 0 / 0.6829 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.008938/0.2108, allocations: 4.736 MB / 0.6876 GB, free: 14.51 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)