Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001388/0.001388, allocations: 115 kB / 19.69 MB, free: 2.188 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.001483/0.001483, allocations: 187.4 kB / 22.98 MB, free: 5.008 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.288/1.288, allocations: 225.6 MB / 251.8 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.87/0.87, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube")
translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 66.92 kB / 0.6329 GB, free: 8.895 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1546, allocations: 87.87 MB / 0.7187 GB, free: 0.9453 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002581/0.1572, allocations: 1.449 MB / 0.7202 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.004594/0.1618, allocations: 2.926 MB / 0.723 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1618, allocations: 0 / 0.723 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.1618, allocations: 11.86 kB / 0.723 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.1619, allocations: 15.86 kB / 0.723 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.1657, allocations: 1.655 MB / 0.7247 GB, free: 10.89 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 9.761e-05/0.1658, allocations: 47.72 kB / 0.7247 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.1658, allocations: 4 kB / 0.7247 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.1658, allocations: 19.88 kB / 0.7247 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1659, allocations: 15.92 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1659, allocations: 4 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.1683, allocations: 1.735 MB / 0.7264 GB, free: 9.062 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1684, allocations: 3.938 kB / 0.7264 GB, free: 9.059 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.1684, allocations: 19.88 kB / 0.7265 GB, free: 9.039 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.001641/0.17, allocations: 1.135 MB / 0.7276 GB, free: 7.902 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.17, allocations: 0 / 0.7276 GB, free: 7.902 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.17, allocations: 4 kB / 0.7276 GB, free: 7.898 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.94e-06/0.17, allocations: 0 / 0.7276 GB, free: 7.898 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0006697/0.1707, allocations: 480 kB / 0.728 GB, free: 7.398 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1707, allocations: 8.625 kB / 0.728 GB, free: 7.391 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.1708, allocations: 80.22 kB / 0.7281 GB, free: 7.312 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.171, allocations: 193.7 kB / 0.7283 GB, free: 7.098 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.171, allocations: 154.7 kB / 0.7284 GB, free: 6.945 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.1711, allocations: 158.5 kB / 0.7286 GB, free: 6.789 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 6.582e-05/0.1712, allocations: 105 kB / 0.7287 GB, free: 6.68 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.1712, allocations: 75.28 kB / 0.7288 GB, free: 6.605 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.1713, allocations: 158.5 kB / 0.7289 GB, free: 6.449 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.1713, allocations: 150.6 kB / 0.7291 GB, free: 6.301 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.1714, allocations: 154.5 kB / 0.7292 GB, free: 6.148 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.1717, allocations: 437 kB / 0.7296 GB, free: 5.68 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.1718, allocations: 169.1 kB / 0.7298 GB, free: 5.504 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.1718, allocations: 84.14 kB / 0.7299 GB, free: 5.418 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1719, allocations: 75.28 kB / 0.7299 GB, free: 5.344 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.1719, allocations: 113.8 kB / 0.7301 GB, free: 5.223 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1719, allocations: 0 / 0.7301 GB, free: 5.223 MB / 0.545 GB
Notification: Performance of matching and sorting (n=0): time 8.894e-05/0.172, allocations: 37.66 kB / 0.7301 GB, free: 5.18 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1721, allocations: 126.7 kB / 0.7302 GB, free: 5.043 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1722, allocations: 132.3 kB / 0.7303 GB, free: 4.906 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1722, allocations: 25.7 kB / 0.7304 GB, free: 4.875 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.1723, allocations: 96.12 kB / 0.7304 GB, free: 4.777 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.1723, allocations: 4 kB / 0.7305 GB, free: 4.773 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1723, allocations: 17.72 kB / 0.7305 GB, free: 4.75 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.000133/0.1724, allocations: 322.8 kB / 0.7308 GB, free: 4.426 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.1725, allocations: 8 kB / 0.7308 GB, free: 4.418 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.1725, allocations: 0 / 0.7308 GB, free: 4.418 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.1725, allocations: 28.67 kB / 0.7308 GB, free: 4.387 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1725, allocations: 0 / 0.7308 GB, free: 4.387 MB / 0.545 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.1727, allocations: 53.64 kB / 0.7309 GB, free: 4.328 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1727, allocations: 8.062 kB / 0.7309 GB, free: 4.32 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.1727, allocations: 4.062 kB / 0.7309 GB, free: 4.316 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1727, allocations: 4 kB / 0.7309 GB, free: 4.312 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1727, allocations: 0 / 0.7309 GB, free: 4.312 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1727, allocations: 0 / 0.7309 GB, free: 4.312 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.1727, allocations: 0 / 0.7309 GB, free: 4.312 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1727, allocations: 4 kB / 0.7309 GB, free: 4.309 MB / 0.545 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.0001036/0.1728, allocations: 185.1 kB / 0.7311 GB, free: 4.117 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.1729, allocations: 112.9 kB / 0.7312 GB, free: 4 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.173, allocations: 116.8 kB / 0.7313 GB, free: 3.875 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/0.173, allocations: 180.3 kB / 0.7315 GB, free: 3.691 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.457e-05/0.1731, allocations: 180.2 kB / 0.7316 GB, free: 3.508 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/0.1732, allocations: 176.3 kB / 0.7318 GB, free: 3.328 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1734, allocations: 400.2 kB / 0.7322 GB, free: 2.887 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/0.1735, allocations: 105 kB / 0.7323 GB, free: 2.777 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.1735, allocations: 101 kB / 0.7324 GB, free: 2.672 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-05/0.1736, allocations: 184.2 kB / 0.7325 GB, free: 2.484 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.1737, allocations: 176.3 kB / 0.7327 GB, free: 2.305 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.092e-05/0.1737, allocations: 184.2 kB / 0.7329 GB, free: 2.117 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/0.1738, allocations: 180.3 kB / 0.7331 GB, free: 1.934 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.174, allocations: 315.7 kB / 0.7334 GB, free: 1.602 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.174, allocations: 108.9 kB / 0.7335 GB, free: 1.488 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.1741, allocations: 188.2 kB / 0.7336 GB, free: 1.297 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.1742, allocations: 101 kB / 0.7337 GB, free: 1.191 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.1743, allocations: 184.2 kB / 0.7339 GB, free: 1.004 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.1743, allocations: 101 kB / 0.734 GB, free: 0.8984 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.22e-05/0.1744, allocations: 107.2 kB / 0.7341 GB, free: 0.793 MB / 0.545 GB
Notification: Performance of sort global known variables: time 5e-08/0.1744, allocations: 0 / 0.7341 GB, free: 0.793 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000751/0.1751, allocations: 290.9 kB / 0.7344 GB, free: 0.5078 MB / 0.545 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.001051/0.1762, allocations: 0.5325 MB / 0.7349 GB, free: 15.96 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 9.345e-05/0.1763, allocations: 37.7 kB / 0.7349 GB, free: 15.92 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1763, allocations: 0 / 0.7349 GB, free: 15.92 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.1763, allocations: 3.938 kB / 0.735 GB, free: 15.91 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1767, allocations: 467.7 kB / 0.7354 GB, free: 15.45 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.177, allocations: 236.8 kB / 0.7356 GB, free: 15.2 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1773, allocations: 0.6846 MB / 0.7363 GB, free: 14.48 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 1.046e-05/0.1773, allocations: 3.938 kB / 0.7363 GB, free: 14.48 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.1773, allocations: 15.38 kB / 0.7363 GB, free: 14.46 MB / 0.5606 GB
Notification: Performance of SimCode: time 3.8e-07/0.1773, allocations: 7.938 kB / 0.7363 GB, free: 14.46 MB / 0.5606 GB
Notification: Performance of Templates: time 0.009335/0.1867, allocations: 5.645 MB / 0.7418 GB, free: 8.867 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.535263201221824]
Failed to read output from testmodel.py, exit status != 0:
0.19438510108739138 0.45056033900000003 0.27808998500000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f41091617b0>