Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.00151/0.00151, allocations: 110.2 kB / 18.94 MB, free: 2.785 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.001575/0.001575, allocations: 189.8 kB / 22.23 MB, free: 5.242 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.366/1.366, allocations: 225.6 MB / 251 MB, free: 13.01 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.002429/0.002429, allocations: 288.6 kB / 306.5 MB, free: 8.32 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.164/1.164, allocations: 180.9 MB / 0.53 GB, free: 14.52 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 101.1 kB / 0.7309 GB, free: 39.07 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1556, allocations: 94.2 MB / 0.8229 GB, free: 1.82 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004421/0.16, allocations: 3.072 MB / 0.8259 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002781/0.1628, allocations: 2.16 MB / 0.828 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.163, allocations: 8 kB / 0.828 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.001275/0.1642, allocations: 0.4977 MB / 0.8285 GB, free: 12.06 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1645, allocations: 154.8 kB / 0.8286 GB, free: 11.91 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.1646, allocations: 59.94 kB / 0.8287 GB, free: 11.85 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0004973/0.1651, allocations: 461.8 kB / 0.8291 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1653, allocations: 99.84 kB / 0.8292 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1655, allocations: 163.4 kB / 0.8294 GB, free: 11.13 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.1658, allocations: 183.2 kB / 0.8295 GB, free: 10.95 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.1658, allocations: 32 kB / 0.8296 GB, free: 10.92 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.1659, allocations: 36 kB / 0.8296 GB, free: 10.89 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.166, allocations: 99.61 kB / 0.8297 GB, free: 10.79 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.1662, allocations: 214.9 kB / 0.8299 GB, free: 10.58 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000581/0.1668, allocations: 0.5486 MB / 0.8304 GB, free: 10.03 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1668, allocations: 4 kB / 0.8305 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.352e-06/0.1668, allocations: 4 kB / 0.8305 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.023e-06/0.1668, allocations: 0 / 0.8305 GB, free: 10.02 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: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.001064/0.1679, allocations: 0.6445 MB / 0.8311 GB, free: 9.34 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1679, allocations: 8.031 kB / 0.8311 GB, free: 9.332 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.168, allocations: 48.66 kB / 0.8311 GB, free: 9.285 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.1685, allocations: 316.6 kB / 0.8314 GB, free: 8.949 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1685, allocations: 16.81 kB / 0.8315 GB, free: 8.934 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.1685, allocations: 24.38 kB / 0.8315 GB, free: 8.91 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.169, allocations: 203.6 kB / 0.8317 GB, free: 8.707 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.169, allocations: 0 / 0.8317 GB, free: 8.707 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.169, allocations: 8 kB / 0.8317 GB, free: 8.699 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.169, allocations: 15.94 kB / 0.8317 GB, free: 8.684 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1694, allocations: 165.6 kB / 0.8319 GB, free: 8.523 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.1706, allocations: 0.82 MB / 0.8327 GB, free: 7.637 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.171, allocations: 150.5 kB / 0.8328 GB, free: 7.48 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.1712, allocations: 96.81 kB / 0.8329 GB, free: 7.383 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1712, allocations: 7.938 kB / 0.8329 GB, free: 7.375 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1712, allocations: 30.56 kB / 0.8329 GB, free: 7.336 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1712, allocations: 0 / 0.8329 GB, free: 7.336 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=18): time 0.0006271/0.1718, allocations: 266.5 kB / 0.8332 GB, free: 7.07 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1719, allocations: 55.41 kB / 0.8332 GB, free: 7.004 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.1724, allocations: 413.6 kB / 0.8336 GB, free: 6.594 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1724, allocations: 37.69 kB / 0.8337 GB, free: 6.551 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1726, allocations: 208.4 kB / 0.8339 GB, free: 6.344 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.1726, allocations: 71.42 kB / 0.8339 GB, free: 6.273 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.1727, allocations: 25.72 kB / 0.834 GB, free: 6.242 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001652/0.1729, allocations: 354.8 kB / 0.8343 GB, free: 5.887 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.173, allocations: 51.97 kB / 0.8343 GB, free: 5.836 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1732, allocations: 58.2 kB / 0.8344 GB, free: 5.781 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1735, allocations: 139 kB / 0.8345 GB, free: 5.645 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1735, allocations: 0 / 0.8345 GB, free: 5.645 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003947/0.1739, allocations: 209.4 kB / 0.8347 GB, free: 5.434 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1739, allocations: 4 kB / 0.8347 GB, free: 5.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1739, allocations: 4 kB / 0.8347 GB, free: 5.426 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1739, allocations: 7.875 kB / 0.8347 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1742, allocations: 59.95 kB / 0.8348 GB, free: 5.359 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1742, allocations: 0 / 0.8348 GB, free: 5.359 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1743, allocations: 15.89 kB / 0.8348 GB, free: 5.344 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1743, allocations: 4 kB / 0.8348 GB, free: 5.34 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 (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.0001713/0.1745, allocations: 170.4 kB / 0.835 GB, free: 5.164 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.1746, allocations: 39.77 kB / 0.835 GB, free: 5.125 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.738e-05/0.1746, allocations: 43.47 kB / 0.8351 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1746, allocations: 0 / 0.8351 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1746, allocations: 0 / 0.8351 GB, free: 5.078 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1746, allocations: 3.984 kB / 0.8351 GB, free: 5.074 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1751, allocations: 344.5 kB / 0.8354 GB, free: 4.695 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1751, allocations: 0 / 0.8354 GB, free: 4.695 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.1753, allocations: 55.97 kB / 0.8355 GB, free: 4.641 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1753, allocations: 0 / 0.8355 GB, free: 4.641 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.1753, allocations: 11.92 kB / 0.8355 GB, free: 4.629 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1753, allocations: 0 / 0.8355 GB, free: 4.629 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1753, allocations: 0 / 0.8355 GB, free: 4.629 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.176, allocations: 381 kB / 0.8358 GB, free: 4.242 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.1761, allocations: 55.72 kB / 0.8359 GB, free: 4.188 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1761, allocations: 3.938 kB / 0.8359 GB, free: 4.184 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1763, allocations: 11.98 kB / 0.8359 GB, free: 4.172 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1763, allocations: 7.984 kB / 0.8359 GB, free: 4.164 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1763, allocations: 8 kB / 0.8359 GB, free: 4.156 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0003441/0.1767, allocations: 303.1 kB / 0.8362 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1767, allocations: 0 / 0.8362 GB, free: 3.859 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003023/0.177, allocations: 71.89 kB / 0.8363 GB, free: 3.789 MB / 0.5762 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.0001188/0.1771, allocations: 111.2 kB / 0.8364 GB, free: 3.672 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003806/0.1775, allocations: 131.9 kB / 0.8365 GB, free: 3.543 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1775, allocations: 0 / 0.8365 GB, free: 3.543 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1776, allocations: 79.81 kB / 0.8366 GB, free: 3.465 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1782, allocations: 96.7 kB / 0.8367 GB, free: 3.375 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1794, allocations: 0.7712 MB / 0.8374 GB, free: 2.578 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1798, allocations: 0.7912 MB / 0.8382 GB, free: 1.762 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001083/0.1799, allocations: 34.95 kB / 0.8382 GB, free: 1.73 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.18, allocations: 27.38 kB / 0.8383 GB, free: 1.703 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.18, allocations: 4 kB / 0.8383 GB, free: 1.699 MB / 0.5762 GB
Notification: Performance of Templates: time 0.008416/0.1884, allocations: 4.119 MB / 0.8423 GB, free: 13.69 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.7475209990516305]
Failed to read output from testmodel.py, exit status != 0:
0.19516259897500277 0.209475768 0.039781170000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8c872bd7b0>