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.001601/0.001601, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.001908/0.001908, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8084/0.8084, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.34 kB / 0.5821 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004987/0.15, allocations: 4.128 MB / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1534, allocations: 2.417 MB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.1537, allocations: 12 kB / 0.6668 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1553, allocations: 0.5402 MB / 0.6673 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.1557, allocations: 250 kB / 0.6676 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.156, allocations: 139.9 kB / 0.6677 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.1567, allocations: 0.8136 MB / 0.6685 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.1572, allocations: 330.5 kB / 0.6688 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.1575, allocations: 291 kB / 0.6691 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1579, allocations: 326.6 kB / 0.6694 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.158, allocations: 79.94 kB / 0.6695 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.1581, allocations: 72 kB / 0.6695 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1582, allocations: 163.5 kB / 0.6697 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.1585, allocations: 394.2 kB / 0.6701 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.1594, allocations: 0.9968 MB / 0.671 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1594, allocations: 0 / 0.671 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1594, allocations: 0 / 0.671 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.1594, allocations: 0 / 0.671 GB, free: 15.25 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.001399/0.1608, allocations: 0.9539 MB / 0.672 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1609, allocations: 8.031 kB / 0.672 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.161, allocations: 76.03 kB / 0.672 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.1616, allocations: 465.6 kB / 0.6725 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.1617, allocations: 33.38 kB / 0.6725 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.1618, allocations: 55.84 kB / 0.6726 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.1625, allocations: 426.5 kB / 0.673 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1625, allocations: 4 kB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.1626, allocations: 20 kB / 0.673 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1626, allocations: 12 kB / 0.673 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.1633, allocations: 367.8 kB / 0.6734 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1653, allocations: 1.512 MB / 0.6748 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.1659, allocations: 355.1 kB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.1664, allocations: 316.8 kB / 0.6755 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1664, allocations: 4 kB / 0.6755 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1664, allocations: 38.55 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.1664, allocations: 0.7656 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009579/0.1674, allocations: 0.494 MB / 0.676 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1675, allocations: 59.41 kB / 0.6761 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.168, allocations: 485.9 kB / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1681, allocations: 29.7 kB / 0.6766 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1683, allocations: 276.4 kB / 0.6768 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.1684, allocations: 149.8 kB / 0.677 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.1685, allocations: 66.02 kB / 0.677 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1686, allocations: 362.8 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1689, allocations: 124.7 kB / 0.6775 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.1691, allocations: 133.2 kB / 0.6776 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.1697, allocations: 286.4 kB / 0.6779 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1697, allocations: 3.938 kB / 0.6779 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006729/0.1704, allocations: 400.2 kB / 0.6783 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1704, allocations: 8 kB / 0.6783 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1704, allocations: 0 / 0.6783 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1704, allocations: 0 / 0.6783 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.1709, allocations: 123.9 kB / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1709, allocations: 4 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1712, allocations: 35.58 kB / 0.6784 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1712, allocations: 12 kB / 0.6785 GB, free: 7.395 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.0002414/0.1715, allocations: 202.6 kB / 0.6786 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.1716, allocations: 51.44 kB / 0.6787 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1717, allocations: 53.11 kB / 0.6787 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1717, allocations: 4 kB / 0.6787 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1717, allocations: 4 kB / 0.6788 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1717, allocations: 3.984 kB / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.1724, allocations: 0.5712 MB / 0.6793 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1724, allocations: 3.938 kB / 0.6793 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.1729, allocations: 123.9 kB / 0.6794 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1729, allocations: 7.938 kB / 0.6794 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.173, allocations: 12 kB / 0.6795 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.173, allocations: 0 / 0.6795 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.173, allocations: 3.938 kB / 0.6795 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.174, allocations: 0.6504 MB / 0.6801 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1741, allocations: 140.4 kB / 0.6802 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.1742, allocations: 8 kB / 0.6802 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1744, allocations: 15.98 kB / 0.6803 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1745, allocations: 23.97 kB / 0.6803 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.1745, allocations: 8 kB / 0.6803 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003946/0.1749, allocations: 355.1 kB / 0.6806 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1749, allocations: 0 / 0.6806 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004131/0.1753, allocations: 135.7 kB / 0.6807 GB, free: 4.949 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.0001398/0.1755, allocations: 123.1 kB / 0.6809 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.1761, allocations: 324.2 kB / 0.6812 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1761, allocations: 0 / 0.6812 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1764, allocations: 179.6 kB / 0.6813 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.177, allocations: 131.9 kB / 0.6815 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.179, allocations: 1.235 MB / 0.6827 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1794, allocations: 0.8704 MB / 0.6835 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1795, allocations: 39.44 kB / 0.6836 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of SimCode: time 4.7e-07/0.1795, allocations: 0 / 0.6836 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.009797/0.1893, allocations: 6.891 MB / 0.6903 GB, free: 11.16 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)