Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.001237/0.001237, allocations: 110 kB / 18.93 MB, free: 2.945 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.001297/0.001297, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.372/1.372, allocations: 225.6 MB / 251 MB, free: 13 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.002487/0.002487, allocations: 290.2 kB / 306.6 MB, free: 8.301 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.181/1.181, allocations: 180.9 MB / 0.53 GB, free: 14.29 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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe")
translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 102.5 kB / 0.7309 GB, free: 38.66 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1458, allocations: 94.2 MB / 0.8229 GB, free: 1.734 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002432/0.1483, allocations: 1.36 MB / 0.8242 GB, free: 372 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.00168/0.1499, allocations: 1.1 MB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.15, allocations: 4 kB / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.15, allocations: 0 / 0.8253 GB, free: 15.25 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.15, allocations: 7.922 kB / 0.8253 GB, free: 15.24 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.1506, allocations: 215.3 kB / 0.8255 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.1507, allocations: 31.86 kB / 0.8256 GB, free: 15 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.1507, allocations: 7.875 kB / 0.8256 GB, free: 14.99 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.1508, allocations: 23.91 kB / 0.8256 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.1508, allocations: 11.92 kB / 0.8256 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1509, allocations: 8 kB / 0.8256 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.1515, allocations: 427.5 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1515, allocations: 4 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1515, allocations: 11.88 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1519, allocations: 203.4 kB / 0.8262 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1519, allocations: 0 / 0.8262 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.072e-06/0.1519, allocations: 3.938 kB / 0.8262 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.207e-06/0.1519, allocations: 0 / 0.8262 GB, free: 14.31 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004391/0.1523, allocations: 309.7 kB / 0.8265 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1523, allocations: 12.03 kB / 0.8265 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1524, allocations: 4.938 kB / 0.8265 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1525, allocations: 118.4 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1525, allocations: 384 / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1525, allocations: 4.375 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1526, allocations: 45.98 kB / 0.8267 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1526, allocations: 0 / 0.8267 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1526, allocations: 0 / 0.8267 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1526, allocations: 0 / 0.8267 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.1527, allocations: 15.98 kB / 0.8267 GB, free: 13.75 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1528, allocations: 136.8 kB / 0.8268 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.487e-05/0.1529, allocations: 42.53 kB / 0.8269 GB, free: 13.53 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.1529, allocations: 12.86 kB / 0.8269 GB, free: 13.51 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/0.1535, allocations: 103.9 kB / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1535, allocations: 38.5 kB / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1535, allocations: 0 / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=4): time 0.0001701/0.1537, allocations: 57.64 kB / 0.8271 GB, free: 13.3 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1538, allocations: 55.34 kB / 0.8271 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.1538, allocations: 113.8 kB / 0.8273 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1539, allocations: 25.7 kB / 0.8273 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.522e-05/0.1539, allocations: 88.14 kB / 0.8274 GB, free: 12.99 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1539, allocations: 7.938 kB / 0.8274 GB, free: 12.98 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.154, allocations: 17.72 kB / 0.8274 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001289/0.1541, allocations: 318.8 kB / 0.8277 GB, free: 12.64 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.1541, allocations: 8 kB / 0.8277 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.1541, allocations: 4 kB / 0.8277 GB, free: 12.63 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.1542, allocations: 24.84 kB / 0.8277 GB, free: 12.6 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1542, allocations: 0 / 0.8277 GB, free: 12.6 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.789e-05/0.1543, allocations: 53.59 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1543, allocations: 11.92 kB / 0.8278 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1543, allocations: 4 kB / 0.8278 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1543, allocations: 0 / 0.8278 GB, free: 12.53 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1544, allocations: 12 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1544, allocations: 0 / 0.8278 GB, free: 12.52 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.1544, allocations: 3.938 kB / 0.8278 GB, free: 12.51 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1544, allocations: 0 / 0.8278 GB, free: 12.51 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 (4):
 * Single equations (assignments): 4
 * 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 8.279e-05/0.1545, allocations: 122.5 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1545, allocations: 7.891 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1547, allocations: 62 kB / 0.828 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1547, allocations: 3.938 kB / 0.828 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1547, allocations: 7.938 kB / 0.828 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1547, allocations: 0 / 0.828 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1548, allocations: 128.8 kB / 0.8281 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1548, allocations: 3.984 kB / 0.8281 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.1549, allocations: 12 kB / 0.8281 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1549, allocations: 7.938 kB / 0.8281 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1549, allocations: 0 / 0.8281 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1549, allocations: 0 / 0.8281 GB, free: 12.1 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1549, allocations: 3.938 kB / 0.8282 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.994e-05/0.155, allocations: 73.12 kB / 0.8282 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.155, allocations: 11.89 kB / 0.8282 GB, free: 11.99 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.155, allocations: 3.984 kB / 0.8282 GB, free: 11.99 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.155, allocations: 4 kB / 0.8282 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1551, allocations: 4 kB / 0.8282 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.1551, allocations: 8 kB / 0.8283 GB, free: 11.97 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.911e-05/0.1551, allocations: 87.2 kB / 0.8283 GB, free: 11.89 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 0 / 0.8283 GB, free: 11.89 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002289/0.1553, allocations: 39.88 kB / 0.8284 GB, free: 11.85 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 (4):
 * Single equations (assignments): 4
 * 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.0002219/0.1556, allocations: 155 kB / 0.8285 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 9.904e-05/0.1557, allocations: 19.98 kB / 0.8285 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1557, allocations: 4 kB / 0.8285 GB, free: 11.66 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.1557, allocations: 8 kB / 0.8285 GB, free: 11.66 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1559, allocations: 10.84 kB / 0.8286 GB, free: 11.65 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1562, allocations: 148.7 kB / 0.8287 GB, free: 11.48 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1565, allocations: 0.6807 MB / 0.8294 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.244e-05/0.1565, allocations: 11.52 kB / 0.8294 GB, free: 10.76 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1566, allocations: 11.44 kB / 0.8294 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.81e-07/0.1566, allocations: 0 / 0.8294 GB, free: 10.75 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00378/0.1603, allocations: 1.169 MB / 0.8305 GB, free: 9.641 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.6965794721618295]
Failed to read output from testmodel.py, exit status != 0:
0.167372303083539 0.182214436 0.027349337
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc1f56417b0>