Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery.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.001243/0.001243, allocations: 104.3 kB / 19.76 MB, free: 1.898 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.001344/0.001344, allocations: 216.8 kB / 23.07 MB, free: 4.988 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.338/1.338, allocations: 230.7 MB / 256.9 MB, free: 7.77 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 2.979/2.979, allocations: 0.5108 GB / 0.8167 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bat.terminal.i.1.|loa.i.1.|bat.SOC|sou.S.1.|bat.P|loa.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Storage.Examples.Battery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.441e-05, allocations: 3.688 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004613/0.004627, allocations: 4.104 MB / 1.191 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.007467, allocations: 1.937 MB / 1.193 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.007716, allocations: 20.59 kB / 1.193 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.008755, allocations: 397.6 kB / 1.193 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.009275, allocations: 242.8 kB / 1.194 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.01017, allocations: 444.2 kB / 1.194 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.01122, allocations: 1.207 MB / 1.195 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.01227, allocations: 0.9264 MB / 1.196 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.01272, allocations: 489.1 kB / 1.197 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.0132, allocations: 372.6 kB / 1.197 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.01331, allocations: 77.81 kB / 1.197 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.01359, allocations: 162.5 kB / 1.197 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007329/0.01433, allocations: 1.393 MB / 1.199 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003341/0.01466, allocations: 0.8526 MB / 1.199 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.344e-05/0.01476, allocations: 52.78 kB / 1.199 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001199/0.01488, allocations: 85.05 kB / 1.2 GB, free: 5.879 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: 191 (178) * Number of variables: 191 (172) Notification: Performance of [SIM] Bindings: time 0.002465/0.01734, allocations: 3.186 MB / 1.203 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004422/0.01778, allocations: 492.3 kB / 1.203 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001933/0.01972, allocations: 2.289 MB / 1.205 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005505/0.02027, allocations: 389.1 kB / 1.206 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003665/0.02393, allocations: 3.258 MB / 1.209 GB, free: 15.95 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.0004148/0.02435, allocations: 266 kB / 1.209 GB, free: 15.79 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.0002181/0.02457, allocations: 171.7 kB / 1.209 GB, free: 15.65 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.0006738/0.02524, allocations: 0.4952 MB / 1.21 GB, free: 15.29 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.0002422/0.02548, allocations: 148.8 kB / 1.21 GB, free: 15.19 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.0007488/0.02623, allocations: 0.5891 MB / 1.211 GB, free: 14.92 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.002243/0.02847, allocations: 1.663 MB / 1.212 GB, free: 14.55 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001274/0.02975, allocations: 1.2 MB / 1.213 GB, free: 13.9 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.001213/0.03096, allocations: 0.7201 MB / 1.214 GB, free: 13.38 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.001888/0.03285, allocations: 1.941 MB / 1.216 GB, free: 11.9 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0001117/0.03296, allocations: 62.53 kB / 1.216 GB, free: 11.85 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0003884/0.03335, allocations: 421 kB / 1.216 GB, free: 11.5 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01041/0.04376, allocations: 7.746 MB / 1.224 GB, free: 8.68 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.0001178/0.04388, allocations: 154.5 kB / 1.224 GB, free: 8.566 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 1.683e-06/0.04388, allocations: 4.938 kB / 1.224 GB, free: 8.562 MB / 0.92 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002929/0.04417, allocations: 153.2 kB / 1.224 GB, free: 8.484 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 1.014e-05/0.04418, allocations: 5 kB / 1.224 GB, free: 8.48 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 4.666e-05/0.04423, allocations: 75.84 kB / 1.224 GB, free: 8.426 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.605e-05/0.04424, allocations: 3.969 kB / 1.224 GB, free: 8.426 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.001684/0.04593, allocations: 1.071 MB / 1.225 GB, free: 7.863 MB / 0.92 GB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref bat.bat.v[2] is neither a seed nor a partial candidate! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.952976992004551] Failed to read output from testmodel.py, exit status != 0: 0.053045056003611535 0.06634140599999994 0.04871171599999994 Calling exit ...