Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001188/0.001188, allocations: 114.8 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.001274/0.001274, allocations: 188.3 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.03 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.8619/0.8619, allocations: 149.6 MB / 456.6 MB, free: 1.207 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube")
translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 66.7 kB / 0.6329 GB, free: 8.961 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 87.87 MB / 0.7187 GB, free: 1.004 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004302/0.1586, allocations: 3.05 MB / 0.7217 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.002724/0.1613, allocations: 2.152 MB / 0.7238 GB, free: 11.78 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1615, allocations: 8 kB / 0.7238 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1628, allocations: 0.5133 MB / 0.7243 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.163, allocations: 146.8 kB / 0.7244 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1632, allocations: 67.89 kB / 0.7245 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0004625/0.1636, allocations: 449.8 kB / 0.7249 GB, free: 10.61 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1638, allocations: 99.84 kB / 0.725 GB, free: 10.5 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.1641, allocations: 171.3 kB / 0.7252 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1643, allocations: 175.2 kB / 0.7254 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.1643, allocations: 32 kB / 0.7254 GB, free: 10.13 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.1644, allocations: 36 kB / 0.7254 GB, free: 10.1 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1645, allocations: 99.56 kB / 0.7255 GB, free: 10 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.1647, allocations: 218.9 kB / 0.7257 GB, free: 9.785 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000531/0.1652, allocations: 0.5408 MB / 0.7263 GB, free: 9.242 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1652, allocations: 4 kB / 0.7263 GB, free: 9.238 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.092e-06/0.1652, allocations: 3.938 kB / 0.7263 GB, free: 9.234 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.602e-06/0.1652, allocations: 0 / 0.7263 GB, free: 9.234 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: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.000974/0.1662, allocations: 0.6329 MB / 0.7269 GB, free: 8.566 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1662, allocations: 16.62 kB / 0.7269 GB, free: 8.551 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.1663, allocations: 48.64 kB / 0.7269 GB, free: 8.504 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.1668, allocations: 316.6 kB / 0.7272 GB, free: 8.168 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1668, allocations: 12.81 kB / 0.7273 GB, free: 8.156 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.1669, allocations: 27.92 kB / 0.7273 GB, free: 8.129 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.1672, allocations: 203.3 kB / 0.7275 GB, free: 7.926 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1673, allocations: 0 / 0.7275 GB, free: 7.926 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1673, allocations: 8 kB / 0.7275 GB, free: 7.918 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1673, allocations: 11.94 kB / 0.7275 GB, free: 7.906 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.1676, allocations: 161.7 kB / 0.7277 GB, free: 7.75 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1687, allocations: 0.8239 MB / 0.7285 GB, free: 6.863 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.169, allocations: 150.5 kB / 0.7286 GB, free: 6.707 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.1692, allocations: 100.8 kB / 0.7287 GB, free: 6.605 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1693, allocations: 0 / 0.7287 GB, free: 6.605 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1693, allocations: 34.5 kB / 0.7287 GB, free: 6.562 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=18): time 9.92e-07/0.1693, allocations: 4 kB / 0.7287 GB, free: 6.559 MB / 0.545 GB
Notification: Performance of matching and sorting (n=18): time 0.0005556/0.1698, allocations: 256.1 kB / 0.729 GB, free: 6.305 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1699, allocations: 63.28 kB / 0.729 GB, free: 6.23 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.1703, allocations: 409.7 kB / 0.7294 GB, free: 5.824 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1704, allocations: 33.7 kB / 0.7295 GB, free: 5.785 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.1705, allocations: 208.4 kB / 0.7297 GB, free: 5.578 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.1705, allocations: 59.44 kB / 0.7297 GB, free: 5.52 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1706, allocations: 41.7 kB / 0.7298 GB, free: 5.473 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001482/0.1708, allocations: 346.8 kB / 0.7301 GB, free: 5.125 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1709, allocations: 55.97 kB / 0.7301 GB, free: 5.07 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.171, allocations: 58.03 kB / 0.7302 GB, free: 5.016 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1713, allocations: 135.7 kB / 0.7303 GB, free: 4.883 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1713, allocations: 3.938 kB / 0.7303 GB, free: 4.879 MB / 0.545 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003679/0.1717, allocations: 213.2 kB / 0.7305 GB, free: 4.664 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1717, allocations: 8 kB / 0.7305 GB, free: 4.656 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1717, allocations: 0 / 0.7305 GB, free: 4.656 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1717, allocations: 0 / 0.7305 GB, free: 4.656 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1719, allocations: 51.97 kB / 0.7306 GB, free: 4.605 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1719, allocations: 4 kB / 0.7306 GB, free: 4.602 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.1721, allocations: 15.88 kB / 0.7306 GB, free: 4.586 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1721, allocations: 12 kB / 0.7306 GB, free: 4.574 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 (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.0001528/0.1722, allocations: 165.8 kB / 0.7308 GB, free: 4.402 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.1723, allocations: 43.66 kB / 0.7308 GB, free: 4.359 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.1724, allocations: 39.53 kB / 0.7309 GB, free: 4.316 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1724, allocations: 4 kB / 0.7309 GB, free: 4.312 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1724, allocations: 4 kB / 0.7309 GB, free: 4.309 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1724, allocations: 7.969 kB / 0.7309 GB, free: 4.301 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.1728, allocations: 344.3 kB / 0.7312 GB, free: 3.922 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1728, allocations: 0 / 0.7312 GB, free: 3.922 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.173, allocations: 59.91 kB / 0.7313 GB, free: 3.863 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.173, allocations: 0 / 0.7313 GB, free: 3.863 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.173, allocations: 4 kB / 0.7313 GB, free: 3.859 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.173, allocations: 4 kB / 0.7313 GB, free: 3.855 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.173, allocations: 3.938 kB / 0.7313 GB, free: 3.852 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.1736, allocations: 375.2 kB / 0.7316 GB, free: 3.469 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.1737, allocations: 43.69 kB / 0.7317 GB, free: 3.426 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1737, allocations: 8 kB / 0.7317 GB, free: 3.418 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1738, allocations: 11.98 kB / 0.7317 GB, free: 3.406 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1739, allocations: 11.92 kB / 0.7317 GB, free: 3.395 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1739, allocations: 4 kB / 0.7317 GB, free: 3.391 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003247/0.1742, allocations: 303.1 kB / 0.732 GB, free: 3.094 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1742, allocations: 0 / 0.732 GB, free: 3.094 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002861/0.1745, allocations: 71.89 kB / 0.7321 GB, free: 3.023 MB / 0.545 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.0001174/0.1746, allocations: 111.2 kB / 0.7322 GB, free: 2.906 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003543/0.175, allocations: 139.8 kB / 0.7323 GB, free: 2.77 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.175, allocations: 0 / 0.7323 GB, free: 2.77 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1751, allocations: 74.19 kB / 0.7324 GB, free: 2.699 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.1756, allocations: 95.61 kB / 0.7325 GB, free: 2.609 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1768, allocations: 0.7644 MB / 0.7332 GB, free: 1.82 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1772, allocations: 0.799 MB / 0.734 GB, free: 0.9961 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.000121/0.1774, allocations: 30.97 kB / 0.734 GB, free: 0.9648 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.1774, allocations: 23.44 kB / 0.734 GB, free: 0.9414 MB / 0.545 GB
Notification: Performance of SimCode: time 5.71e-07/0.1774, allocations: 4 kB / 0.734 GB, free: 0.9375 MB / 0.545 GB
Notification: Performance of Templates: time 0.008431/0.1859, allocations: 4.112 MB / 0.7381 GB, free: 12.94 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.284047096036375]
Failed to read output from testmodel.py, exit status != 0:
0.1938710743561387 0.455751263 0.039318491000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fba0fa657b0>