Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001336/0.001336, 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.001466/0.001466, allocations: 189.4 kB / 22.22 MB, free: 5.102 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.397/1.397, allocations: 225.6 MB / 251 MB, free: 13.02 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.002458/0.002458, allocations: 287.6 kB / 306.5 MB, free: 8.328 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.178/1.178, allocations: 180.9 MB / 0.53 GB, free: 14.43 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 106.3 kB / 0.7309 GB, free: 38.84 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1506, allocations: 94.2 MB / 0.8229 GB, free: 1.797 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002584/0.1531, allocations: 1.43 MB / 0.8243 GB, free: 364 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.004527/0.1577, allocations: 2.905 MB / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1577, allocations: 0 / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1577, allocations: 0 / 0.8271 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.698e-05/0.1578, allocations: 23.78 kB / 0.8272 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.1616, allocations: 1.628 MB / 0.8288 GB, free: 11.8 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.856e-05/0.1617, allocations: 43.67 kB / 0.8288 GB, free: 11.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1617, allocations: 7.984 kB / 0.8288 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.1618, allocations: 15.92 kB / 0.8288 GB, free: 11.73 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.1618, allocations: 15.94 kB / 0.8288 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1618, allocations: 0 / 0.8288 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1642, allocations: 1.692 MB / 0.8305 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.1643, allocations: 7.938 kB / 0.8305 GB, free: 10.02 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.1643, allocations: 19.81 kB / 0.8305 GB, free: 9.996 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.001535/0.1658, allocations: 1.114 MB / 0.8316 GB, free: 8.879 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1658, allocations: 0 / 0.8316 GB, free: 8.879 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.353e-06/0.1658, allocations: 0 / 0.8316 GB, free: 8.879 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.328e-06/0.1658, allocations: 0 / 0.8316 GB, free: 8.879 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.0006009/0.1664, allocations: 464.2 kB / 0.832 GB, free: 8.395 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1665, allocations: 8.031 kB / 0.8321 GB, free: 8.387 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.1665, allocations: 84.17 kB / 0.8321 GB, free: 8.305 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1667, allocations: 197.7 kB / 0.8323 GB, free: 8.086 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.1668, allocations: 150.9 kB / 0.8325 GB, free: 7.938 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.508e-05/0.1668, allocations: 150.9 kB / 0.8326 GB, free: 7.789 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.1669, allocations: 121 kB / 0.8327 GB, free: 7.664 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.167, allocations: 75.28 kB / 0.8328 GB, free: 7.59 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.167, allocations: 150.6 kB / 0.8329 GB, free: 7.441 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.1671, allocations: 150.6 kB / 0.8331 GB, free: 7.293 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.1671, allocations: 150.6 kB / 0.8332 GB, free: 7.145 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1675, allocations: 437 kB / 0.8336 GB, free: 6.676 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1676, allocations: 169.1 kB / 0.8338 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.1676, allocations: 84.14 kB / 0.8339 GB, free: 6.414 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.1677, allocations: 75.28 kB / 0.834 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.1677, allocations: 113.8 kB / 0.8341 GB, free: 6.219 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1677, allocations: 4 kB / 0.8341 GB, free: 6.215 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=0): time 7.38e-05/0.1678, allocations: 29.66 kB / 0.8341 GB, free: 6.18 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1678, allocations: 134.6 kB / 0.8342 GB, free: 6.035 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.168, allocations: 131.2 kB / 0.8344 GB, free: 5.898 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.168, allocations: 25.7 kB / 0.8344 GB, free: 5.867 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1681, allocations: 88.12 kB / 0.8345 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1681, allocations: 0 / 0.8345 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1681, allocations: 21.72 kB / 0.8345 GB, free: 5.75 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001421/0.1683, allocations: 318.8 kB / 0.8348 GB, free: 5.43 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.1683, allocations: 11.94 kB / 0.8348 GB, free: 5.418 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.1683, allocations: 4 kB / 0.8348 GB, free: 5.414 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.1683, allocations: 8.859 kB / 0.8348 GB, free: 5.402 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1683, allocations: 0 / 0.8348 GB, free: 5.402 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1685, allocations: 57.61 kB / 0.8349 GB, free: 5.34 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1685, allocations: 13.66 kB / 0.8349 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.1685, allocations: 0 / 0.8349 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1685, allocations: 0 / 0.8349 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.1685, allocations: 8.062 kB / 0.8349 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1685, allocations: 0 / 0.8349 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.1685, allocations: 3.938 kB / 0.8349 GB, free: 5.316 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1685, allocations: 0 / 0.8349 GB, free: 5.316 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.0001248/0.1687, allocations: 189.7 kB / 0.8351 GB, free: 5.121 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.1687, allocations: 116.9 kB / 0.8352 GB, free: 5 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/0.1688, allocations: 112.7 kB / 0.8353 GB, free: 4.879 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.1689, allocations: 180.3 kB / 0.8355 GB, free: 4.695 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.866e-05/0.1689, allocations: 176.3 kB / 0.8356 GB, free: 4.516 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-05/0.169, allocations: 188.2 kB / 0.8358 GB, free: 4.324 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1693, allocations: 384.3 kB / 0.8362 GB, free: 3.898 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.867e-05/0.1693, allocations: 116.9 kB / 0.8363 GB, free: 3.777 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1694, allocations: 101 kB / 0.8364 GB, free: 3.672 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-05/0.1695, allocations: 180.3 kB / 0.8366 GB, free: 3.488 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/0.1695, allocations: 180.2 kB / 0.8367 GB, free: 3.305 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-05/0.1696, allocations: 188.2 kB / 0.8369 GB, free: 3.113 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.901e-05/0.1697, allocations: 180.2 kB / 0.8371 GB, free: 2.93 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.1698, allocations: 303.8 kB / 0.8374 GB, free: 2.609 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1699, allocations: 124.8 kB / 0.8375 GB, free: 2.48 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.17, allocations: 176.3 kB / 0.8377 GB, free: 2.301 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.1701, allocations: 104.9 kB / 0.8378 GB, free: 2.191 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.1702, allocations: 180.3 kB / 0.8379 GB, free: 2.008 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.1702, allocations: 101 kB / 0.838 GB, free: 1.902 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.391e-05/0.1703, allocations: 111.2 kB / 0.8381 GB, free: 1.793 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.1703, allocations: 0 / 0.8381 GB, free: 1.793 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0006917/0.171, allocations: 275 kB / 0.8384 GB, free: 1.523 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.001012/0.172, allocations: 0.5245 MB / 0.8389 GB, free: 0.9883 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 9.522e-05/0.1721, allocations: 37.69 kB / 0.8389 GB, free: 0.9453 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1721, allocations: 4.062 kB / 0.8389 GB, free: 0.9414 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1721, allocations: 0 / 0.8389 GB, free: 0.9414 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1725, allocations: 464.2 kB / 0.8394 GB, free: 496 kB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.1728, allocations: 240.6 kB / 0.8396 GB, free: 224 kB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1732, allocations: 0.6846 MB / 0.8403 GB, free: 15.51 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 1.131e-05/0.1732, allocations: 0 / 0.8403 GB, free: 15.51 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.1732, allocations: 7.438 kB / 0.8403 GB, free: 15.5 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.11e-07/0.1732, allocations: 0 / 0.8403 GB, free: 15.5 MB / 0.5919 GB
Notification: Performance of Templates: time 0.009953/0.1831, allocations: 5.499 MB / 0.8457 GB, free: 10.06 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.984694862738252]
Failed to read output from testmodel.py, exit status != 0:
0.1907147765159607 0.20552515799999996 0.03667237
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f10527457b0>