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.000758/0.000758, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009928/0.001751, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007059/0.0007059, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008784/0.001584, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8945/0.8945, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07515/0.9696, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.001927/0.001927, allocations: 226.4 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.00343, allocations: 475 kB / 244.7 MB, free: 14.18 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.6529/0.6529, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06236/0.7153, allocations: 42.41 MB / 426.5 MB, free: 5.941 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 3.046e-06/3.046e-06, allocations: 4 kB / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.992e-05, allocations: 2.312 kB / 427.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00555/0.00557, allocations: 4.211 MB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.1838, allocations: 2.45 MB / 434.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.184, allocations: 12.19 kB / 434.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1852, allocations: 0.5174 MB / 435 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.1856, allocations: 259.3 kB / 435.3 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1858, allocations: 142.7 kB / 435.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.1865, allocations: 0.8526 MB / 436.3 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.1868, allocations: 221.2 kB / 436.5 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.1874, allocations: 0.5358 MB / 437 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.1878, allocations: 253.1 kB / 437.3 MB, free: 468 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.04e-05/0.1878, allocations: 73.91 kB / 437.3 MB, free: 468 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1879, allocations: 75.19 kB / 437.4 MB, free: 468 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1881, allocations: 143.4 kB / 437.5 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.1883, allocations: 226.9 kB / 437.8 MB, free: 408 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.1888, allocations: 493 kB / 438.2 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.1888, allocations: 0 / 438.2 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1888, allocations: 1.219 kB / 438.2 MB, free: 228 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.1889, allocations: 0 / 438.2 MB, free: 228 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.001165/0.19, allocations: 1.006 MB / 439.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.19, allocations: 11.25 kB / 439.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1902, allocations: 87.55 kB / 439.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1905, allocations: 296.1 kB / 439.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1906, allocations: 38.53 kB / 439.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.1906, allocations: 46.91 kB / 439.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.191, allocations: 291.1 kB / 440 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.191, allocations: 1.719 kB / 440 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.191, allocations: 17.34 kB / 440 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.191, allocations: 17.03 kB / 440 MB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1912, allocations: 137.2 kB / 440.2 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1923, allocations: 0.8606 MB / 441 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1924, allocations: 164.8 kB / 441.2 MB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1926, allocations: 159.9 kB / 441.4 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1926, allocations: 9.25 kB / 441.4 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1926, allocations: 37.5 kB / 441.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.1927, allocations: 0 / 441.4 MB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002966/0.1929, allocations: 225.6 kB / 441.6 MB, free: 14.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.193, allocations: 64.02 kB / 441.7 MB, free: 14.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1932, allocations: 345.1 kB / 442 MB, free: 14.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1932, allocations: 36.05 kB / 442.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.1933, allocations: 229.8 kB / 442.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.1934, allocations: 155.6 kB / 442.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.1935, allocations: 66.06 kB / 442.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.1936, allocations: 360.7 kB / 442.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.1936, allocations: 35.66 kB / 442.9 MB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.1937, allocations: 39.98 kB / 442.9 MB, free: 13.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1938, allocations: 133 kB / 443.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1938, allocations: 1.25 kB / 443.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001901/0.194, allocations: 186.3 kB / 443.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.194, allocations: 8.781 kB / 443.2 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.194, allocations: 0.8594 kB / 443.2 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.194, allocations: 2.656 kB / 443.2 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1945, allocations: 208.6 kB / 443.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1945, allocations: 2.5 kB / 443.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.1946, allocations: 29.91 kB / 443.5 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1946, allocations: 5.781 kB / 443.5 MB, free: 13.77 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.303e-05/0.1947, allocations: 133.3 kB / 443.6 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.1947, allocations: 41.52 kB / 443.7 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1948, allocations: 53.77 kB / 443.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1948, allocations: 4.625 kB / 443.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1948, allocations: 1.125 kB / 443.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1948, allocations: 5.172 kB / 443.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.1951, allocations: 300.2 kB / 444 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1951, allocations: 0 / 444 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.1954, allocations: 211.5 kB / 444.2 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1955, allocations: 48.88 kB / 444.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1955, allocations: 4.438 kB / 444.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1955, allocations: 4.562 kB / 444.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1955, allocations: 3.969 kB / 444.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.1955, allocations: 0 / 444.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.1958, allocations: 369.1 kB / 444.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.1959, allocations: 7.594 kB / 444.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.1959, allocations: 13.83 kB / 444.7 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.196, allocations: 25.17 kB / 444.7 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.196, allocations: 8.062 kB / 444.7 MB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1961, allocations: 157 kB / 444.8 MB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1961, allocations: 0 / 444.8 MB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.1964, allocations: 153.9 kB / 445 MB, free: 13.17 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 9.975e-05/0.1965, allocations: 94.36 kB / 445.1 MB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1966, allocations: 168.2 kB / 445.3 MB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.1966, allocations: 6.25 kB / 445.3 MB, free: 13.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.1967, allocations: 102.2 kB / 445.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.197, allocations: 140.7 kB / 445.5 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.2028, allocations: 1.005 MB / 446.5 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.2029, allocations: 139.7 kB / 446.6 MB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.2031, allocations: 46.84 kB / 446.7 MB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.2033, allocations: 153.1 kB / 446.8 MB, free: 12.32 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2033, allocations: 0 / 446.8 MB, free: 12.32 MB / 426.7 MB Notification: Performance of Templates: time 0.009165/0.2124, allocations: 6.557 MB / 453.4 MB, free: 7.504 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.2858004504814744]