Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.000648/0.000648, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009299/0.001578, 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.0006829/0.0006829, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000931/0.001614, 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.867/0.867, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07155/0.9385, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.001243/0.001243, allocations: 242.5 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009906/0.002234, allocations: 471.7 kB / 244.8 MB, free: 14.06 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.632/0.632, allocations: 138.7 MB / 384.3 MB, free: 336 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07108/0.7031, allocations: 42.4 MB / 426.7 MB, free: 5.809 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.836e-06/1.001e-05, allocations: 2.312 kB / 428.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003586/0.003596, allocations: 4.219 MB / 432.3 MB, free: 180 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1589/0.1625, allocations: 2.451 MB / 434.8 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.1627, allocations: 11.22 kB / 434.8 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009397/0.1637, allocations: 0.5126 MB / 435.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.164, allocations: 263.7 kB / 435.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.1641, allocations: 138.8 kB / 435.7 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.1646, allocations: 0.8562 MB / 436.5 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1649, allocations: 220.9 kB / 436.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004896/0.1654, allocations: 0.5381 MB / 437.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.1656, allocations: 258.8 kB / 437.6 MB, free: 436 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.201e-05/0.1657, allocations: 73.88 kB / 437.6 MB, free: 436 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1658, allocations: 74.72 kB / 437.7 MB, free: 436 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1659, allocations: 136.7 kB / 437.8 MB, free: 408 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1661, allocations: 230.4 kB / 438.1 MB, free: 380 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1665, allocations: 489.9 kB / 438.5 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.1665, allocations: 1.062 kB / 438.5 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1665, allocations: 2.188 kB / 438.5 MB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1665, allocations: 0 / 438.5 MB, free: 200 kB / 410.7 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.0009364/0.1674, allocations: 1.001 MB / 439.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.613e-05/0.1675, allocations: 9.844 kB / 439.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1676, allocations: 88.41 kB / 439.6 MB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1679, allocations: 298.9 kB / 439.9 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1679, allocations: 32.66 kB / 440 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.168, allocations: 48.81 kB / 440 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.1683, allocations: 290.3 kB / 440.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1683, allocations: 2.891 kB / 440.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1683, allocations: 20.59 kB / 440.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1683, allocations: 15.34 kB / 440.3 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1685, allocations: 137.6 kB / 440.5 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.1694, allocations: 0.8546 MB / 441.3 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1696, allocations: 163.1 kB / 441.5 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1698, allocations: 165.4 kB / 441.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1698, allocations: 6.625 kB / 441.6 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1698, allocations: 34.62 kB / 441.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.323e-06/0.1698, allocations: 0 / 441.7 MB, free: 14.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002674/0.1701, allocations: 226.4 kB / 441.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1701, allocations: 59.66 kB / 442 MB, free: 14.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1703, allocations: 344 kB / 442.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1703, allocations: 33.36 kB / 442.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.1704, allocations: 230 kB / 442.6 MB, free: 14.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1705, allocations: 157 kB / 442.7 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.1705, allocations: 62.31 kB / 442.8 MB, free: 14.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.1706, allocations: 371.4 kB / 443.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.1707, allocations: 36.2 kB / 443.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.1707, allocations: 39.67 kB / 443.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1709, allocations: 136.3 kB / 443.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1709, allocations: 0 / 443.3 MB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001772/0.171, allocations: 186.2 kB / 443.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1711, allocations: 6.875 kB / 443.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1711, allocations: 0.8594 kB / 443.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1711, allocations: 2.094 kB / 443.5 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.1715, allocations: 207.5 kB / 443.7 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1715, allocations: 1.406 kB / 443.7 MB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.1716, allocations: 29.53 kB / 443.8 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1716, allocations: 8.75 kB / 443.8 MB, free: 13.74 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 (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 9.18e-05/0.1717, allocations: 133.9 kB / 443.9 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1717, allocations: 42.19 kB / 443.9 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.1718, allocations: 52.03 kB / 444 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1718, allocations: 5.5 kB / 444 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1718, allocations: 4.25 kB / 444 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1718, allocations: 2.094 kB / 444 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.172, allocations: 299.1 kB / 444.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.172, allocations: 0 / 444.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1724, allocations: 207.4 kB / 444.5 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1724, allocations: 48.69 kB / 444.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1724, allocations: 1.344 kB / 444.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1725, allocations: 10.03 kB / 444.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1725, allocations: 1.031 kB / 444.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1725, allocations: 0.75 kB / 444.6 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1728, allocations: 376.1 kB / 444.9 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1728, allocations: 9.594 kB / 444.9 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.1729, allocations: 13.09 kB / 444.9 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1729, allocations: 25.47 kB / 445 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1729, allocations: 6.812 kB / 445 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.173, allocations: 152.3 kB / 445.1 MB, free: 13.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.173, allocations: 0 / 445.1 MB, free: 13.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.1732, allocations: 151.7 kB / 445.3 MB, free: 13.14 MB / 426.7 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 8.029e-05/0.1733, allocations: 92.09 kB / 445.4 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1734, allocations: 163.5 kB / 445.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.1735, allocations: 14 kB / 445.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.1736, allocations: 121.2 kB / 445.7 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.1742, allocations: 1.321 MB / 447 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.1801, allocations: 1.015 MB / 448 MB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.1801, allocations: 135.9 kB / 448.1 MB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1803, allocations: 48.98 kB / 448.2 MB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.1805, allocations: 163.9 kB / 448.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1805, allocations: 0 / 448.3 MB, free: 10.91 MB / 426.7 MB Notification: Performance of Templates: time 0.00974/0.1902, allocations: 7.246 MB / 455.6 MB, free: 5.234 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1726237358525395]