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.00087/0.0008701, allocations: 99.55 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.0008568/0.0008568, allocations: 177.3 kB / 15.94 MB, free: 228 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.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8491/0.8491, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 9.406 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1421, allocations: 82.31 MB / 0.5872 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003172/0.1453, allocations: 3.254 MB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1478, allocations: 2.187 MB / 0.5925 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.148, allocations: 12 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.149, allocations: 478.1 kB / 0.593 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1494, allocations: 251.3 kB / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.1496, allocations: 79.92 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.1501, allocations: 0.5662 MB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.1504, allocations: 241.5 kB / 0.5941 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1507, allocations: 235.1 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.1509, allocations: 266.9 kB / 0.5946 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.151, allocations: 39.98 kB / 0.5946 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.151, allocations: 32 kB / 0.5947 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1511, allocations: 119.5 kB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1513, allocations: 161.4 kB / 0.5949 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.1519, allocations: 0.7945 MB / 0.5957 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1519, allocations: 0 / 0.5957 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1519, allocations: 4 kB / 0.5957 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.1519, allocations: 0 / 0.5957 GB, free: 10.32 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.001058/0.1529, allocations: 0.8411 MB / 0.5965 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.153, allocations: 8.031 kB / 0.5965 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.1531, allocations: 71.16 kB / 0.5966 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.1536, allocations: 440.7 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1536, allocations: 37 kB / 0.5971 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.1537, allocations: 55.88 kB / 0.5971 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.1543, allocations: 422.5 kB / 0.5975 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1543, allocations: 4 kB / 0.5975 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.1544, allocations: 16 kB / 0.5975 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1544, allocations: 12 kB / 0.5975 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.155, allocations: 375.8 kB / 0.5979 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.1568, allocations: 1.547 MB / 0.5994 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.1573, allocations: 343.7 kB / 0.5997 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1573, allocations: 11.98 kB / 0.5998 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1573, allocations: 34.56 kB / 0.5998 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.513e-06/0.1573, allocations: 0 / 0.5998 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008343/0.1582, allocations: 0.5105 MB / 0.6003 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1582, allocations: 59.39 kB / 0.6003 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1587, allocations: 485.9 kB / 0.6008 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1587, allocations: 33.7 kB / 0.6008 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1589, allocations: 276.3 kB / 0.6011 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.954e-05/0.159, allocations: 141.9 kB / 0.6012 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.159, allocations: 8 kB / 0.6012 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1591, allocations: 366.7 kB / 0.6016 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1594, allocations: 124.7 kB / 0.6017 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1596, allocations: 125.5 kB / 0.6018 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1598, allocations: 143.7 kB / 0.602 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1598, allocations: 0 / 0.602 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005722/0.1604, allocations: 407.8 kB / 0.6024 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1605, allocations: 11.98 kB / 0.6024 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1605, allocations: 0 / 0.6024 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1605, allocations: 3.953 kB / 0.6024 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.1609, allocations: 131.8 kB / 0.6025 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.161, allocations: 8 kB / 0.6025 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1612, allocations: 47.61 kB / 0.6026 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1612, allocations: 12 kB / 0.6026 GB, free: 3.047 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.0001823/0.1614, allocations: 197.8 kB / 0.6028 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.1615, allocations: 55.34 kB / 0.6028 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.1616, allocations: 61.09 kB / 0.6029 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1616, allocations: 7.953 kB / 0.6029 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1616, allocations: 4 kB / 0.6029 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1616, allocations: 0 / 0.6029 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.1622, allocations: 0.5673 MB / 0.6034 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1622, allocations: 0 / 0.6034 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.1626, allocations: 127.8 kB / 0.6035 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1627, allocations: 8 kB / 0.6036 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1627, allocations: 4 kB / 0.6036 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1627, allocations: 11.92 kB / 0.6036 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1627, allocations: 3.953 kB / 0.6036 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.1636, allocations: 0.6657 MB / 0.6042 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.1637, allocations: 136.5 kB / 0.6044 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.1637, allocations: 15.98 kB / 0.6044 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.164, allocations: 23.98 kB / 0.6044 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.164, allocations: 19.97 kB / 0.6044 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1641, allocations: 11.95 kB / 0.6044 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003245/0.1644, allocations: 351.1 kB / 0.6048 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1644, allocations: 0 / 0.6048 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003448/0.1647, allocations: 147.6 kB / 0.6049 GB, free: 0.5586 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.0001134/0.1649, allocations: 107.2 kB / 0.605 GB, free: 452 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.1654, allocations: 336.4 kB / 0.6053 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1654, allocations: 0 / 0.6053 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.2166/0.382, allocations: 176.8 kB / 0.6055 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.3827, allocations: 109.7 kB / 0.6056 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3844, allocations: 1.445 MB / 0.607 GB, free: 48.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3846, allocations: 0.8798 MB / 0.6079 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00015/0.3847, allocations: 54.06 kB / 0.6079 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.3848, allocations: 34.19 kB / 0.608 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.3848, allocations: 3.469 kB / 0.608 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.008266/0.3931, allocations: 5.367 MB / 0.6132 GB, free: 47.86 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: