Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007073/0.0007073, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009179/0.001625, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006499/0.0006499, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008859/0.001536, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8874/0.8874, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07604/0.9635, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001303/0.001303, allocations: 230.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009925/0.002296, allocations: 483.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6564/0.6564, allocations: 138.7 MB / 384.3 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06109/0.7175, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.957e-06/1.017e-05, allocations: 2.312 kB / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002879/0.00289, allocations: 3.121 MB / 431.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1689/0.1718, allocations: 2.173 MB / 433.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.172, allocations: 9.094 kB / 433.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.173, allocations: 471.5 kB / 433.9 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1732, allocations: 165.3 kB / 434 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.249e-05/0.1733, allocations: 58.78 kB / 434.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.1736, allocations: 473.9 kB / 434.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1738, allocations: 105.7 kB / 434.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1741, allocations: 328.6 kB / 435 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1743, allocations: 137.1 kB / 435.1 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.1743, allocations: 34.84 kB / 435.1 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.1743, allocations: 35.03 kB / 435.2 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.1744, allocations: 86.38 kB / 435.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.1745, allocations: 121.6 kB / 435.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1748, allocations: 273.8 kB / 435.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1748, allocations: 1.75 kB / 435.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1748, allocations: 0 / 435.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1748, allocations: 0.5625 kB / 435.6 MB, free: 0.8477 MB / 410.7 MB 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.0006719/0.1755, allocations: 0.6857 MB / 436.3 MB, free: 16.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.1755, allocations: 10.77 kB / 436.3 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.1755, allocations: 45.73 kB / 436.4 MB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1758, allocations: 255.4 kB / 436.6 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1758, allocations: 14.22 kB / 436.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1758, allocations: 21.72 kB / 436.7 MB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.176, allocations: 153.9 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.176, allocations: 1.812 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.176, allocations: 10.86 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.176, allocations: 9.656 kB / 436.8 MB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.1761, allocations: 54.92 kB / 436.9 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1766, allocations: 455.1 kB / 437.3 MB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1767, allocations: 83.53 kB / 437.4 MB, free: 16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1768, allocations: 48.97 kB / 437.5 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.1768, allocations: 4.031 kB / 437.5 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1768, allocations: 33.36 kB / 437.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.1768, allocations: 1.125 kB / 437.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001603/0.177, allocations: 118.8 kB / 437.6 MB, free: 15.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.177, allocations: 53.91 kB / 437.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1772, allocations: 314.3 kB / 438 MB, free: 15.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1772, allocations: 26.7 kB / 438 MB, free: 15.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1773, allocations: 165.4 kB / 438.2 MB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1773, allocations: 68.52 kB / 438.2 MB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1773, allocations: 32.72 kB / 438.3 MB, free: 15.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.1774, allocations: 352.4 kB / 438.6 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.1774, allocations: 14.03 kB / 438.6 MB, free: 15.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.1775, allocations: 24.58 kB / 438.7 MB, free: 15.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1775, allocations: 58.98 kB / 438.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1775, allocations: 1.25 kB / 438.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001045/0.1776, allocations: 99.02 kB / 438.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1776, allocations: 5.828 kB / 438.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1776, allocations: 3.562 kB / 438.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1777, allocations: 1.125 kB / 438.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1779, allocations: 86.28 kB / 438.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1779, allocations: 5.125 kB / 438.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1779, allocations: 13.11 kB / 438.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1779, allocations: 2 kB / 438.9 MB, free: 15.18 MB / 426.7 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 (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 6.805e-05/0.178, allocations: 123.3 kB / 439 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.178, allocations: 22.66 kB / 439.1 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.1781, allocations: 39.16 kB / 439.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1781, allocations: 3.875 kB / 439.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1781, allocations: 6.781 kB / 439.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1781, allocations: 1.812 kB / 439.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1783, allocations: 183 kB / 439.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1783, allocations: 1.625 kB / 439.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1785, allocations: 89.66 kB / 439.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.1785, allocations: 34.5 kB / 439.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1785, allocations: 5.688 kB / 439.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1785, allocations: 5.953 kB / 439.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1785, allocations: 1.875 kB / 439.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1785, allocations: 0.625 kB / 439.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1787, allocations: 231.7 kB / 439.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1787, allocations: 2.688 kB / 439.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1788, allocations: 11.48 kB / 439.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1788, allocations: 13.3 kB / 439.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1788, allocations: 6.281 kB / 439.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1789, allocations: 135.5 kB / 439.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 1.781 kB / 439.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.1791, allocations: 76 kB / 439.9 MB, free: 14.77 MB / 426.7 MB 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 7.818e-05/0.1792, allocations: 86.53 kB / 440 MB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.1793, allocations: 69.78 kB / 440.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.1793, allocations: 7.781 kB / 440.1 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.1793, allocations: 51.12 kB / 440.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1799, allocations: 0.9286 MB / 441 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.1832, allocations: 0.6388 MB / 441.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.1833, allocations: 98.34 kB / 441.8 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.1834, allocations: 30.62 kB / 441.8 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1835, allocations: 124.2 kB / 441.9 MB, free: 13.27 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1835, allocations: 0 / 441.9 MB, free: 13.27 MB / 426.7 MB Notification: Performance of Templates: time 0.006577/0.1901, allocations: 4.731 MB / 446.7 MB, free: 12.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0654876539483666]