Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001197/0.001197, allocations: 201.3 kB / 16.14 MB, free: 6.793 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9124/0.9124, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 68.64 kB / 0.5047 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1545, allocations: 80.92 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005017/0.1596, allocations: 4.151 MB / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1627, allocations: 2.371 MB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1629, allocations: 8 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1644, allocations: 0.4979 MB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.1649, allocations: 218.4 kB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1651, allocations: 123.9 kB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007538/0.1659, allocations: 0.805 MB / 0.5917 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.1663, allocations: 296.1 kB / 0.592 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.1666, allocations: 263 kB / 0.5923 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.1669, allocations: 314.6 kB / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.167, allocations: 51.94 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.1671, allocations: 52 kB / 0.5927 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1673, allocations: 139.4 kB / 0.5928 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1676, allocations: 362.3 kB / 0.5931 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.1684, allocations: 0.9654 MB / 0.5941 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1684, allocations: 0 / 0.5941 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1684, allocations: 0 / 0.5941 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.1684, allocations: 3.938 kB / 0.5941 GB, free: 10.34 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00134/0.1697, allocations: 0.9463 MB / 0.595 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1698, allocations: 16.03 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1699, allocations: 76 kB / 0.5951 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1704, allocations: 461.6 kB / 0.5955 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1705, allocations: 33.38 kB / 0.5956 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.1706, allocations: 48.12 kB / 0.5956 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.1713, allocations: 426.5 kB / 0.596 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1714, allocations: 0 / 0.596 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.1714, allocations: 23.98 kB / 0.596 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1714, allocations: 12 kB / 0.5961 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/0.1721, allocations: 367.8 kB / 0.5964 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1741, allocations: 1.528 MB / 0.5979 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1746, allocations: 339.6 kB / 0.5982 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.1751, allocations: 320.8 kB / 0.5985 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1751, allocations: 4.688 kB / 0.5985 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1752, allocations: 38.56 kB / 0.5986 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.1752, allocations: 0 / 0.5986 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009159/0.1761, allocations: 0.4924 MB / 0.599 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1762, allocations: 63.19 kB / 0.5991 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.1767, allocations: 485.9 kB / 0.5996 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1767, allocations: 37.7 kB / 0.5996 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1769, allocations: 276.3 kB / 0.5999 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.177, allocations: 145.8 kB / 0.6 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/0.1771, allocations: 62.08 kB / 0.6001 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1773, allocations: 366.8 kB / 0.6004 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1775, allocations: 116.7 kB / 0.6005 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1778, allocations: 125.4 kB / 0.6006 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.1783, allocations: 295.3 kB / 0.6009 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1783, allocations: 0 / 0.6009 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006362/0.1789, allocations: 404.3 kB / 0.6013 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.179, allocations: 4.766 kB / 0.6013 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.179, allocations: 0 / 0.6013 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.179, allocations: 7.984 kB / 0.6013 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.1795, allocations: 123.9 kB / 0.6014 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1795, allocations: 3.938 kB / 0.6014 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1798, allocations: 51.67 kB / 0.6015 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1798, allocations: 8 kB / 0.6015 GB, free: 2.488 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 (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.0002263/0.18, allocations: 201.6 kB / 0.6017 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.1801, allocations: 51.34 kB / 0.6017 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1802, allocations: 65.09 kB / 0.6018 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1802, allocations: 8 kB / 0.6018 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1803, allocations: 0 / 0.6018 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1803, allocations: 4 kB / 0.6018 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.1809, allocations: 0.5713 MB / 0.6024 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1809, allocations: 0 / 0.6024 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.1814, allocations: 123.9 kB / 0.6025 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1814, allocations: 7.938 kB / 0.6025 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1815, allocations: 4 kB / 0.6025 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1815, allocations: 4 kB / 0.6025 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1815, allocations: 3.984 kB / 0.6025 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.1825, allocations: 0.6481 MB / 0.6031 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1826, allocations: 136.4 kB / 0.6033 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.1827, allocations: 12 kB / 0.6033 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1829, allocations: 23.97 kB / 0.6033 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.183, allocations: 23.97 kB / 0.6033 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.183, allocations: 12 kB / 0.6033 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003716/0.1834, allocations: 347.1 kB / 0.6037 GB, free: 176 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1834, allocations: 0 / 0.6037 GB, free: 176 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000403/0.1838, allocations: 143.6 kB / 0.6038 GB, free: 32 kB / 0.4981 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.2685/0.4523, allocations: 111 kB / 0.6039 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008239/0.4532, allocations: 323.2 kB / 0.6042 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4532, allocations: 0 / 0.6042 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.4535, allocations: 184.6 kB / 0.6044 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/0.4545, allocations: 126.9 kB / 0.6045 GB, free: 52.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.4564, allocations: 1.415 MB / 0.6059 GB, free: 51.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4567, allocations: 0.8646 MB / 0.6068 GB, free: 50.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.4569, allocations: 57.22 kB / 0.6068 GB, free: 50.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.457, allocations: 37.06 kB / 0.6068 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.457, allocations: 0 / 0.6068 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.01065/0.4677, allocations: 5.608 MB / 0.6123 GB, free: 50.64 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)