Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008954/0.0008953, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 183.2 kB / 16.92 MB, free: 6.707 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 115.5 MB / 407.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 495.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 77.52 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004204/0.1543, allocations: 3.754 MB / 0.5636 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.1577, allocations: 2.328 MB / 0.5659 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.1582, allocations: 23.88 kB / 0.5659 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.1598, allocations: 0.4901 MB / 0.5664 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.1605, allocations: 218.5 kB / 0.5666 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1608, allocations: 119.9 kB / 0.5667 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.1618, allocations: 0.8129 MB / 0.5675 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.1622, allocations: 276.2 kB / 0.5678 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1626, allocations: 242.9 kB / 0.568 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.163, allocations: 286.7 kB / 0.5683 GB, free: 408 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.628e-05/0.1631, allocations: 39.94 kB / 0.5683 GB, free: 368 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1632, allocations: 36 kB / 0.5684 GB, free: 332 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1634, allocations: 127.5 kB / 0.5685 GB, free: 204 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.1638, allocations: 356 kB / 0.5688 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.1646, allocations: 0.9456 MB / 0.5698 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1646, allocations: 0 / 0.5698 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1646, allocations: 0 / 0.5698 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.1647, allocations: 0 / 0.5698 GB, free: 14.89 MB / 446.1 MB 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.001358/0.166, allocations: 0.8412 MB / 0.5706 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1661, allocations: 12.03 kB / 0.5706 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1662, allocations: 76.08 kB / 0.5707 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.1669, allocations: 453.6 kB / 0.5711 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1669, allocations: 41.31 kB / 0.5711 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.167, allocations: 52.36 kB / 0.5712 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.1678, allocations: 430.8 kB / 0.5716 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1678, allocations: 7.906 kB / 0.5716 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.1679, allocations: 20 kB / 0.5716 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1679, allocations: 8 kB / 0.5716 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.1687, allocations: 379.8 kB / 0.572 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1708, allocations: 1.543 MB / 0.5735 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.1714, allocations: 346.7 kB / 0.5738 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.1719, allocations: 316.8 kB / 0.5741 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1719, allocations: 4 kB / 0.5741 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1719, allocations: 42.5 kB / 0.5742 GB, free: 10.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.172, allocations: 0 / 0.5742 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009823/0.1729, allocations: 0.5048 MB / 0.5747 GB, free: 9.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.173, allocations: 55.41 kB / 0.5747 GB, free: 9.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.1736, allocations: 489.9 kB / 0.5752 GB, free: 9.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1736, allocations: 37.7 kB / 0.5752 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1738, allocations: 280.3 kB / 0.5755 GB, free: 8.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1739, allocations: 145.8 kB / 0.5756 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.174, allocations: 29.7 kB / 0.5757 GB, free: 8.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1742, allocations: 362.8 kB / 0.576 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.1744, allocations: 128.7 kB / 0.5761 GB, free: 8.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1747, allocations: 133.4 kB / 0.5763 GB, free: 7.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.1752, allocations: 312 kB / 0.5766 GB, free: 7.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1752, allocations: 0 / 0.5766 GB, free: 7.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006641/0.1759, allocations: 408.6 kB / 0.5769 GB, free: 7.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.176, allocations: 5.875 kB / 0.577 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.176, allocations: 0 / 0.577 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.176, allocations: 0.7656 kB / 0.577 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.1765, allocations: 131.9 kB / 0.5771 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1765, allocations: 0 / 0.5771 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.1768, allocations: 55.56 kB / 0.5771 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1768, allocations: 8 kB / 0.5771 GB, free: 7.086 MB / 446.1 MB 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.0002254/0.177, allocations: 197.8 kB / 0.5773 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.1771, allocations: 55.36 kB / 0.5774 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1773, allocations: 65.05 kB / 0.5774 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1773, allocations: 4 kB / 0.5774 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1773, allocations: 0 / 0.5774 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1773, allocations: 3.984 kB / 0.5775 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.178, allocations: 0.5673 MB / 0.578 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.178, allocations: 3.984 kB / 0.578 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.1785, allocations: 135.8 kB / 0.5781 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1785, allocations: 0 / 0.5781 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.1786, allocations: 8 kB / 0.5781 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1786, allocations: 0 / 0.5781 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1786, allocations: 0 / 0.5781 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1796, allocations: 0.6825 MB / 0.5788 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.1798, allocations: 140.4 kB / 0.5789 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.1798, allocations: 8 kB / 0.579 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1801, allocations: 27.89 kB / 0.579 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.1802, allocations: 19.97 kB / 0.579 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1802, allocations: 12 kB / 0.579 GB, free: 5.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004153/0.1806, allocations: 351.1 kB / 0.5793 GB, free: 4.734 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1806, allocations: 0 / 0.5793 GB, free: 4.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.1811, allocations: 143.7 kB / 0.5795 GB, free: 4.594 MB / 446.1 MB 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.0001418/0.1812, allocations: 107.2 kB / 0.5796 GB, free: 4.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.1818, allocations: 343.7 kB / 0.5799 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1819, allocations: 0 / 0.5799 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.1822, allocations: 187.8 kB / 0.5801 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.1829, allocations: 127.4 kB / 0.5802 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.185, allocations: 1.509 MB / 0.5817 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.1854, allocations: 0.8668 MB / 0.5825 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.1856, allocations: 52.39 kB / 0.5826 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.826e-05/0.1857, allocations: 39.44 kB / 0.5826 GB, free: 1.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1857, allocations: 0 / 0.5826 GB, free: 1.32 MB / 446.1 MB Notification: Performance of Templates: time 0.2548/0.4405, allocations: 5.541 MB / 0.588 GB, free: 29.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)