Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006/0.006, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001324/0.001324, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.32/1.32, allocations: 222.9 MB / 240.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7862/0.7862, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 68.42 kB / 0.5814 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1601, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005509/0.1657, allocations: 4.134 MB / 0.6638 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.1694, allocations: 2.421 MB / 0.6661 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.17, allocations: 12 kB / 0.6661 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.1718, allocations: 0.5363 MB / 0.6667 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008241/0.1727, allocations: 250 kB / 0.6669 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1731, allocations: 143.9 kB / 0.667 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1742, allocations: 0.8137 MB / 0.6678 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.1746, allocations: 322.5 kB / 0.6681 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.175, allocations: 294.9 kB / 0.6684 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.1753, allocations: 330.6 kB / 0.6687 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.1755, allocations: 79.94 kB / 0.6688 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1756, allocations: 72 kB / 0.6689 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.1757, allocations: 175.4 kB / 0.669 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.1761, allocations: 382.2 kB / 0.6694 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008728/0.177, allocations: 0.9967 MB / 0.6704 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.177, allocations: 0 / 0.6704 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.177, allocations: 0 / 0.6704 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.177, allocations: 0 / 0.6704 GB, free: 15.29 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00146/0.1785, allocations: 0.9463 MB / 0.6713 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1785, allocations: 12.03 kB / 0.6713 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1786, allocations: 72.09 kB / 0.6714 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.1793, allocations: 461.6 kB / 0.6718 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1794, allocations: 37.38 kB / 0.6719 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.1795, allocations: 55.84 kB / 0.6719 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.1802, allocations: 426.5 kB / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1802, allocations: 0 / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1803, allocations: 20 kB / 0.6723 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1803, allocations: 12 kB / 0.6724 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.181, allocations: 371.8 kB / 0.6727 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.183, allocations: 1.512 MB / 0.6742 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.1835, allocations: 351.2 kB / 0.6745 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.184, allocations: 320.8 kB / 0.6748 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1841, allocations: 4 kB / 0.6748 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1841, allocations: 38.5 kB / 0.6749 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.1841, allocations: 0.7656 kB / 0.6749 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009162/0.185, allocations: 0.4902 MB / 0.6753 GB, free: 10 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1851, allocations: 55.41 kB / 0.6754 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.1856, allocations: 485.9 kB / 0.6759 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1856, allocations: 33.7 kB / 0.6759 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1858, allocations: 280.4 kB / 0.6762 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1859, allocations: 145.8 kB / 0.6763 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.186, allocations: 66 kB / 0.6764 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1861, allocations: 370.8 kB / 0.6767 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.1864, allocations: 120.7 kB / 0.6768 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.1866, allocations: 133.1 kB / 0.677 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.1871, allocations: 286.4 kB / 0.6772 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1871, allocations: 3.938 kB / 0.6772 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006231/0.1878, allocations: 396.3 kB / 0.6776 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1878, allocations: 8 kB / 0.6776 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1878, allocations: 0 / 0.6776 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1878, allocations: 3.984 kB / 0.6776 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.1883, allocations: 127.8 kB / 0.6777 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1883, allocations: 4 kB / 0.6778 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1885, allocations: 31.59 kB / 0.6778 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.1886, allocations: 12 kB / 0.6778 GB, free: 7.434 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 (46): * Single equations (assignments): 46 * 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.0002116/0.1888, allocations: 210.5 kB / 0.678 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.1889, allocations: 47.44 kB / 0.678 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.189, allocations: 61.09 kB / 0.6781 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.189, allocations: 4 kB / 0.6781 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.189, allocations: 0 / 0.6781 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.189, allocations: 0 / 0.6781 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.1897, allocations: 0.5751 MB / 0.6787 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1897, allocations: 0 / 0.6787 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.1902, allocations: 131.8 kB / 0.6788 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1902, allocations: 4 kB / 0.6788 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1902, allocations: 4 kB / 0.6788 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1902, allocations: 4 kB / 0.6788 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1902, allocations: 3.938 kB / 0.6788 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.1912, allocations: 0.6543 MB / 0.6794 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1913, allocations: 136.4 kB / 0.6796 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.1914, allocations: 15.94 kB / 0.6796 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.1916, allocations: 11.98 kB / 0.6796 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1916, allocations: 23.97 kB / 0.6796 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1917, allocations: 12 kB / 0.6796 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003667/0.192, allocations: 351.1 kB / 0.68 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.192, allocations: 0 / 0.68 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003643/0.1924, allocations: 139.7 kB / 0.6801 GB, free: 4.977 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001529/0.1926, allocations: 119.1 kB / 0.6802 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005894/0.1932, allocations: 320.3 kB / 0.6805 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1932, allocations: 0 / 0.6805 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1935, allocations: 183.6 kB / 0.6807 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.1941, allocations: 127.7 kB / 0.6808 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1959, allocations: 1.206 MB / 0.682 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1963, allocations: 0.8665 MB / 0.6828 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.1965, allocations: 56.39 kB / 0.6829 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.1966, allocations: 35.44 kB / 0.6829 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1966, allocations: 0 / 0.6829 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of Templates: time 0.0106/0.2072, allocations: 6.016 MB / 0.6888 GB, free: 12.14 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)