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.00188/0.00188, 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.00255/0.00255, allocations: 210.6 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.016 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.002684/0.002684, allocations: 288.9 kB / 312.7 MB, free: 2.641 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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.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: 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.004591/0.004591, allocations: 110.9 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1738, allocations: 95.39 MB / 0.8332 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005393/0.1792, allocations: 3.784 MB / 0.8369 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.1826, allocations: 2.219 MB / 0.8391 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.1828, allocations: 15.94 kB / 0.8391 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1843, allocations: 0.4896 MB / 0.8395 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.1847, allocations: 246.1 kB / 0.8398 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.185, allocations: 139.8 kB / 0.8399 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.1858, allocations: 0.8197 MB / 0.8407 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.1862, allocations: 203.1 kB / 0.8409 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.1866, allocations: 318.9 kB / 0.8412 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.1869, allocations: 278.6 kB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.187, allocations: 76 kB / 0.8416 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1872, allocations: 76 kB / 0.8416 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1873, allocations: 171.4 kB / 0.8418 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.1877, allocations: 314.7 kB / 0.8421 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1887, allocations: 1.008 MB / 0.8431 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1887, allocations: 0 / 0.8431 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1887, allocations: 4 kB / 0.8431 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1887, allocations: 0 / 0.8431 GB, free: 13.66 MB / 0.5919 GB 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.001496/0.1902, allocations: 0.8938 MB / 0.8439 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1902, allocations: 9.219 kB / 0.844 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1904, allocations: 76.47 kB / 0.844 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.191, allocations: 400.2 kB / 0.8444 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1911, allocations: 33.38 kB / 0.8444 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.1911, allocations: 52.38 kB / 0.8445 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007789/0.1919, allocations: 430.8 kB / 0.8449 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1919, allocations: 4 kB / 0.8449 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.192, allocations: 23.94 kB / 0.8449 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.192, allocations: 12 kB / 0.8449 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.1927, allocations: 363.8 kB / 0.8453 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.1946, allocations: 1.172 MB / 0.8464 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.1952, allocations: 313.9 kB / 0.8467 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.1957, allocations: 291.1 kB / 0.847 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1957, allocations: 8 kB / 0.847 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1957, allocations: 30.56 kB / 0.847 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.1957, allocations: 0 / 0.847 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009837/0.1967, allocations: 0.4946 MB / 0.8475 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1968, allocations: 55.41 kB / 0.8476 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.1973, allocations: 442 kB / 0.848 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1973, allocations: 29.7 kB / 0.848 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.1976, allocations: 281.3 kB / 0.8483 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.1977, allocations: 154.6 kB / 0.8484 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1978, allocations: 66.06 kB / 0.8485 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.198, allocations: 358.7 kB / 0.8489 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1982, allocations: 120.7 kB / 0.849 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1985, allocations: 126.6 kB / 0.8491 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.199, allocations: 302 kB / 0.8494 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.199, allocations: 7.938 kB / 0.8494 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006964/0.1997, allocations: 392.5 kB / 0.8498 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1997, allocations: 7.938 kB / 0.8498 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1998, allocations: 0 / 0.8498 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1998, allocations: 4 kB / 0.8498 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.2003, allocations: 127.8 kB / 0.8499 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2003, allocations: 4 kB / 0.8499 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.2005, allocations: 31.83 kB / 0.8499 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2005, allocations: 8 kB / 0.8499 GB, free: 6.449 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 (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 0.0002408/0.2008, allocations: 201.7 kB / 0.8501 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.2008, allocations: 47.66 kB / 0.8502 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.201, allocations: 56.88 kB / 0.8502 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.201, allocations: 4 kB / 0.8502 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.201, allocations: 4 kB / 0.8502 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.201, allocations: 3.984 kB / 0.8502 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.2015, allocations: 420.9 kB / 0.8506 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2016, allocations: 4 kB / 0.8506 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.2021, allocations: 123.9 kB / 0.8508 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2021, allocations: 3.984 kB / 0.8508 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.2021, allocations: 15.94 kB / 0.8508 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2021, allocations: 0 / 0.8508 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2021, allocations: 0 / 0.8508 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.2032, allocations: 0.6472 MB / 0.8514 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2033, allocations: 55.69 kB / 0.8515 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.2033, allocations: 11.88 kB / 0.8515 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2035, allocations: 19.98 kB / 0.8515 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.2036, allocations: 23.89 kB / 0.8515 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.2036, allocations: 12 kB / 0.8515 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003751/0.204, allocations: 319.1 kB / 0.8518 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.204, allocations: 4 kB / 0.8518 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004245/0.2044, allocations: 151.6 kB / 0.852 GB, free: 4.289 MB / 0.5919 GB 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 0.0001318/0.2046, allocations: 111.2 kB / 0.8521 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006114/0.2052, allocations: 303.6 kB / 0.8524 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2052, allocations: 0 / 0.8524 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.2055, allocations: 164.2 kB / 0.8525 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.206, allocations: 101.6 kB / 0.8526 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.208, allocations: 1.199 MB / 0.8538 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.2083, allocations: 267.2 kB / 0.8541 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.2084, allocations: 43.39 kB / 0.8541 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2085, allocations: 35.44 kB / 0.8541 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.2085, allocations: 0 / 0.8541 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of Templates: time 0.01194/0.2205, allocations: 5.85 MB / 0.8598 GB, free: 12.33 MB / 0.6075 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2084724716842175] Failed to read output from testmodel.py, exit status != 0: 0.22952183336019516 0.24456152999999994 0.05248840900000001 Calling exit ...