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.001369/0.001369, allocations: 108.8 kB / 16.41 MB, free: 6.438 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.00121/0.00121, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9105/0.9105, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.02 kB / 0.5821 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1754, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002986/0.1785, allocations: 1.416 MB / 0.6618 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.1832, allocations: 2.876 MB / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1833, allocations: 0 / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.1833, allocations: 7.922 kB / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.1834, allocations: 15.86 kB / 0.6646 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00467/0.1881, allocations: 1.586 MB / 0.6662 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.1882, allocations: 47.67 kB / 0.6662 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1883, allocations: 11.97 kB / 0.6662 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1883, allocations: 11.94 kB / 0.6662 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.1884, allocations: 19.86 kB / 0.6663 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1884, allocations: 0 / 0.6663 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.1912, allocations: 1.525 MB / 0.6678 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.1912, allocations: 15.98 kB / 0.6678 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1913, allocations: 15.88 kB / 0.6678 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.1935, allocations: 1.092 MB / 0.6689 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1935, allocations: 3.938 kB / 0.6689 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1935, allocations: 0 / 0.6689 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.1935, allocations: 0 / 0.6689 GB, free: 1.574 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.0008354/0.1943, allocations: 0.5185 MB / 0.6694 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1944, allocations: 8.031 kB / 0.6694 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1945, allocations: 84.12 kB / 0.6695 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1946, allocations: 253.3 kB / 0.6697 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.1947, allocations: 154.7 kB / 0.6698 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.1948, allocations: 154.5 kB / 0.67 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.1948, allocations: 109 kB / 0.6701 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.1949, allocations: 79.22 kB / 0.6702 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.195, allocations: 158.5 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.195, allocations: 150.6 kB / 0.6705 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.1951, allocations: 154.5 kB / 0.6706 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.1954, allocations: 469.8 kB / 0.6711 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.1955, allocations: 173.1 kB / 0.6712 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.1955, allocations: 84.08 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1955, allocations: 75.28 kB / 0.6714 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.1956, allocations: 113.8 kB / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1956, allocations: 0 / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.277e-05/0.1957, allocations: 25.7 kB / 0.6715 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.1958, allocations: 134.7 kB / 0.6716 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1959, allocations: 131.6 kB / 0.6718 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1959, allocations: 25.7 kB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.196, allocations: 96.12 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.196, allocations: 0 / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.196, allocations: 17.72 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.1962, allocations: 318.8 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.1962, allocations: 7.938 kB / 0.6722 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.1962, allocations: 8 kB / 0.6722 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.1963, allocations: 24.86 kB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1963, allocations: 0 / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001369/0.1964, allocations: 45.69 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1964, allocations: 8 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.1965, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1965, allocations: 4 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1965, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1965, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1965, allocations: 3.906 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1965, allocations: 64 / 0.6723 GB, free: 13.82 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.0001068/0.1967, allocations: 201 kB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1967, allocations: 108.9 kB / 0.6726 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.1968, allocations: 116.6 kB / 0.6727 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/0.1969, allocations: 180.2 kB / 0.6729 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.013e-05/0.1969, allocations: 184.2 kB / 0.673 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/0.197, allocations: 188.1 kB / 0.6732 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1972, allocations: 421.1 kB / 0.6736 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.1973, allocations: 101 kB / 0.6737 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.1973, allocations: 104.9 kB / 0.6738 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.797e-05/0.1974, allocations: 176.3 kB / 0.674 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.1974, allocations: 188.2 kB / 0.6742 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-05/0.1975, allocations: 180.2 kB / 0.6743 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-05/0.1976, allocations: 180.3 kB / 0.6745 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1977, allocations: 303.7 kB / 0.6748 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.1978, allocations: 193.9 kB / 0.675 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.1979, allocations: 184.3 kB / 0.6752 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.198, allocations: 105 kB / 0.6753 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.198, allocations: 188.2 kB / 0.6754 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.1981, allocations: 101 kB / 0.6755 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.1982, allocations: 101.3 kB / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1982, allocations: 0 / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008865/0.1991, allocations: 283.8 kB / 0.6759 GB, free: 9.883 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.001381/0.2004, allocations: 0.5324 MB / 0.6764 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2006, allocations: 41.64 kB / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2006, allocations: 0 / 0.6765 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-06/0.2006, allocations: 4.062 kB / 0.6765 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.201, allocations: 467.6 kB / 0.6769 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.2014, allocations: 265.7 kB / 0.6772 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2017, allocations: 0.6884 MB / 0.6778 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.2017, allocations: 7.438 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2017, allocations: 4 kB / 0.6779 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of Templates: time 0.00888/0.2106, allocations: 4.724 MB / 0.6825 GB, free: 3.094 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)