Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001459/0.001459, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00134/0.00134, allocations: 189.6 kB / 22.23 MB, free: 5.137 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.43/1.43, allocations: 225.6 MB / 251 MB, free: 13.03 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.002512/0.002512, allocations: 288.5 kB / 306.6 MB, free: 8.348 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.201/1.201, allocations: 180.9 MB / 0.53 GB, free: 14.41 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.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil")
translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 106.3 kB / 0.7309 GB, free: 38.91 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1632, allocations: 94.19 MB / 0.8228 GB, free: 1.809 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003827/0.167, allocations: 2.141 MB / 0.8249 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002022/0.169, allocations: 1.06 MB / 0.826 GB, free: 14.59 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.1692, allocations: 3.938 kB / 0.826 GB, free: 14.58 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.1693, allocations: 23.67 kB / 0.826 GB, free: 14.56 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.1698, allocations: 87.2 kB / 0.8261 GB, free: 14.47 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.1703, allocations: 190.1 kB / 0.8262 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0004582/0.1708, allocations: 302.6 kB / 0.8265 GB, free: 13.99 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.171, allocations: 56.78 kB / 0.8266 GB, free: 13.93 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.1712, allocations: 119.5 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1714, allocations: 139.4 kB / 0.8268 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.1715, allocations: 16 kB / 0.8269 GB, free: 13.66 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.172, allocations: 303.7 kB / 0.8271 GB, free: 13.37 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1721, allocations: 47.83 kB / 0.8272 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1722, allocations: 123.2 kB / 0.8273 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.1726, allocations: 334.5 kB / 0.8276 GB, free: 12.87 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1726, allocations: 0 / 0.8276 GB, free: 12.87 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 9.42e-07/0.1726, allocations: 0 / 0.8276 GB, free: 12.87 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.693e-06/0.1726, allocations: 0 / 0.8276 GB, free: 12.87 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: 34
 * Number of variables: 34
Notification: Performance of Generate backend data structure: time 0.001131/0.1738, allocations: 0.5573 MB / 0.8282 GB, free: 12.29 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1738, allocations: 12.03 kB / 0.8282 GB, free: 12.27 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.174, allocations: 40.69 kB / 0.8282 GB, free: 12.23 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1744, allocations: 229.5 kB / 0.8284 GB, free: 11.99 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1744, allocations: 8.656 kB / 0.8284 GB, free: 11.98 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1745, allocations: 16.38 kB / 0.8285 GB, free: 11.96 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.175, allocations: 232.9 kB / 0.8287 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1751, allocations: 0 / 0.8287 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1751, allocations: 4 kB / 0.8287 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1751, allocations: 4 kB / 0.8287 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.1758, allocations: 203.7 kB / 0.8289 GB, free: 11.51 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1771, allocations: 0.9026 MB / 0.8298 GB, free: 10.54 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.1779, allocations: 237.2 kB / 0.83 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.1783, allocations: 97.64 kB / 0.8301 GB, free: 10.19 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.1783, allocations: 7.938 kB / 0.8301 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1783, allocations: 38.5 kB / 0.8301 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1783, allocations: 0 / 0.8301 GB, free: 10.14 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=16): time 0.001274/0.1796, allocations: 341.5 kB / 0.8305 GB, free: 9.797 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.1797, allocations: 85.11 kB / 0.8305 GB, free: 9.695 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.18, allocations: 260.2 kB / 0.8308 GB, free: 9.434 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.18, allocations: 29.7 kB / 0.8308 GB, free: 9.398 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1801, allocations: 164.3 kB / 0.831 GB, free: 9.23 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.1802, allocations: 63.47 kB / 0.831 GB, free: 9.168 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.1803, allocations: 37.7 kB / 0.8311 GB, free: 9.125 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001582/0.1804, allocations: 334.8 kB / 0.8314 GB, free: 8.789 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1808, allocations: 99.84 kB / 0.8315 GB, free: 8.691 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1812, allocations: 140.4 kB / 0.8316 GB, free: 8.535 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000744/0.1819, allocations: 242.3 kB / 0.8318 GB, free: 8.277 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1819, allocations: 4 kB / 0.8319 GB, free: 8.273 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009147/0.1828, allocations: 297.1 kB / 0.8321 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1829, allocations: 4 kB / 0.8321 GB, free: 7.973 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1829, allocations: 4.078 kB / 0.8321 GB, free: 7.969 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1829, allocations: 4 kB / 0.8321 GB, free: 7.965 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1832, allocations: 59.88 kB / 0.8322 GB, free: 7.906 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1832, allocations: 12.14 kB / 0.8322 GB, free: 7.895 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.1835, allocations: 39.81 kB / 0.8323 GB, free: 7.855 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1835, allocations: 8 kB / 0.8323 GB, free: 7.848 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (23):
 * Single equations (assignments): 23
 * 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.0001436/0.1836, allocations: 134.4 kB / 0.8324 GB, free: 7.707 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1838, allocations: 35.77 kB / 0.8324 GB, free: 7.672 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.1847, allocations: 287.2 kB / 0.8327 GB, free: 7.379 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1847, allocations: 7.984 kB / 0.8327 GB, free: 7.371 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1847, allocations: 0 / 0.8327 GB, free: 7.371 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1847, allocations: 0 / 0.8327 GB, free: 7.371 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.1851, allocations: 272.8 kB / 0.833 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1851, allocations: 3.938 kB / 0.833 GB, free: 7.059 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.1854, allocations: 47.95 kB / 0.833 GB, free: 7.012 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1854, allocations: 7.938 kB / 0.833 GB, free: 7.004 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1854, allocations: 4 kB / 0.833 GB, free: 7 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1854, allocations: 4 kB / 0.833 GB, free: 6.996 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1854, allocations: 0 / 0.833 GB, free: 6.996 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.1863, allocations: 442.4 kB / 0.8335 GB, free: 6.547 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.1864, allocations: 35.69 kB / 0.8335 GB, free: 6.512 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1864, allocations: 12 kB / 0.8335 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1867, allocations: 27.95 kB / 0.8335 GB, free: 6.473 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1868, allocations: 19.97 kB / 0.8335 GB, free: 6.453 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1868, allocations: 4 kB / 0.8335 GB, free: 6.449 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001965/0.187, allocations: 191.1 kB / 0.8337 GB, free: 6.266 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.187, allocations: 0 / 0.8337 GB, free: 6.266 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003499/0.1873, allocations: 51.94 kB / 0.8338 GB, free: 6.215 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (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 Backend phase and start with SimCode phase: time 0.0001922/0.1875, allocations: 127.1 kB / 0.8339 GB, free: 6.082 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0008039/0.1883, allocations: 219.8 kB / 0.8341 GB, free: 5.867 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1883, allocations: 4.062 kB / 0.8341 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.1887, allocations: 107.8 kB / 0.8342 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.1893, allocations: 81.52 kB / 0.8343 GB, free: 5.676 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.1901, allocations: 445.9 kB / 0.8347 GB, free: 5.211 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1905, allocations: 0.748 MB / 0.8354 GB, free: 4.438 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001297/0.1906, allocations: 30.3 kB / 0.8355 GB, free: 4.406 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.1907, allocations: 31.42 kB / 0.8355 GB, free: 4.375 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.1907, allocations: 0 / 0.8355 GB, free: 4.375 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00884/0.1995, allocations: 4.102 MB / 0.8395 GB, free: 360 kB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.037281594239175]
Failed to read output from testmodel.py, exit status != 0:
0.20730121806263924 0.22221073900000002 0.046487405
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f13c73557b0>