Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001294/0.001294, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001398/0.001398, allocations: 222.8 kB / 23 MB, free: 4.914 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8845/0.8845, allocations: 145 MB / 458.2 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: BuildSysPro 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.002027/0.002027, allocations: 71.3 kB / 0.6344 GB, free: 6.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1707, allocations: 87.88 MB / 0.7202 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00489/0.1755, allocations: 2.849 MB / 0.723 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.179, allocations: 1.954 MB / 0.7249 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.1793, allocations: 8 kB / 0.7249 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.181, allocations: 453.8 kB / 0.7253 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.1815, allocations: 158.8 kB / 0.7255 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1817, allocations: 59.94 kB / 0.7255 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.1824, allocations: 449.9 kB / 0.726 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.1826, allocations: 95.84 kB / 0.7261 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.183, allocations: 171.3 kB / 0.7262 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1833, allocations: 163.1 kB / 0.7264 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.1834, allocations: 32 kB / 0.7264 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1835, allocations: 36 kB / 0.7264 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1836, allocations: 95.67 kB / 0.7265 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1838, allocations: 175.1 kB / 0.7267 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.1844, allocations: 0.5758 MB / 0.7273 GB, free: 6.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1844, allocations: 0 / 0.7273 GB, free: 6.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1844, allocations: 4 kB / 0.7273 GB, free: 6.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.1845, allocations: 0 / 0.7273 GB, free: 6.98 MB / 0.545 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.001062/0.1855, allocations: 0.6407 MB / 0.7279 GB, free: 6.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1856, allocations: 8.031 kB / 0.7279 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.722e-05/0.1856, allocations: 52.59 kB / 0.7279 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1862, allocations: 316.6 kB / 0.7282 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1862, allocations: 16.81 kB / 0.7283 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.1863, allocations: 24.38 kB / 0.7283 GB, free: 5.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1867, allocations: 203.6 kB / 0.7285 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1867, allocations: 4 kB / 0.7285 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1867, allocations: 7.984 kB / 0.7285 GB, free: 5.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1867, allocations: 8 kB / 0.7285 GB, free: 5.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.1871, allocations: 161.7 kB / 0.7287 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1882, allocations: 0.636 MB / 0.7293 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.1885, allocations: 146.6 kB / 0.7294 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1887, allocations: 100.8 kB / 0.7295 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1887, allocations: 0 / 0.7295 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1888, allocations: 38.5 kB / 0.7295 GB, free: 4.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.1888, allocations: 4 kB / 0.7296 GB, free: 4.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005963/0.1894, allocations: 251.6 kB / 0.7298 GB, free: 4.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1894, allocations: 59.34 kB / 0.7298 GB, free: 4.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.1899, allocations: 393.7 kB / 0.7302 GB, free: 3.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1899, allocations: 25.7 kB / 0.7302 GB, free: 3.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1901, allocations: 212.4 kB / 0.7305 GB, free: 3.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.487e-05/0.1902, allocations: 67.42 kB / 0.7305 GB, free: 3.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1902, allocations: 29.72 kB / 0.7305 GB, free: 3.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1904, allocations: 350.8 kB / 0.7309 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1906, allocations: 55.97 kB / 0.7309 GB, free: 3.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1907, allocations: 59.92 kB / 0.731 GB, free: 2.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.191, allocations: 134.5 kB / 0.7311 GB, free: 2.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.191, allocations: 3.938 kB / 0.7311 GB, free: 2.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003957/0.1914, allocations: 211.4 kB / 0.7313 GB, free: 2.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1914, allocations: 8 kB / 0.7313 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1914, allocations: 0 / 0.7313 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1914, allocations: 7.938 kB / 0.7313 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1917, allocations: 59.83 kB / 0.7314 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1917, allocations: 0 / 0.7314 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1918, allocations: 15.94 kB / 0.7314 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1918, allocations: 0 / 0.7314 GB, free: 2.551 MB / 0.545 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.0001729/0.192, allocations: 168.9 kB / 0.7316 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1921, allocations: 35.77 kB / 0.7316 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.1921, allocations: 39.41 kB / 0.7316 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1921, allocations: 7.938 kB / 0.7317 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1922, allocations: 0 / 0.7317 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1922, allocations: 3.984 kB / 0.7317 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.1925, allocations: 265.1 kB / 0.7319 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1925, allocations: 0 / 0.7319 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.1928, allocations: 59.89 kB / 0.732 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1928, allocations: 4 kB / 0.732 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1928, allocations: 4 kB / 0.732 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1928, allocations: 4 kB / 0.732 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.1928, allocations: 7.938 kB / 0.732 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.1934, allocations: 372.8 kB / 0.7323 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.1935, allocations: 47.66 kB / 0.7324 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.1935, allocations: 4 kB / 0.7324 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1937, allocations: 7.984 kB / 0.7324 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1937, allocations: 19.92 kB / 0.7324 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1937, allocations: 3.984 kB / 0.7324 GB, free: 1.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003292/0.194, allocations: 291.2 kB / 0.7327 GB, free: 1.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.194, allocations: 0 / 0.7327 GB, free: 1.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003012/0.1943, allocations: 71.89 kB / 0.7328 GB, free: 1.109 MB / 0.545 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.0001318/0.1945, allocations: 107.2 kB / 0.7329 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1949, allocations: 143.7 kB / 0.733 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1949, allocations: 0 / 0.733 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.195, allocations: 79.89 kB / 0.7331 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.1955, allocations: 76.48 kB / 0.7332 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1968, allocations: 0.7965 MB / 0.7339 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.197, allocations: 190.2 kB / 0.7341 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1971, allocations: 23.44 kB / 0.7341 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1971, allocations: 0 / 0.7341 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of Templates: time 0.006802/0.2039, allocations: 4.37 MB / 0.7384 GB, free: 11.31 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.556569686625153] Failed to read output from testmodel.py, exit status != 0: 0.21254889434203506 0.508285677 0.320708545 Calling exit ...