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.001877/0.001877, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001752/0.001752, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.777 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.8692/0.8692, allocations: 145 MB / 457.4 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.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.002027/0.002027, allocations: 74.02 kB / 0.6336 GB, free: 6.105 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1516, allocations: 87.89 MB / 0.7195 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00541/0.157, allocations: 3.772 MB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.1603, allocations: 2.238 MB / 0.7253 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1605, allocations: 12 kB / 0.7253 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.1618, allocations: 496.7 kB / 0.7258 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1622, allocations: 258 kB / 0.7261 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.1625, allocations: 131.9 kB / 0.7262 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.1633, allocations: 0.8098 MB / 0.727 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/0.1637, allocations: 223 kB / 0.7272 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.164, allocations: 307 kB / 0.7275 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1644, allocations: 286.5 kB / 0.7277 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/0.1645, allocations: 76 kB / 0.7278 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1646, allocations: 76 kB / 0.7279 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1648, allocations: 163.5 kB / 0.7281 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.1651, allocations: 322.6 kB / 0.7284 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1661, allocations: 1.031 MB / 0.7294 GB, free: 4.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1661, allocations: 0 / 0.7294 GB, free: 4.016 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1661, allocations: 0 / 0.7294 GB, free: 4.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.1661, allocations: 0 / 0.7294 GB, free: 4.016 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.001553/0.1677, allocations: 0.8938 MB / 0.7302 GB, free: 3.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1677, allocations: 8.031 kB / 0.7302 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1678, allocations: 80.45 kB / 0.7303 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.1685, allocations: 408.2 kB / 0.7307 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1685, allocations: 33.38 kB / 0.7307 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.1686, allocations: 48.38 kB / 0.7308 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.1693, allocations: 426.7 kB / 0.7312 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1694, allocations: 8 kB / 0.7312 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.1694, allocations: 23.98 kB / 0.7312 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1694, allocations: 12 kB / 0.7312 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.1701, allocations: 359.8 kB / 0.7316 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.172, allocations: 1.172 MB / 0.7327 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.1726, allocations: 308.2 kB / 0.733 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.1731, allocations: 283.9 kB / 0.7333 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1731, allocations: 8 kB / 0.7333 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1732, allocations: 38.56 kB / 0.7333 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.1732, allocations: 0 / 0.7333 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009912/0.1742, allocations: 0.4952 MB / 0.7338 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.1742, allocations: 59.34 kB / 0.7339 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.1747, allocations: 438 kB / 0.7343 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1748, allocations: 33.64 kB / 0.7343 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.175, allocations: 284.5 kB / 0.7346 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.1751, allocations: 150.6 kB / 0.7347 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.1752, allocations: 66.08 kB / 0.7348 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.1754, allocations: 358.8 kB / 0.7351 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.1757, allocations: 120.6 kB / 0.7353 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.1759, allocations: 125.4 kB / 0.7354 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.1765, allocations: 294 kB / 0.7357 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1765, allocations: 0 / 0.7357 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006931/0.1772, allocations: 404.5 kB / 0.736 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1772, allocations: 7.938 kB / 0.7361 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1772, allocations: 0 / 0.7361 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1772, allocations: 4 kB / 0.7361 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.1777, allocations: 131.8 kB / 0.7362 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1777, allocations: 0 / 0.7362 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1779, allocations: 31.78 kB / 0.7362 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1779, allocations: 8 kB / 0.7362 GB, free: 12.81 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.0002183/0.1781, allocations: 201.8 kB / 0.7364 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.1782, allocations: 47.66 kB / 0.7365 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1783, allocations: 56.88 kB / 0.7365 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1783, allocations: 8 kB / 0.7365 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1783, allocations: 3.984 kB / 0.7365 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1783, allocations: 0 / 0.7365 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.1789, allocations: 420.8 kB / 0.7369 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1789, allocations: 0 / 0.7369 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.1794, allocations: 127.9 kB / 0.737 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1794, allocations: 7.922 kB / 0.7371 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1794, allocations: 15.94 kB / 0.7371 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1794, allocations: 0 / 0.7371 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1794, allocations: 0 / 0.7371 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.1805, allocations: 0.6472 MB / 0.7377 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1806, allocations: 55.69 kB / 0.7378 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.1806, allocations: 7.938 kB / 0.7378 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1808, allocations: 16 kB / 0.7378 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.1809, allocations: 27.94 kB / 0.7378 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1809, allocations: 12 kB / 0.7378 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003642/0.1813, allocations: 315.1 kB / 0.7381 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 4 kB / 0.7381 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003864/0.1817, allocations: 147.6 kB / 0.7383 GB, free: 10.66 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.0001297/0.1818, allocations: 115.2 kB / 0.7384 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006167/0.1824, allocations: 311.5 kB / 0.7387 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1824, allocations: 0 / 0.7387 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.1827, allocations: 167.9 kB / 0.7388 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.1832, allocations: 100.7 kB / 0.7389 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1851, allocations: 1.208 MB / 0.7401 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1854, allocations: 271.2 kB / 0.7404 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.1856, allocations: 51.38 kB / 0.7404 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.1857, allocations: 31.44 kB / 0.7404 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1857, allocations: 0 / 0.7404 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of Templates: time 0.01123/0.1969, allocations: 5.845 MB / 0.7461 GB, free: 2.684 MB / 0.5606 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: 5.57701781578362] Failed to read output from testmodel.py, exit status != 0: 0.20502043515443802 0.44691558400000003 0.278213569 Calling exit ...