Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.002198/0.002198, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.419/1.419, allocations: 225.6 MB / 244.8 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8285/0.8285, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.11 kB / 0.5912 GB, free: 21.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1585, allocations: 83.26 MB / 0.6725 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004621/0.1631, allocations: 3.034 MB / 0.6755 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1662, allocations: 2.168 MB / 0.6776 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1663, allocations: 4 kB / 0.6776 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1677, allocations: 0.5055 MB / 0.6781 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.168, allocations: 150.9 kB / 0.6782 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1681, allocations: 59.94 kB / 0.6783 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.1686, allocations: 445.8 kB / 0.6787 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1689, allocations: 103.3 kB / 0.6788 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.1691, allocations: 159.4 kB / 0.679 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.1693, allocations: 179.1 kB / 0.6791 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.1694, allocations: 40 kB / 0.6792 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1694, allocations: 32 kB / 0.6792 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1696, allocations: 99.61 kB / 0.6793 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1698, allocations: 218.9 kB / 0.6795 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.1704, allocations: 0.5446 MB / 0.68 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1704, allocations: 4 kB / 0.68 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1704, allocations: 0 / 0.68 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.1704, allocations: 0 / 0.68 GB, free: 12.11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001099/0.1715, allocations: 0.7121 MB / 0.6807 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1716, allocations: 8.031 kB / 0.6807 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.1717, allocations: 44.66 kB / 0.6808 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.1722, allocations: 382.3 kB / 0.6812 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1722, allocations: 16.81 kB / 0.6812 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.1723, allocations: 27.94 kB / 0.6812 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.1727, allocations: 199.3 kB / 0.6814 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1727, allocations: 0 / 0.6814 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1728, allocations: 12 kB / 0.6814 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1728, allocations: 7.984 kB / 0.6814 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.1732, allocations: 165.7 kB / 0.6816 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1745, allocations: 0.8586 MB / 0.6824 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.1748, allocations: 138.6 kB / 0.6825 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.175, allocations: 115.5 kB / 0.6826 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.175, allocations: 4 kB / 0.6827 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1751, allocations: 38.5 kB / 0.6827 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.302e-06/0.1751, allocations: 0 / 0.6827 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006381/0.1757, allocations: 252.6 kB / 0.6829 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1758, allocations: 51.41 kB / 0.683 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.1763, allocations: 421.7 kB / 0.6834 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1763, allocations: 29.7 kB / 0.6834 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1765, allocations: 208.3 kB / 0.6836 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.1765, allocations: 63.44 kB / 0.6837 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.1766, allocations: 33.7 kB / 0.6837 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1768, allocations: 350.8 kB / 0.684 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1769, allocations: 55.91 kB / 0.6841 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1771, allocations: 57 kB / 0.6841 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1774, allocations: 142.7 kB / 0.6843 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1774, allocations: 0 / 0.6843 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000405/0.1778, allocations: 207.1 kB / 0.6845 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1778, allocations: 4 kB / 0.6845 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1778, allocations: 0 / 0.6845 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1778, allocations: 0 / 0.6845 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1781, allocations: 63.84 kB / 0.6845 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1781, allocations: 0 / 0.6845 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1782, allocations: 27.83 kB / 0.6846 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1782, allocations: 3.938 kB / 0.6846 GB, free: 7.223 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 (20): * Single equations (assignments): 20 * 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.0001703/0.1784, allocations: 161.8 kB / 0.6847 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.1784, allocations: 43.7 kB / 0.6848 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.1785, allocations: 43.53 kB / 0.6848 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1785, allocations: 4 kB / 0.6848 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1785, allocations: 0 / 0.6848 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1785, allocations: 3.984 kB / 0.6848 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.179, allocations: 377.3 kB / 0.6852 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.179, allocations: 4 kB / 0.6852 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1793, allocations: 55.91 kB / 0.6852 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1793, allocations: 0 / 0.6852 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1793, allocations: 4 kB / 0.6852 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1793, allocations: 4 kB / 0.6852 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1793, allocations: 0 / 0.6852 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.1799, allocations: 383.1 kB / 0.6856 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.18, allocations: 120.8 kB / 0.6857 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.1801, allocations: 8 kB / 0.6857 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1802, allocations: 7.984 kB / 0.6857 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1803, allocations: 11.98 kB / 0.6857 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1803, allocations: 8.062 kB / 0.6858 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003502/0.1807, allocations: 295.2 kB / 0.686 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1807, allocations: 4 kB / 0.686 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003056/0.181, allocations: 71.89 kB / 0.6861 GB, free: 5.551 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001514/0.1811, allocations: 107.2 kB / 0.6862 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.1815, allocations: 135.8 kB / 0.6863 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1815, allocations: 4 kB / 0.6863 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1817, allocations: 82.55 kB / 0.6864 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.1822, allocations: 92.58 kB / 0.6865 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1836, allocations: 0.768 MB / 0.6873 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.1841, allocations: 0.7951 MB / 0.688 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.1842, allocations: 34.97 kB / 0.6881 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1843, allocations: 23.44 kB / 0.6881 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1843, allocations: 0 / 0.6881 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of Templates: time 0.009119/0.1934, allocations: 4.051 MB / 0.692 GB, free: 15.52 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480]