Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 115.2 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 193.2 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9297/0.9297, allocations: 145.2 MB / 448.6 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.95 kB / 0.6212 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1678, allocations: 86.64 MB / 0.7058 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005764/0.1736, allocations: 4.17 MB / 0.7098 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.1774, allocations: 2.429 MB / 0.7122 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.1777, allocations: 8 kB / 0.7122 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.1792, allocations: 0.5402 MB / 0.7127 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.1797, allocations: 246 kB / 0.713 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.18, allocations: 143.9 kB / 0.7131 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008745/0.1808, allocations: 0.8137 MB / 0.7139 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.1812, allocations: 234.5 kB / 0.7141 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1816, allocations: 291 kB / 0.7144 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.182, allocations: 330.6 kB / 0.7147 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.92e-05/0.1821, allocations: 72 kB / 0.7148 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1822, allocations: 79.94 kB / 0.7149 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1824, allocations: 179.4 kB / 0.715 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.1827, allocations: 378.3 kB / 0.7154 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1838, allocations: 1.035 MB / 0.7164 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1838, allocations: 4 kB / 0.7164 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1838, allocations: 0 / 0.7164 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1839, allocations: 0 / 0.7164 GB, free: 7.73 MB / 0.5294 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.00161/0.1855, allocations: 0.9613 MB / 0.7174 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1855, allocations: 12.03 kB / 0.7174 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1856, allocations: 76.47 kB / 0.7174 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.1864, allocations: 462 kB / 0.7179 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.1864, allocations: 41.38 kB / 0.7179 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.1865, allocations: 48.38 kB / 0.718 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.1873, allocations: 430.8 kB / 0.7184 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1873, allocations: 3.953 kB / 0.7184 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.1874, allocations: 20 kB / 0.7184 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1874, allocations: 12 kB / 0.7184 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.1881, allocations: 367.8 kB / 0.7188 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1904, allocations: 1.524 MB / 0.7203 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.191, allocations: 311.7 kB / 0.7206 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.1914, allocations: 291.4 kB / 0.7208 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1915, allocations: 8.625 kB / 0.7208 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1915, allocations: 42.5 kB / 0.7209 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.1915, allocations: 0 / 0.7209 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001023/0.1925, allocations: 0.4888 MB / 0.7214 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1926, allocations: 59.19 kB / 0.7214 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.1932, allocations: 489.9 kB / 0.7219 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1932, allocations: 33.7 kB / 0.7219 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1935, allocations: 280.6 kB / 0.7222 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1936, allocations: 155.4 kB / 0.7223 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1937, allocations: 66.06 kB / 0.7224 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1939, allocations: 358.8 kB / 0.7227 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1942, allocations: 120.6 kB / 0.7228 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1944, allocations: 133.2 kB / 0.723 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.195, allocations: 298.2 kB / 0.7233 GB, free: 492 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.195, allocations: 0 / 0.7233 GB, free: 492 kB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007145/0.1957, allocations: 396.7 kB / 0.7236 GB, free: 88 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1957, allocations: 4 kB / 0.7236 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1957, allocations: 0 / 0.7236 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1958, allocations: 8 kB / 0.7237 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.1963, allocations: 123.9 kB / 0.7238 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1963, allocations: 3.984 kB / 0.7238 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1965, allocations: 47.61 kB / 0.7238 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1965, allocations: 8 kB / 0.7238 GB, free: 15.89 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 (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.0002376/0.1968, allocations: 193.8 kB / 0.724 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.593e-05/0.1969, allocations: 55.61 kB / 0.7241 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.197, allocations: 69.09 kB / 0.7241 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.197, allocations: 4 kB / 0.7241 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.197, allocations: 0 / 0.7241 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.197, allocations: 0 / 0.7241 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.1977, allocations: 0.5713 MB / 0.7247 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1977, allocations: 0 / 0.7247 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.1983, allocations: 127.8 kB / 0.7248 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1983, allocations: 4 kB / 0.7248 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.1983, allocations: 16 kB / 0.7248 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1983, allocations: 4 kB / 0.7248 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1983, allocations: 0 / 0.7248 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1994, allocations: 0.6482 MB / 0.7255 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.1996, allocations: 144.6 kB / 0.7256 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.1996, allocations: 4 kB / 0.7256 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1998, allocations: 23.98 kB / 0.7256 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1999, allocations: 19.97 kB / 0.7257 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1999, allocations: 11.94 kB / 0.7257 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004288/0.2003, allocations: 351.1 kB / 0.726 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2003, allocations: 0 / 0.726 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004251/0.2008, allocations: 147.7 kB / 0.7261 GB, free: 13.43 MB / 0.545 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.000174/0.2009, allocations: 119.1 kB / 0.7263 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006494/0.2016, allocations: 303.7 kB / 0.7265 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2016, allocations: 0 / 0.7265 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.2019, allocations: 167.6 kB / 0.7267 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.2025, allocations: 124.2 kB / 0.7268 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2047, allocations: 1.254 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.2053, allocations: 0.8704 MB / 0.7289 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2054, allocations: 39.44 kB / 0.7289 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.2054, allocations: 0 / 0.7289 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Templates: time 0.01104/0.2164, allocations: 6.936 MB / 0.7357 GB, free: 3.633 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.30369449686259] Failed to read output from testmodel.py, exit status != 0: 0.22388036898337305 0.23722231100000002 0.050536428 Calling exit ...