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.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.001473/0.001473, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001699/0.001699, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.8591/0.8591, allocations: 145 MB / 458.2 MB, free: 15.67 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.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: 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.002023/0.002023, allocations: 66.7 kB / 0.6345 GB, free: 6.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 87.89 MB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005845/0.1705, allocations: 4.191 MB / 0.7244 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.1744, allocations: 2.468 MB / 0.7268 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.1749, allocations: 8 kB / 0.7268 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.1767, allocations: 0.548 MB / 0.7273 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.1773, allocations: 246 kB / 0.7276 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1777, allocations: 143.8 kB / 0.7277 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1787, allocations: 0.8137 MB / 0.7285 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.1791, allocations: 235 kB / 0.7287 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.1796, allocations: 314.9 kB / 0.729 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.1799, allocations: 322.6 kB / 0.7293 GB, free: 5.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.18, allocations: 76 kB / 0.7294 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1801, allocations: 76 kB / 0.7295 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1803, allocations: 167.5 kB / 0.7296 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.1806, allocations: 394.2 kB / 0.73 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1817, allocations: 1.027 MB / 0.731 GB, free: 3.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1817, allocations: 0 / 0.731 GB, free: 3.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1817, allocations: 0 / 0.731 GB, free: 3.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1817, allocations: 0 / 0.731 GB, free: 3.926 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001376/0.183, allocations: 0.8938 MB / 0.7319 GB, free: 3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1831, allocations: 8.031 kB / 0.7319 GB, free: 2.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1832, allocations: 76.47 kB / 0.732 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.1838, allocations: 408.2 kB / 0.7324 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1839, allocations: 37.38 kB / 0.7324 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.1839, allocations: 48.36 kB / 0.7324 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.1847, allocations: 430.8 kB / 0.7328 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1847, allocations: 3.938 kB / 0.7328 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.1847, allocations: 20 kB / 0.7329 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1847, allocations: 12 kB / 0.7329 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.1855, allocations: 371.8 kB / 0.7332 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1875, allocations: 1.465 MB / 0.7347 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.188, allocations: 312.5 kB / 0.735 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.1885, allocations: 288.5 kB / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1885, allocations: 7.938 kB / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1885, allocations: 38.5 kB / 0.7353 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.382e-06/0.1885, allocations: 0 / 0.7353 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009759/0.1895, allocations: 0.4991 MB / 0.7358 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1895, allocations: 55.41 kB / 0.7358 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.1901, allocations: 485.9 kB / 0.7363 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.1901, allocations: 33.7 kB / 0.7363 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.1904, allocations: 276.7 kB / 0.7366 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1905, allocations: 158.6 kB / 0.7367 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.1906, allocations: 58.08 kB / 0.7368 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1908, allocations: 366.7 kB / 0.7371 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.191, allocations: 124.7 kB / 0.7373 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.1913, allocations: 129.4 kB / 0.7374 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1918, allocations: 297.9 kB / 0.7377 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1918, allocations: 0 / 0.7377 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006325/0.1924, allocations: 404.5 kB / 0.7381 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1924, allocations: 6.188 kB / 0.7381 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1924, allocations: 4 kB / 0.7381 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1924, allocations: 0 / 0.7381 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.1929, allocations: 123.9 kB / 0.7382 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1929, allocations: 3.984 kB / 0.7382 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.1931, allocations: 43.72 kB / 0.7382 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.1932, allocations: 12 kB / 0.7382 GB, free: 12.31 MB / 0.5606 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.0002282/0.1934, allocations: 195.1 kB / 0.7384 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.1935, allocations: 59.61 kB / 0.7385 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1936, allocations: 57.11 kB / 0.7385 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1936, allocations: 7.984 kB / 0.7385 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1936, allocations: 0 / 0.7385 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1936, allocations: 3.984 kB / 0.7385 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.1943, allocations: 0.5469 MB / 0.7391 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1943, allocations: 3.938 kB / 0.7391 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.1948, allocations: 131.8 kB / 0.7392 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1948, allocations: 4 kB / 0.7392 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.1948, allocations: 8 kB / 0.7392 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1948, allocations: 4 kB / 0.7392 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1948, allocations: 0 / 0.7392 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009693/0.1958, allocations: 0.6472 MB / 0.7399 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1959, allocations: 71.47 kB / 0.7399 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.1959, allocations: 8 kB / 0.7399 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1961, allocations: 15.98 kB / 0.7399 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1962, allocations: 23.95 kB / 0.74 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1962, allocations: 8 kB / 0.74 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000395/0.1966, allocations: 355.1 kB / 0.7403 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 0.7403 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003934/0.197, allocations: 135.8 kB / 0.7404 GB, free: 9.98 MB / 0.5606 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.0001398/0.1971, allocations: 123.1 kB / 0.7406 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1977, allocations: 295.6 kB / 0.7408 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1977, allocations: 4 kB / 0.7408 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.198, allocations: 167.9 kB / 0.741 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.1986, allocations: 125.8 kB / 0.7411 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.2005, allocations: 1.255 MB / 0.7424 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.201, allocations: 0.8665 MB / 0.7432 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2011, allocations: 47.38 kB / 0.7432 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2011, allocations: 0 / 0.7432 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of Templates: time 0.009803/0.2109, allocations: 6.933 MB / 0.75 GB, free: 192 kB / 0.5606 GB " [Timeout remaining time 659] 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: 8.475547236157581] Failed to read output from testmodel.py, exit status != 0: 0.5390382180921733 0.550908337 0.36631922399999994 Calling exit ...