Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 217.7 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.318/3.318, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.419e-05, allocations: 2.281 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003737/0.003761, allocations: 2.23 MB / 1.189 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.005513, allocations: 0.98 MB / 1.19 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.005668, allocations: 12.19 kB / 1.19 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.005866, allocations: 63.67 kB / 1.19 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.006113, allocations: 47.28 kB / 1.19 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.006736, allocations: 307 kB / 1.191 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007966/0.007533, allocations: 0.7351 MB / 1.191 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.008143, allocations: 410.7 kB / 1.192 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.008542, allocations: 286.9 kB / 1.192 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.008849, allocations: 228.2 kB / 1.192 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.008964, allocations: 75.88 kB / 1.192 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.009135, allocations: 91.33 kB / 1.192 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006145/0.00975, allocations: 0.9094 MB / 1.193 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002948/0.01004, allocations: 0.531 MB / 1.194 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.01013, allocations: 29.28 kB / 1.194 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001214/0.01025, allocations: 68.59 kB / 1.194 GB, free: 9.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 (125) * Number of variables: 128 (122) Notification: Performance of [SIM] Bindings: time 0.002197/0.01245, allocations: 2.097 MB / 1.196 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004665/0.01292, allocations: 408.2 kB / 1.196 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001753/0.01467, allocations: 1.815 MB / 1.198 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004625/0.01513, allocations: 270.4 kB / 1.198 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003274/0.0184, allocations: 2.331 MB / 1.201 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002911/0.0187, allocations: 202.8 kB / 1.201 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001618/0.01886, allocations: 151.9 kB / 1.201 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005652/0.01942, allocations: 467.6 kB / 1.201 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002968/0.01972, allocations: 189.3 kB / 1.202 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0007096/0.02043, allocations: 0.5491 MB / 1.202 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002395/0.02282, allocations: 1.561 MB / 1.204 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001104/0.02393, allocations: 1.162 MB / 1.205 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008401/0.02477, allocations: 493.8 kB / 1.205 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001668/0.02644, allocations: 1.781 MB / 1.207 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.668e-05/0.02653, allocations: 39.38 kB / 1.207 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002573/0.02679, allocations: 258.6 kB / 1.207 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.005867/0.03266, allocations: 3.165 MB / 1.21 GB, free: 56 kB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0007025/0.03336, allocations: 346.9 kB / 1.211 GB, free: 15.95 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 1.934e-06/0.03336, allocations: 0 / 1.211 GB, free: 15.95 MB / 0.92 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003217/0.03368, allocations: 106.7 kB / 1.211 GB, free: 15.9 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 9.939e-06/0.03369, allocations: 1 kB / 1.211 GB, free: 15.9 MB / 0.92 GB " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.984480882994831] Failed to read output from testmodel.py, exit status != 0: 0.04282006301218644 0.058627781000000004 0.045428790000000004 Calling exit ...