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.001412/0.001412, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001739/0.001739, allocations: 218.5 kB / 22.99 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002606/0.002606, allocations: 305.1 kB / 313.5 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.288/1.288, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: NcDataReader2 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: BuildingSystems 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.002961/0.002961, allocations: 101.7 kB / 0.7408 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1766, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004508/0.1811, allocations: 2.85 MB / 0.8367 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.1841, allocations: 1.95 MB / 0.8386 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1842, allocations: 4 kB / 0.8386 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1856, allocations: 454.8 kB / 0.839 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1859, allocations: 154.9 kB / 0.8392 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.186, allocations: 59.88 kB / 0.8393 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1865, allocations: 445.9 kB / 0.8397 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.1867, allocations: 95.84 kB / 0.8398 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.187, allocations: 175.3 kB / 0.8399 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1872, allocations: 159.1 kB / 0.8401 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.1873, allocations: 39.98 kB / 0.8401 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.1874, allocations: 32 kB / 0.8402 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1875, allocations: 103.6 kB / 0.8403 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1877, allocations: 171.2 kB / 0.8404 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1882, allocations: 0.5525 MB / 0.841 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1882, allocations: 0 / 0.841 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1882, allocations: 0 / 0.841 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.1882, allocations: 0 / 0.841 GB, free: 0.5391 MB / 0.5762 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.001096/0.1893, allocations: 0.6454 MB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1894, allocations: 8.625 kB / 0.8416 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/0.1895, allocations: 48.66 kB / 0.8416 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.19, allocations: 320.6 kB / 0.8419 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1901, allocations: 16.75 kB / 0.842 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.1901, allocations: 20.38 kB / 0.842 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.1905, allocations: 206.6 kB / 0.8422 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1905, allocations: 0 / 0.8422 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.1905, allocations: 12 kB / 0.8422 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1905, allocations: 4 kB / 0.8422 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.1909, allocations: 165.6 kB / 0.8424 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.192, allocations: 0.64 MB / 0.843 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1923, allocations: 150.5 kB / 0.8431 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.1926, allocations: 99.3 kB / 0.8432 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1926, allocations: 7.984 kB / 0.8432 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1926, allocations: 38.5 kB / 0.8433 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.1926, allocations: 0 / 0.8433 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006114/0.1932, allocations: 255.3 kB / 0.8435 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1933, allocations: 51.41 kB / 0.8436 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.1937, allocations: 401.6 kB / 0.8439 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1938, allocations: 25.7 kB / 0.844 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1939, allocations: 212.4 kB / 0.8442 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.194, allocations: 67.41 kB / 0.8442 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.1941, allocations: 33.72 kB / 0.8443 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1942, allocations: 342.8 kB / 0.8446 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1944, allocations: 59.97 kB / 0.8446 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1945, allocations: 54.03 kB / 0.8447 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1948, allocations: 143.3 kB / 0.8448 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1948, allocations: 0 / 0.8448 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003847/0.1952, allocations: 201.4 kB / 0.845 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1952, allocations: 11.94 kB / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1952, allocations: 0 / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1952, allocations: 3.938 kB / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.1955, allocations: 51.91 kB / 0.8451 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1955, allocations: 8 kB / 0.8451 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1956, allocations: 19.88 kB / 0.8451 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1956, allocations: 4 kB / 0.8451 GB, free: 12.11 MB / 0.5919 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.0001738/0.1958, allocations: 170.4 kB / 0.8453 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1959, allocations: 39.7 kB / 0.8453 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.196, allocations: 39.41 kB / 0.8454 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.196, allocations: 0 / 0.8454 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.196, allocations: 0 / 0.8454 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.196, allocations: 3.984 kB / 0.8454 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1963, allocations: 265.1 kB / 0.8456 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1963, allocations: 8 kB / 0.8456 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1966, allocations: 47.97 kB / 0.8457 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1966, allocations: 3.984 kB / 0.8457 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.1966, allocations: 11.94 kB / 0.8457 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1966, allocations: 0 / 0.8457 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1966, allocations: 0 / 0.8457 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.1972, allocations: 375.1 kB / 0.846 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.1973, allocations: 43.78 kB / 0.8461 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.1974, allocations: 11.94 kB / 0.8461 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1975, allocations: 7.984 kB / 0.8461 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.1976, allocations: 11.98 kB / 0.8461 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1976, allocations: 4 kB / 0.8461 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003252/0.1979, allocations: 291.1 kB / 0.8464 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1979, allocations: 0 / 0.8464 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003173/0.1982, allocations: 75.89 kB / 0.8465 GB, free: 10.66 MB / 0.5919 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.0001347/0.1983, allocations: 107.2 kB / 0.8466 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.1987, allocations: 138 kB / 0.8467 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1987, allocations: 0 / 0.8467 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1989, allocations: 79.89 kB / 0.8468 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.1994, allocations: 86.52 kB / 0.8469 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2008, allocations: 0.7908 MB / 0.8476 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.201, allocations: 190.1 kB / 0.8478 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.201, allocations: 27.42 kB / 0.8478 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.201, allocations: 8 kB / 0.8478 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of Templates: time 0.007054/0.2081, allocations: 4.354 MB / 0.8521 GB, free: 4.867 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.119197503197938] Failed to read output from testmodel.py, exit status != 0: 0.21547394478693604 0.22984199799999996 0.038612708 Calling exit ...