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-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_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.0008506/0.0008507, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009/0.0009, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8287/0.8287, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 14.44 kB / 0.5069 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003604/0.1585, allocations: 3.253 MB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1616, allocations: 2.187 MB / 0.5926 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004139/0.162, allocations: 12 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1634, allocations: 474.2 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005941/0.164, allocations: 255.3 kB / 0.5933 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1642, allocations: 79.92 kB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008487/0.1651, allocations: 0.5662 MB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.1655, allocations: 241.5 kB / 0.5941 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.1659, allocations: 235.1 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.1663, allocations: 266.8 kB / 0.5946 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.582e-05/0.1664, allocations: 36 kB / 0.5946 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1665, allocations: 36 kB / 0.5947 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1666, allocations: 123.6 kB / 0.5948 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1668, allocations: 165.3 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.1675, allocations: 0.7867 MB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1675, allocations: 0 / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1675, allocations: 0 / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.1675, allocations: 4 kB / 0.5957 GB, free: 10.37 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.001367/0.1689, allocations: 0.8411 MB / 0.5965 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1689, allocations: 12.03 kB / 0.5965 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1691, allocations: 71.16 kB / 0.5966 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.1697, allocations: 440.7 kB / 0.597 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.1697, allocations: 41 kB / 0.5971 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.1698, allocations: 44 kB / 0.5971 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.1705, allocations: 426.5 kB / 0.5975 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1706, allocations: 3.906 kB / 0.5975 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1706, allocations: 24 kB / 0.5975 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1706, allocations: 19.88 kB / 0.5976 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.1713, allocations: 371.8 kB / 0.5979 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.1733, allocations: 1.539 MB / 0.5994 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.1738, allocations: 339.7 kB / 0.5997 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1738, allocations: 8.703 kB / 0.5998 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1738, allocations: 42.5 kB / 0.5998 GB, free: 6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.634e-06/0.1738, allocations: 0 / 0.5998 GB, free: 6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008662/0.1747, allocations: 0.5059 MB / 0.6003 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1748, allocations: 55.41 kB / 0.6003 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.1753, allocations: 481.9 kB / 0.6008 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1753, allocations: 29.7 kB / 0.6008 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1755, allocations: 284.2 kB / 0.6011 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1756, allocations: 141.9 kB / 0.6012 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.1756, allocations: 16 kB / 0.6013 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1757, allocations: 358.8 kB / 0.6016 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.176, allocations: 124.7 kB / 0.6017 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1762, allocations: 129.4 kB / 0.6018 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.1764, allocations: 151.7 kB / 0.602 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1764, allocations: 0 / 0.602 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005787/0.177, allocations: 399.8 kB / 0.6024 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1771, allocations: 6.344 kB / 0.6024 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1771, allocations: 4 kB / 0.6024 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1771, allocations: 7.953 kB / 0.6024 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.1776, allocations: 123.9 kB / 0.6025 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1776, allocations: 7.984 kB / 0.6025 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.1778, allocations: 59.59 kB / 0.6026 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.1779, allocations: 8 kB / 0.6026 GB, free: 3.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.1781, allocations: 193.8 kB / 0.6028 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1781, allocations: 55.28 kB / 0.6028 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.286e-05/0.1782, allocations: 61.09 kB / 0.6029 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.1783, allocations: 7.953 kB / 0.6029 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1783, allocations: 0 / 0.6029 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1783, allocations: 11.97 kB / 0.6029 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.1789, allocations: 0.5634 MB / 0.6034 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1789, allocations: 0 / 0.6034 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.1794, allocations: 131.8 kB / 0.6036 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1794, allocations: 4 kB / 0.6036 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1794, allocations: 7.938 kB / 0.6036 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1794, allocations: 4 kB / 0.6036 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1794, allocations: 3.953 kB / 0.6036 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.1803, allocations: 0.6659 MB / 0.6042 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1804, allocations: 140.4 kB / 0.6044 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.1805, allocations: 4 kB / 0.6044 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1807, allocations: 19.98 kB / 0.6044 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1808, allocations: 23.97 kB / 0.6044 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1808, allocations: 19.89 kB / 0.6044 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003434/0.1812, allocations: 351 kB / 0.6048 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1812, allocations: 4 kB / 0.6048 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003655/0.1815, allocations: 143.6 kB / 0.6049 GB, free: 0.6172 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.1817, allocations: 111.2 kB / 0.605 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005412/0.1822, allocations: 336.4 kB / 0.6053 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1822, allocations: 0 / 0.6053 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2156/0.3979, allocations: 181.7 kB / 0.6055 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.3985, allocations: 107.2 kB / 0.6056 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4001, allocations: 1.445 MB / 0.607 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.4003, allocations: 0.8771 MB / 0.6079 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.4005, allocations: 58.27 kB / 0.6079 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.754e-05/0.4006, allocations: 33.59 kB / 0.608 GB, free: 47.83 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.4006, allocations: 2.438 kB / 0.608 GB, free: 47.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.007418/0.408, allocations: 5.361 MB / 0.6132 GB, free: 47.55 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: