Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 209.9 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8907/0.8907, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.28 kB / 0.6336 GB, free: 6.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1551, allocations: 87.89 MB / 0.7195 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00456/0.1596, allocations: 2.83 MB / 0.7222 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1628, allocations: 1.958 MB / 0.7241 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.163, allocations: 4 kB / 0.7241 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.1644, allocations: 461 kB / 0.7246 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1648, allocations: 154.8 kB / 0.7247 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.1649, allocations: 51.95 kB / 0.7248 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.1655, allocations: 457.8 kB / 0.7252 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.1657, allocations: 99.83 kB / 0.7253 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.166, allocations: 167.4 kB / 0.7255 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1663, allocations: 159.1 kB / 0.7256 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.1663, allocations: 36 kB / 0.7257 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.1664, allocations: 32 kB / 0.7257 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1665, allocations: 99.61 kB / 0.7258 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.1667, allocations: 179.1 kB / 0.7259 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.1673, allocations: 0.5785 MB / 0.7265 GB, free: 6.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1673, allocations: 0 / 0.7265 GB, free: 6.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1673, allocations: 4 kB / 0.7265 GB, free: 6.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.1673, allocations: 0 / 0.7265 GB, free: 6.992 MB / 0.545 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.001123/0.1685, allocations: 0.6369 MB / 0.7271 GB, free: 6.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1685, allocations: 12.03 kB / 0.7271 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.1686, allocations: 52.61 kB / 0.7272 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.1691, allocations: 320.6 kB / 0.7275 GB, free: 5.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1691, allocations: 16.81 kB / 0.7275 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1692, allocations: 20.38 kB / 0.7275 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1696, allocations: 203.5 kB / 0.7277 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1696, allocations: 4 kB / 0.7277 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.1696, allocations: 8 kB / 0.7277 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1697, allocations: 4 kB / 0.7277 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.1701, allocations: 169.6 kB / 0.7279 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.1712, allocations: 0.6361 MB / 0.7285 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1715, allocations: 146.5 kB / 0.7287 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1717, allocations: 96.81 kB / 0.7288 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1718, allocations: 8 kB / 0.7288 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1718, allocations: 30.56 kB / 0.7288 GB, free: 4.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1718, allocations: 0 / 0.7288 GB, free: 4.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005954/0.1724, allocations: 259.2 kB / 0.729 GB, free: 4.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1724, allocations: 63.33 kB / 0.7291 GB, free: 4.195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.1729, allocations: 389.7 kB / 0.7295 GB, free: 3.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1729, allocations: 29.7 kB / 0.7295 GB, free: 3.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.1731, allocations: 212.4 kB / 0.7297 GB, free: 3.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.1732, allocations: 67.44 kB / 0.7298 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.1733, allocations: 29.7 kB / 0.7298 GB, free: 3.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1734, allocations: 350.8 kB / 0.7301 GB, free: 3.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1736, allocations: 55.97 kB / 0.7302 GB, free: 3.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1737, allocations: 58.84 kB / 0.7302 GB, free: 2.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.174, allocations: 132.8 kB / 0.7304 GB, free: 2.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.174, allocations: 0 / 0.7304 GB, free: 2.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003992/0.1744, allocations: 215 kB / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1744, allocations: 8 kB / 0.7306 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1744, allocations: 0 / 0.7306 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1745, allocations: 0 / 0.7306 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1747, allocations: 51.91 kB / 0.7306 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1747, allocations: 4 kB / 0.7306 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1748, allocations: 15.92 kB / 0.7307 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1748, allocations: 4 kB / 0.7307 GB, free: 2.566 MB / 0.545 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.0001672/0.175, allocations: 173.7 kB / 0.7308 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.1751, allocations: 35.77 kB / 0.7309 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.1751, allocations: 39.41 kB / 0.7309 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1751, allocations: 3.938 kB / 0.7309 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1751, allocations: 0 / 0.7309 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1752, allocations: 4 kB / 0.7309 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1755, allocations: 269.1 kB / 0.7312 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1755, allocations: 0 / 0.7312 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1758, allocations: 47.97 kB / 0.7312 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1758, allocations: 3.938 kB / 0.7312 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1758, allocations: 15.94 kB / 0.7312 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1758, allocations: 0 / 0.7312 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1758, allocations: 7.938 kB / 0.7312 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.1764, allocations: 375.1 kB / 0.7316 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.1765, allocations: 43.72 kB / 0.7316 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1765, allocations: 4 kB / 0.7316 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.1767, allocations: 7.984 kB / 0.7316 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.1767, allocations: 19.98 kB / 0.7317 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1767, allocations: 4 kB / 0.7317 GB, free: 1.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003463/0.1771, allocations: 287.2 kB / 0.7319 GB, free: 1.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1771, allocations: 0 / 0.7319 GB, free: 1.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003546/0.1774, allocations: 71.89 kB / 0.732 GB, free: 1.125 MB / 0.545 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.0001187/0.1776, allocations: 115.2 kB / 0.7321 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.1779, allocations: 141.8 kB / 0.7323 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1779, allocations: 4 kB / 0.7323 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1781, allocations: 75.91 kB / 0.7323 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.1786, allocations: 82.86 kB / 0.7324 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1798, allocations: 0.756 MB / 0.7331 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1801, allocations: 190.2 kB / 0.7333 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.1802, allocations: 30.95 kB / 0.7334 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.1803, allocations: 27.44 kB / 0.7334 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1803, allocations: 0 / 0.7334 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.008945/0.1892, allocations: 4.173 MB / 0.7375 GB, free: 11.63 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.548538321629167] Failed to read output from testmodel.py, exit status != 0: 0.19771769642829895 0.45007058199999994 0.27971082799999997 Calling exit ...