Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001297/0.001297, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001449/0.001449, allocations: 191.1 kB / 22.23 MB, free: 5.105 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.382/1.382, allocations: 225.6 MB / 251 MB, free: 13.04 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.002463/0.002463, allocations: 290.7 kB / 306.5 MB, free: 8.352 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.19/1.19, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 100.2 kB / 0.7309 GB, free: 38.96 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1544, allocations: 94.21 MB / 0.8229 GB, free: 1.852 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002573/0.157, allocations: 1.445 MB / 0.8243 GB, free: 404 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.004456/0.1614, allocations: 2.955 MB / 0.8272 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.1615, allocations: 4 kB / 0.8272 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.1615, allocations: 3.938 kB / 0.8272 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.1615, allocations: 15.86 kB / 0.8272 GB, free: 13.4 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.1653, allocations: 1.655 MB / 0.8288 GB, free: 11.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.1654, allocations: 35.73 kB / 0.8289 GB, free: 11.73 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1655, allocations: 15.94 kB / 0.8289 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.1655, allocations: 11.94 kB / 0.8289 GB, free: 11.7 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.853e-05/0.1655, allocations: 15.92 kB / 0.8289 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1655, allocations: 4 kB / 0.8289 GB, free: 11.68 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.168, allocations: 1.735 MB / 0.8306 GB, free: 9.941 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.168, allocations: 7.922 kB / 0.8306 GB, free: 9.934 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.168, allocations: 23.86 kB / 0.8307 GB, free: 9.91 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1697, allocations: 1.13 MB / 0.8318 GB, free: 8.777 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1697, allocations: 0 / 0.8318 GB, free: 8.777 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 8.938e-05/0.1698, allocations: 7.984 kB / 0.8318 GB, free: 8.77 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.048e-05/0.1698, allocations: 0 / 0.8318 GB, free: 8.77 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.0006423/0.1705, allocations: 464.1 kB / 0.8322 GB, free: 8.285 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1705, allocations: 12.03 kB / 0.8322 GB, free: 8.273 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.1706, allocations: 84.11 kB / 0.8323 GB, free: 8.191 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1707, allocations: 195 kB / 0.8325 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.1708, allocations: 150.9 kB / 0.8326 GB, free: 7.828 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.171, allocations: 154.9 kB / 0.8328 GB, free: 7.676 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.571e-05/0.1711, allocations: 113 kB / 0.8329 GB, free: 7.559 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.1711, allocations: 79.27 kB / 0.833 GB, free: 7.48 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.1712, allocations: 150.6 kB / 0.8331 GB, free: 7.332 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/0.1713, allocations: 154.6 kB / 0.8333 GB, free: 7.18 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.1713, allocations: 154.5 kB / 0.8334 GB, free: 7.027 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1717, allocations: 437 kB / 0.8338 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.1718, allocations: 169.1 kB / 0.834 GB, free: 6.383 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.1718, allocations: 80.14 kB / 0.8341 GB, free: 6.301 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1718, allocations: 75.28 kB / 0.8341 GB, free: 6.227 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.1719, allocations: 117.8 kB / 0.8342 GB, free: 6.102 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1719, allocations: 4 kB / 0.8342 GB, free: 6.098 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 7.35e-05/0.172, allocations: 29.66 kB / 0.8343 GB, free: 6.062 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.172, allocations: 126.7 kB / 0.8344 GB, free: 5.926 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1722, allocations: 134.8 kB / 0.8345 GB, free: 5.785 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1722, allocations: 25.7 kB / 0.8345 GB, free: 5.754 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.1723, allocations: 96.08 kB / 0.8346 GB, free: 5.656 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.1723, allocations: 0 / 0.8346 GB, free: 5.656 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1723, allocations: 21.66 kB / 0.8347 GB, free: 5.629 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001413/0.1724, allocations: 318.8 kB / 0.835 GB, free: 5.309 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.1725, allocations: 8 kB / 0.835 GB, free: 5.301 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.1725, allocations: 4 kB / 0.835 GB, free: 5.297 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.1725, allocations: 20.92 kB / 0.835 GB, free: 5.273 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1725, allocations: 0 / 0.835 GB, free: 5.273 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001293/0.1727, allocations: 49.62 kB / 0.835 GB, free: 5.219 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1727, allocations: 8 kB / 0.835 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1727, allocations: 0 / 0.835 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1727, allocations: 4 kB / 0.835 GB, free: 5.207 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1727, allocations: 4.062 kB / 0.8351 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1727, allocations: 0 / 0.8351 GB, free: 5.203 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.1727, allocations: 11.83 kB / 0.8351 GB, free: 5.191 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1727, allocations: 0 / 0.8351 GB, free: 5.191 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.0001135/0.1729, allocations: 185.8 kB / 0.8352 GB, free: 5 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.1729, allocations: 120.9 kB / 0.8354 GB, free: 4.875 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.173, allocations: 104.8 kB / 0.8355 GB, free: 4.762 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.483e-05/0.1731, allocations: 184.2 kB / 0.8356 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.631e-05/0.1732, allocations: 180.3 kB / 0.8358 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-05/0.1733, allocations: 180.2 kB / 0.836 GB, free: 4.207 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.1735, allocations: 392.3 kB / 0.8364 GB, free: 3.773 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.222e-05/0.1736, allocations: 108.9 kB / 0.8365 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.1736, allocations: 108.9 kB / 0.8366 GB, free: 3.547 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.1737, allocations: 180.2 kB / 0.8367 GB, free: 3.363 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-05/0.1738, allocations: 188.2 kB / 0.8369 GB, free: 3.172 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.303e-05/0.1739, allocations: 184.2 kB / 0.8371 GB, free: 2.984 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.427e-05/0.1739, allocations: 176.3 kB / 0.8373 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1741, allocations: 303.8 kB / 0.8375 GB, free: 2.484 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.1742, allocations: 124.8 kB / 0.8377 GB, free: 2.355 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.1743, allocations: 176.3 kB / 0.8378 GB, free: 2.176 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1744, allocations: 105 kB / 0.8379 GB, free: 2.066 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.1745, allocations: 184.2 kB / 0.8381 GB, free: 1.879 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.1745, allocations: 105 kB / 0.8382 GB, free: 1.77 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.12e-05/0.1746, allocations: 105.1 kB / 0.8383 GB, free: 1.668 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1746, allocations: 0 / 0.8383 GB, free: 1.668 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0007824/0.1754, allocations: 283 kB / 0.8386 GB, free: 1.391 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.001082/0.1765, allocations: 0.5441 MB / 0.8391 GB, free: 0.8359 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000108/0.1766, allocations: 41.64 kB / 0.8391 GB, free: 0.7891 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1766, allocations: 0 / 0.8391 GB, free: 0.7891 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.1766, allocations: 0 / 0.8391 GB, free: 0.7891 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.177, allocations: 463.6 kB / 0.8396 GB, free: 340 kB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.1774, allocations: 244.8 kB / 0.8398 GB, free: 64 kB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1777, allocations: 0.6846 MB / 0.8405 GB, free: 15.35 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 1.166e-05/0.1777, allocations: 0 / 0.8405 GB, free: 15.35 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.1777, allocations: 11.44 kB / 0.8405 GB, free: 15.34 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.21e-07/0.1777, allocations: 0 / 0.8405 GB, free: 15.34 MB / 0.5919 GB
Notification: Performance of Templates: time 0.01024/0.188, allocations: 5.656 MB / 0.846 GB, free: 9.738 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.990168219432235]
Failed to read output from testmodel.py, exit status != 0:
0.19523615669459105 0.21026033800000002 0.037387381000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2afab017b0>