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.001702/0.001702, allocations: 104 kB / 16.41 MB, free: 6.512 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.00197/0.00197, allocations: 187 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.358/1.358, 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 0.7615/0.7615, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 70.03 kB / 0.5821 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1744, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002917/0.1774, allocations: 1.431 MB / 0.6618 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.1819, allocations: 2.868 MB / 0.6646 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.182, allocations: 0 / 0.6646 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.182, allocations: 3.938 kB / 0.6646 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.1822, allocations: 15.84 kB / 0.6646 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.1865, allocations: 1.597 MB / 0.6662 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1866, allocations: 39.73 kB / 0.6662 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.1866, allocations: 11.97 kB / 0.6662 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.1867, allocations: 11.94 kB / 0.6663 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1867, allocations: 15.88 kB / 0.6663 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1867, allocations: 0 / 0.6663 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.1892, allocations: 1.537 MB / 0.6678 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.1892, allocations: 4 kB / 0.6678 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.1893, allocations: 15.88 kB / 0.6678 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.1911, allocations: 1.102 MB / 0.6689 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1911, allocations: 0 / 0.6689 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1912, allocations: 0 / 0.6689 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1912, allocations: 0 / 0.6689 GB, free: 1.551 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007846/0.192, allocations: 0.5108 MB / 0.6694 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.192, allocations: 12.03 kB / 0.6694 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.1921, allocations: 84.12 kB / 0.6695 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1922, allocations: 261 kB / 0.6697 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.1923, allocations: 154.7 kB / 0.6698 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1924, allocations: 150.6 kB / 0.67 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.4e-05/0.1924, allocations: 105 kB / 0.6701 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.1925, allocations: 75.28 kB / 0.6702 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.1926, allocations: 154.6 kB / 0.6703 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.1926, allocations: 150.6 kB / 0.6705 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.576e-05/0.1927, allocations: 154.6 kB / 0.6706 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.193, allocations: 473.7 kB / 0.6711 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.1931, allocations: 173.1 kB / 0.6712 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1931, allocations: 80.14 kB / 0.6713 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1932, allocations: 75.28 kB / 0.6714 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.1932, allocations: 109.8 kB / 0.6715 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1932, allocations: 0 / 0.6715 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.771e-05/0.1933, allocations: 37.62 kB / 0.6715 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1934, allocations: 130.7 kB / 0.6716 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1935, allocations: 131.9 kB / 0.6718 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1936, allocations: 33.64 kB / 0.6718 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.1936, allocations: 88.14 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.1936, allocations: 0 / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.1936, allocations: 25.7 kB / 0.6719 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1938, allocations: 310.8 kB / 0.6722 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.1938, allocations: 8 kB / 0.6722 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.1938, allocations: 11.98 kB / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.1939, allocations: 16.8 kB / 0.6722 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1939, allocations: 0 / 0.6722 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001317/0.194, allocations: 49.64 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.194, allocations: 4 kB / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.1941, allocations: 4.062 kB / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1941, allocations: 4 kB / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.1941, allocations: 3.984 kB / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1941, allocations: 0 / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.1941, allocations: 7.906 kB / 0.6723 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1941, allocations: 4.062 kB / 0.6723 GB, free: 13.79 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 9.704e-05/0.1942, allocations: 189.1 kB / 0.6725 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.1943, allocations: 108.9 kB / 0.6726 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.1944, allocations: 124.5 kB / 0.6727 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/0.1944, allocations: 180.2 kB / 0.6729 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/0.1945, allocations: 180.2 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.565e-05/0.1945, allocations: 180.3 kB / 0.6732 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.1948, allocations: 417.2 kB / 0.6736 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/0.1948, allocations: 104.9 kB / 0.6737 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1949, allocations: 109 kB / 0.6738 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.305e-05/0.1949, allocations: 180.2 kB / 0.674 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.195, allocations: 180.3 kB / 0.6742 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.474e-05/0.1951, allocations: 176.3 kB / 0.6743 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.098e-05/0.1951, allocations: 192.2 kB / 0.6745 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1953, allocations: 307.7 kB / 0.6748 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.1954, allocations: 190 kB / 0.675 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.1954, allocations: 188.2 kB / 0.6752 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1955, allocations: 109 kB / 0.6753 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.1956, allocations: 176.3 kB / 0.6754 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.1956, allocations: 104.9 kB / 0.6755 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.373e-05/0.1957, allocations: 99.27 kB / 0.6756 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1957, allocations: 0 / 0.6756 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000856/0.1966, allocations: 283.8 kB / 0.6759 GB, free: 9.863 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.001346/0.1979, allocations: 0.5322 MB / 0.6764 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.1981, allocations: 49.62 kB / 0.6765 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1981, allocations: 64 / 0.6765 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.1981, allocations: 4 kB / 0.6765 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1985, allocations: 469.6 kB / 0.6769 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.1989, allocations: 249.8 kB / 0.6772 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1991, allocations: 0.6923 MB / 0.6778 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1991, allocations: 7.438 kB / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1992, allocations: 0 / 0.6779 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.008374/0.2075, allocations: 4.719 MB / 0.6825 GB, free: 3.086 MB / 0.5137 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)