Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001244/0.001244, 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.001396/0.001396, allocations: 189.4 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.38/1.38, allocations: 225.6 MB / 251 MB, free: 13.04 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.002553/0.002553, allocations: 297 kB / 306.6 MB, free: 8.34 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.186/1.186, allocations: 180.9 MB / 0.53 GB, free: 14.53 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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside")
translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 98.03 kB / 0.7308 GB, free: 38.95 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1653, allocations: 94.2 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002765/0.1681, allocations: 1.593 MB / 0.8244 GB, free: 252 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001494/0.1695, allocations: 0.9216 MB / 0.8253 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.1696, allocations: 4 kB / 0.8253 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.1696, allocations: 7.875 kB / 0.8253 GB, free: 15.3 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1698, allocations: 27.78 kB / 0.8253 GB, free: 15.28 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.1702, allocations: 138.2 kB / 0.8255 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1703, allocations: 83.64 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.1704, allocations: 11.98 kB / 0.8256 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.1705, allocations: 35.8 kB / 0.8256 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1706, allocations: 35.84 kB / 0.8256 GB, free: 14.98 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1707, allocations: 11.98 kB / 0.8256 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.1711, allocations: 275.7 kB / 0.8259 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.1711, allocations: 11.92 kB / 0.8259 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1711, allocations: 31.88 kB / 0.8259 GB, free: 14.66 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1714, allocations: 155.4 kB / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1714, allocations: 0 / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.1714, allocations: 0 / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 9.628e-06/0.1714, allocations: 0 / 0.8261 GB, free: 14.5 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005834/0.172, allocations: 329.7 kB / 0.8264 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.172, allocations: 12.03 kB / 0.8264 GB, free: 14.14 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1721, allocations: 16.88 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.1723, allocations: 142.2 kB / 0.8266 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1723, allocations: 4.375 kB / 0.8266 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.1724, allocations: 4.375 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1725, allocations: 65.97 kB / 0.8266 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1725, allocations: 0 / 0.8266 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1726, allocations: 0 / 0.8266 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1726, allocations: 0 / 0.8266 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1727, allocations: 43.97 kB / 0.8267 GB, free: 13.84 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1732, allocations: 267.9 kB / 0.8269 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1733, allocations: 54.48 kB / 0.827 GB, free: 13.47 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.1734, allocations: 24.97 kB / 0.827 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1734, allocations: 8 kB / 0.827 GB, free: 13.44 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1734, allocations: 34.56 kB / 0.8271 GB, free: 13.39 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1734, allocations: 0 / 0.8271 GB, free: 13.39 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5): time 0.000376/0.1738, allocations: 109.5 kB / 0.8272 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1738, allocations: 51.41 kB / 0.8272 GB, free: 13.22 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.174, allocations: 127.9 kB / 0.8273 GB, free: 13.09 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.174, allocations: 37.7 kB / 0.8274 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.174, allocations: 88.14 kB / 0.8274 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1741, allocations: 19.83 kB / 0.8275 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.1741, allocations: 17.72 kB / 0.8275 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000156/0.1743, allocations: 326.8 kB / 0.8278 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.1743, allocations: 19.98 kB / 0.8278 GB, free: 12.56 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.1744, allocations: 27.92 kB / 0.8278 GB, free: 12.54 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1746, allocations: 61.2 kB / 0.8279 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1746, allocations: 0 / 0.8279 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002317/0.1748, allocations: 93.5 kB / 0.828 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1748, allocations: 7.984 kB / 0.828 GB, free: 12.37 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1748, allocations: 0 / 0.828 GB, free: 12.37 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1748, allocations: 0 / 0.828 GB, free: 12.37 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.175, allocations: 15.98 kB / 0.828 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.175, allocations: 0 / 0.828 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.175, allocations: 15.95 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.175, allocations: 0 / 0.828 GB, free: 12.34 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 (6):
 * Single equations (assignments): 6
 * 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.715e-05/0.1751, allocations: 118.4 kB / 0.8281 GB, free: 12.21 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1752, allocations: 7.953 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1755, allocations: 106 kB / 0.8282 GB, free: 12.08 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1755, allocations: 0 / 0.8282 GB, free: 12.08 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1755, allocations: 0 / 0.8282 GB, free: 12.08 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1755, allocations: 4 kB / 0.8283 GB, free: 12.08 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1757, allocations: 160.7 kB / 0.8284 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1757, allocations: 3.984 kB / 0.8284 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.1757, allocations: 8 kB / 0.8284 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1757, allocations: 0 / 0.8284 GB, free: 11.87 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1758, allocations: 7.984 kB / 0.8284 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1758, allocations: 0 / 0.8284 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1758, allocations: 0 / 0.8284 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.176, allocations: 199.5 kB / 0.8286 GB, free: 11.65 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1761, allocations: 15.88 kB / 0.8286 GB, free: 11.63 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1761, allocations: 4 kB / 0.8286 GB, free: 11.63 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1762, allocations: 4 kB / 0.8286 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.1762, allocations: 3.984 kB / 0.8286 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1762, allocations: 4 kB / 0.8286 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.788e-05/0.1763, allocations: 101.1 kB / 0.8287 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.1763, allocations: 0 / 0.8287 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002487/0.1765, allocations: 24 kB / 0.8288 GB, free: 11.5 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 (6):
 * Single equations (assignments): 6
 * 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.0001689/0.1767, allocations: 111.2 kB / 0.8289 GB, free: 11.38 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002236/0.1769, allocations: 59.91 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1769, allocations: 3.938 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.177, allocations: 35.91 kB / 0.829 GB, free: 11.28 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1773, allocations: 11.98 kB / 0.829 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.1777, allocations: 192.7 kB / 0.8292 GB, free: 11.05 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.178, allocations: 0.6846 MB / 0.8298 GB, free: 10.34 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.982e-05/0.1781, allocations: 15.73 kB / 0.8298 GB, free: 10.33 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.1781, allocations: 23.31 kB / 0.8299 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.61e-07/0.1781, allocations: 0 / 0.8299 GB, free: 10.31 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003987/0.1821, allocations: 1.132 MB / 0.831 GB, free: 9.188 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.773554547689855]
Failed to read output from testmodel.py, exit status != 0:
0.18925039283931255 0.20327634200000003 0.028997567000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4103ff97b0>