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.001476/0.001477, allocations: 106.1 kB / 16.4 MB, free: 6.465 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.001542/0.001542, allocations: 192 kB / 17.34 MB, free: 5.715 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8072/0.8072, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 62.81 kB / 0.5864 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1493, allocations: 80.92 MB / 0.6654 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005338/0.1547, allocations: 4.143 MB / 0.6694 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.1581, allocations: 2.413 MB / 0.6718 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1583, allocations: 8 kB / 0.6718 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.1597, allocations: 0.5363 MB / 0.6723 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.1602, allocations: 254 kB / 0.6726 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1604, allocations: 135.8 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.1613, allocations: 0.8136 MB / 0.6735 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.1617, allocations: 330.4 kB / 0.6738 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1621, allocations: 290.9 kB / 0.6741 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.1625, allocations: 334.6 kB / 0.6744 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.1626, allocations: 76 kB / 0.6745 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1627, allocations: 76 kB / 0.6746 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.1629, allocations: 167.5 kB / 0.6747 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.1632, allocations: 386.2 kB / 0.6751 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.1642, allocations: 0.9996 MB / 0.6761 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1642, allocations: 0 / 0.6761 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1642, allocations: 0 / 0.6761 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.1643, allocations: 0 / 0.6761 GB, free: 10.73 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.00148/0.1657, allocations: 0.9691 MB / 0.677 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1658, allocations: 17.11 kB / 0.677 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1659, allocations: 76.47 kB / 0.6771 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.1666, allocations: 470 kB / 0.6775 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.1666, allocations: 33.38 kB / 0.6776 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.1667, allocations: 51.94 kB / 0.6776 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.1675, allocations: 422.5 kB / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1675, allocations: 0 / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.1675, allocations: 24 kB / 0.6781 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1676, allocations: 12 kB / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.1683, allocations: 367.8 kB / 0.6784 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.1704, allocations: 1.528 MB / 0.6799 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.1709, allocations: 350.7 kB / 0.6802 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.1715, allocations: 326.4 kB / 0.6806 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1715, allocations: 8.766 kB / 0.6806 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1715, allocations: 34.56 kB / 0.6806 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.1715, allocations: 3.938 kB / 0.6806 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009858/0.1725, allocations: 0.4973 MB / 0.6811 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1726, allocations: 55.41 kB / 0.6811 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/0.1732, allocations: 485.9 kB / 0.6816 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1732, allocations: 37.7 kB / 0.6816 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.1734, allocations: 280.6 kB / 0.6819 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.1736, allocations: 154.6 kB / 0.6821 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.1737, allocations: 62.08 kB / 0.6821 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1739, allocations: 362.8 kB / 0.6825 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.1741, allocations: 124.7 kB / 0.6826 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.1744, allocations: 125.2 kB / 0.6827 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.1749, allocations: 294.2 kB / 0.683 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1749, allocations: 3.938 kB / 0.683 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006653/0.1756, allocations: 400.7 kB / 0.6834 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1756, allocations: 4 kB / 0.6834 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1756, allocations: 0 / 0.6834 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1756, allocations: 4 kB / 0.6834 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.1762, allocations: 123.9 kB / 0.6835 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1762, allocations: 0 / 0.6835 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1764, allocations: 47.72 kB / 0.6835 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1764, allocations: 8 kB / 0.6835 GB, free: 2.82 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.000221/0.1766, allocations: 193.7 kB / 0.6837 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.1767, allocations: 59.64 kB / 0.6838 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1769, allocations: 61.11 kB / 0.6838 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1769, allocations: 4 kB / 0.6838 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1769, allocations: 0 / 0.6838 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1769, allocations: 3.984 kB / 0.6838 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.1776, allocations: 0.5674 MB / 0.6844 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1776, allocations: 7.984 kB / 0.6844 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.1781, allocations: 123.9 kB / 0.6845 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1781, allocations: 7.938 kB / 0.6845 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.1782, allocations: 7.938 kB / 0.6845 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.1782, allocations: 4 kB / 0.6845 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1782, allocations: 0 / 0.6845 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1792, allocations: 0.6598 MB / 0.6852 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1794, allocations: 136.7 kB / 0.6853 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1794, allocations: 12 kB / 0.6853 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1796, allocations: 11.98 kB / 0.6853 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.1797, allocations: 23.97 kB / 0.6854 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1797, allocations: 8 kB / 0.6854 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004198/0.1802, allocations: 351.1 kB / 0.6857 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1802, allocations: 4 kB / 0.6857 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003964/0.1806, allocations: 147.7 kB / 0.6859 GB, free: 360 kB / 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.000147/0.1807, allocations: 115.2 kB / 0.686 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000624/0.1814, allocations: 327.8 kB / 0.6863 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1814, allocations: 0 / 0.6863 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.1817, allocations: 179.8 kB / 0.6864 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.1823, allocations: 134.7 kB / 0.6866 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1842, allocations: 1.211 MB / 0.6878 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.1848, allocations: 0.8704 MB / 0.6886 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.185, allocations: 52.41 kB / 0.6887 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.1851, allocations: 39.42 kB / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.124e-06/0.1851, allocations: 0 / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.2707/0.4557, allocations: 6.065 MB / 0.6946 GB, free: 7.441 MB / 0.5294 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)