Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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-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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 91.84 kB / 16.02 MB, free: 80 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.001185/0.001185, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.3 MB / 427.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 8 kB / 0.5083 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 82.31 MB / 0.5887 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0036/0.1796, allocations: 2.687 MB / 0.5913 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.1831, allocations: 2.071 MB / 0.5933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.1835, allocations: 7.938 kB / 0.5933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.1853, allocations: 478 kB / 0.5938 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.1858, allocations: 135.1 kB / 0.5939 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1859, allocations: 59.95 kB / 0.5939 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000631/0.1866, allocations: 457.9 kB / 0.5944 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.1869, allocations: 135.9 kB / 0.5945 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.1872, allocations: 135.3 kB / 0.5946 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.1875, allocations: 163.2 kB / 0.5948 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.1875, allocations: 20 kB / 0.5948 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-05/0.1876, allocations: 16 kB / 0.5948 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1877, allocations: 83.61 kB / 0.5949 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.1879, allocations: 232.6 kB / 0.5951 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1883, allocations: 434.7 kB / 0.5956 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1883, allocations: 0 / 0.5956 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1883, allocations: 0 / 0.5956 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.1884, allocations: 0 / 0.5956 GB, free: 11.45 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001018/0.1894, allocations: 0.6501 MB / 0.5962 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1894, allocations: 12.03 kB / 0.5962 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.1895, allocations: 40.47 kB / 0.5962 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.19, allocations: 374.1 kB / 0.5966 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1901, allocations: 24.75 kB / 0.5966 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1901, allocations: 20.12 kB / 0.5966 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.1906, allocations: 211.3 kB / 0.5968 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1906, allocations: 3.938 kB / 0.5968 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.1906, allocations: 12 kB / 0.5969 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1906, allocations: 4 kB / 0.5969 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.1911, allocations: 177.6 kB / 0.597 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1923, allocations: 0.8701 MB / 0.5979 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.1927, allocations: 162.3 kB / 0.598 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.1929, allocations: 126 kB / 0.5982 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1929, allocations: 0 / 0.5982 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.193, allocations: 42.41 kB / 0.5982 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.193, allocations: 0 / 0.5982 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006367/0.1936, allocations: 263.5 kB / 0.5984 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1937, allocations: 55.41 kB / 0.5985 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.1941, allocations: 417.7 kB / 0.5989 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1942, allocations: 33.7 kB / 0.5989 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1943, allocations: 200.2 kB / 0.5991 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.1944, allocations: 78.92 kB / 0.5992 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1944, allocations: 21.72 kB / 0.5992 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1946, allocations: 346.8 kB / 0.5995 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1947, allocations: 63.91 kB / 0.5996 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1949, allocations: 57.86 kB / 0.5997 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1953, allocations: 154.7 kB / 0.5998 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1953, allocations: 0 / 0.5998 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000418/0.1957, allocations: 217.2 kB / 0.6 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1957, allocations: 7.938 kB / 0.6 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1957, allocations: 0 / 0.6 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1957, allocations: 0 / 0.6 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.196, allocations: 59.89 kB / 0.6001 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.196, allocations: 0 / 0.6001 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1962, allocations: 27.89 kB / 0.6001 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1962, allocations: 4 kB / 0.6001 GB, free: 6.543 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001686/0.1964, allocations: 165.7 kB / 0.6003 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.1965, allocations: 39.5 kB / 0.6003 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.1966, allocations: 43.58 kB / 0.6003 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1966, allocations: 4 kB / 0.6004 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1966, allocations: 4 kB / 0.6004 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1966, allocations: 4 kB / 0.6004 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.197, allocations: 373.3 kB / 0.6007 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.197, allocations: 0 / 0.6007 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.1973, allocations: 55.95 kB / 0.6008 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1973, allocations: 7.938 kB / 0.6008 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.1973, allocations: 4 kB / 0.6008 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1973, allocations: 0 / 0.6008 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1973, allocations: 3.938 kB / 0.6008 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.198, allocations: 403.7 kB / 0.6012 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1981, allocations: 124.5 kB / 0.6013 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1981, allocations: 8.062 kB / 0.6013 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1983, allocations: 8 kB / 0.6013 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.1984, allocations: 15.97 kB / 0.6013 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.1984, allocations: 4 kB / 0.6013 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003254/0.1987, allocations: 303.2 kB / 0.6016 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1987, allocations: 0 / 0.6016 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003265/0.1991, allocations: 71.84 kB / 0.6017 GB, free: 4.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001201/0.1992, allocations: 107.2 kB / 0.6018 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.1996, allocations: 155.8 kB / 0.6019 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1996, allocations: 0 / 0.6019 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1998, allocations: 91.81 kB / 0.602 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.2004, allocations: 88.48 kB / 0.6021 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.2018, allocations: 0.9754 MB / 0.6031 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2022, allocations: 0.7953 MB / 0.6038 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.2023, allocations: 23.44 kB / 0.6039 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.2023, allocations: 0 / 0.6039 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.276/0.4783, allocations: 4.28 MB / 0.608 GB, free: 47.71 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)