Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001312/0.001312, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001378/0.001378, allocations: 193.5 kB / 22.85 MB, free: 5.652 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.395/1.395, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 288.9 kB / 307 MB, free: 8.383 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.212/1.212, allocations: 180.8 MB / 0.5304 GB, free: 14.38 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 104.9 kB / 0.7312 GB, free: 38.72 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1568, allocations: 94.2 MB / 0.8232 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002757/0.1596, allocations: 1.459 MB / 0.8246 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004826/0.1644, allocations: 2.939 MB / 0.8275 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.1645, allocations: 0 / 0.8275 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.1645, allocations: 0 / 0.8275 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.1646, allocations: 15.8 kB / 0.8275 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.1688, allocations: 1.636 MB / 0.8291 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1689, allocations: 51.66 kB / 0.8291 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.169, allocations: 7.984 kB / 0.8291 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.169, allocations: 19.92 kB / 0.8292 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.169, allocations: 11.94 kB / 0.8292 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.169, allocations: 0 / 0.8292 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1716, allocations: 1.564 MB / 0.8307 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1716, allocations: 11.92 kB / 0.8307 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1716, allocations: 23.88 kB / 0.8307 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.1735, allocations: 1.083 MB / 0.8318 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1735, allocations: 0 / 0.8318 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1735, allocations: 0 / 0.8318 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.1735, allocations: 3.938 kB / 0.8318 GB, free: 9.145 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007142/0.1742, allocations: 464.1 kB / 0.8322 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1742, allocations: 11.97 kB / 0.8322 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.1743, allocations: 84.16 kB / 0.8323 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1744, allocations: 197.7 kB / 0.8325 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.1745, allocations: 158.9 kB / 0.8327 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.1746, allocations: 154.9 kB / 0.8328 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/0.1747, allocations: 109.1 kB / 0.8329 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.1747, allocations: 79.22 kB / 0.833 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.1748, allocations: 154.5 kB / 0.8331 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.1748, allocations: 154.6 kB / 0.8333 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.1749, allocations: 154.5 kB / 0.8334 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.1752, allocations: 437 kB / 0.8339 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.1753, allocations: 173.1 kB / 0.834 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.1753, allocations: 84.14 kB / 0.8341 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1754, allocations: 75.28 kB / 0.8342 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.1754, allocations: 109.8 kB / 0.8343 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1754, allocations: 0 / 0.8343 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.295e-05/0.1755, allocations: 33.64 kB / 0.8343 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.1756, allocations: 126.7 kB / 0.8344 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1757, allocations: 135.8 kB / 0.8346 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1757, allocations: 29.7 kB / 0.8346 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.1758, allocations: 96.12 kB / 0.8347 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1758, allocations: 0 / 0.8347 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1758, allocations: 13.72 kB / 0.8347 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1759, allocations: 322.8 kB / 0.835 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.176, allocations: 4 kB / 0.835 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.657e-05/0.176, allocations: 4 kB / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.176, allocations: 12.86 kB / 0.835 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.176, allocations: 7.969 kB / 0.835 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001309/0.1762, allocations: 61.64 kB / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1762, allocations: 4 kB / 0.8351 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.1762, allocations: 4 kB / 0.8351 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1762, allocations: 0 / 0.8351 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1762, allocations: 0 / 0.8351 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1762, allocations: 0 / 0.8351 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.1762, allocations: 3.938 kB / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1762, allocations: 4 kB / 0.8351 GB, free: 5.559 MB / 0.5762 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001067/0.1763, allocations: 190.5 kB / 0.8353 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1764, allocations: 116.8 kB / 0.8354 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1765, allocations: 108.8 kB / 0.8355 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/0.1765, allocations: 180.3 kB / 0.8357 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-05/0.1766, allocations: 184.2 kB / 0.8358 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.1767, allocations: 176.3 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1769, allocations: 404.1 kB / 0.8364 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/0.177, allocations: 104.9 kB / 0.8365 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.177, allocations: 105 kB / 0.8366 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.1771, allocations: 184.2 kB / 0.8368 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.1772, allocations: 176.3 kB / 0.8369 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.753e-05/0.1772, allocations: 188.2 kB / 0.8371 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-05/0.1773, allocations: 180.3 kB / 0.8373 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.1775, allocations: 307.7 kB / 0.8376 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1775, allocations: 108.9 kB / 0.8377 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.1776, allocations: 184.2 kB / 0.8379 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.1777, allocations: 105 kB / 0.838 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.1778, allocations: 176.3 kB / 0.8381 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.1778, allocations: 112.9 kB / 0.8382 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.1779, allocations: 101 kB / 0.8383 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1779, allocations: 0 / 0.8383 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008212/0.1787, allocations: 287 kB / 0.8386 GB, free: 1.758 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001053/0.1798, allocations: 0.5333 MB / 0.8391 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1799, allocations: 37.7 kB / 0.8392 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1799, allocations: 0 / 0.8392 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.1799, allocations: 3.938 kB / 0.8392 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1803, allocations: 479.6 kB / 0.8396 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.1806, allocations: 236.8 kB / 0.8399 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1809, allocations: 0.6846 MB / 0.8405 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.1809, allocations: 11.98 kB / 0.8405 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.181, allocations: 7.438 kB / 0.8405 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.181, allocations: 0 / 0.8405 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01038/0.1913, allocations: 5.654 MB / 0.8461 GB, free: 10.11 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.114350313786417] Failed to read output from testmodel.py, exit status != 0: 0.19904152397066355 0.214155263 0.037569352 Calling exit ...