Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006107/0.006107, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001083/0.001083, allocations: 189.1 kB / 16.67 MB, free: 5.973 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 / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7359/0.7359, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.98 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 80.21 MB / 0.6598 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002283/0.1816, allocations: 1.413 MB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00461/0.1863, allocations: 2.837 MB / 0.6639 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.1863, allocations: 0 / 0.6639 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.1864, allocations: 7.922 kB / 0.6639 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.1865, allocations: 11.88 kB / 0.6639 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.1904, allocations: 1.544 MB / 0.6654 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.1905, allocations: 39.73 kB / 0.6655 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.1906, allocations: 11.92 kB / 0.6655 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1906, allocations: 19.92 kB / 0.6655 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.1907, allocations: 15.88 kB / 0.6655 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1907, allocations: 0 / 0.6655 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.1928, allocations: 1.485 MB / 0.667 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.1928, allocations: 11.92 kB / 0.667 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.1929, allocations: 15.88 kB / 0.667 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1943, allocations: 1.079 MB / 0.668 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1943, allocations: 0 / 0.668 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1943, allocations: 4 kB / 0.6681 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.1944, allocations: 0 / 0.6681 GB, free: 4.977 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.0006619/0.195, allocations: 0.5285 MB / 0.6686 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1951, allocations: 8.75 kB / 0.6686 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.1951, allocations: 80.22 kB / 0.6687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1953, allocations: 253.4 kB / 0.6689 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.1954, allocations: 158.7 kB / 0.669 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.1954, allocations: 150.6 kB / 0.6692 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.061e-05/0.1955, allocations: 105 kB / 0.6693 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.1956, allocations: 75.28 kB / 0.6694 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.1956, allocations: 158.6 kB / 0.6695 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.1957, allocations: 154.6 kB / 0.6697 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.1957, allocations: 154.5 kB / 0.6698 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.196, allocations: 465.9 kB / 0.6703 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.367e-05/0.1961, allocations: 169.1 kB / 0.6704 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1961, allocations: 84.14 kB / 0.6705 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1962, allocations: 75.28 kB / 0.6706 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.1962, allocations: 109.8 kB / 0.6707 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.1962, allocations: 4 kB / 0.6707 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.645e-05/0.1963, allocations: 25.7 kB / 0.6707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1964, allocations: 130.7 kB / 0.6708 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1965, allocations: 136.2 kB / 0.671 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1965, allocations: 33.7 kB / 0.671 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.1966, allocations: 92.12 kB / 0.6711 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1966, allocations: 0 / 0.6711 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1966, allocations: 13.72 kB / 0.6711 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1968, allocations: 322.8 kB / 0.6714 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.1968, allocations: 7.938 kB / 0.6714 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.1968, allocations: 0 / 0.6714 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.1968, allocations: 24.73 kB / 0.6714 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1969, allocations: 4.031 kB / 0.6714 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.197, allocations: 49.64 kB / 0.6715 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.197, allocations: 4 kB / 0.6715 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.197, allocations: 4 kB / 0.6715 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.197, allocations: 48 / 0.6715 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-06/0.197, allocations: 7.922 kB / 0.6715 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.197, allocations: 0 / 0.6715 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.1971, allocations: 4 kB / 0.6715 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1971, allocations: 0 / 0.6715 GB, free: 1.215 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.206e-05/0.1972, allocations: 189.1 kB / 0.6717 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.1972, allocations: 120.9 kB / 0.6718 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.1973, allocations: 108.9 kB / 0.6719 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/0.1974, allocations: 184.2 kB / 0.6721 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.1974, allocations: 176.3 kB / 0.6722 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/0.1975, allocations: 180.2 kB / 0.6724 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1977, allocations: 421.1 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-05/0.1978, allocations: 101 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1978, allocations: 108.9 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.943e-05/0.1979, allocations: 180.3 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.1979, allocations: 180.2 kB / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.536e-05/0.198, allocations: 184.2 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-05/0.1981, allocations: 176.3 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1982, allocations: 311.7 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1983, allocations: 186 kB / 0.6742 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.1984, allocations: 180.2 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.1984, allocations: 109 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1985, allocations: 184.2 kB / 0.6746 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.1985, allocations: 109 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.1986, allocations: 99.25 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1986, allocations: 0 / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000643/0.1992, allocations: 283 kB / 0.6751 GB, free: 13.3 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.0009299/0.2002, allocations: 0.5193 MB / 0.6756 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.2003, allocations: 45.62 kB / 0.6756 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2003, allocations: 0 / 0.6756 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2003, allocations: 0 / 0.6756 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2007, allocations: 468.3 kB / 0.6761 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.201, allocations: 235.8 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2012, allocations: 0.6846 MB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.2013, allocations: 4 kB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.929e-06/0.2013, allocations: 7.438 kB / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.2013, allocations: 4 kB / 0.677 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.008401/0.2097, allocations: 5.422 MB / 0.6823 GB, free: 5.902 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)