Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001434/0.001434, 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.001538/0.001538, allocations: 213.9 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.286/1.286, allocations: 230.7 MB / 256.9 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.786/2.786, allocations: 0.4893 GB / 0.7952 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Electrical.DC.Storage.Examples.Battery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.135e-05, allocations: 4.812 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004272/0.004283, allocations: 4.105 MB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.006795, allocations: 1.934 MB / 1.16 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.00698, allocations: 19.78 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009375/0.007917, allocations: 390.8 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/0.008315, allocations: 243.5 kB / 1.161 GB, free: 21.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.008983, allocations: 453.6 kB / 1.161 GB, free: 20.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009328/0.009916, allocations: 1.202 MB / 1.163 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009482/0.01086, allocations: 0.926 MB / 1.163 GB, free: 19.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.01129, allocations: 489.1 kB / 1.164 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.01172, allocations: 372.4 kB / 1.164 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.01183, allocations: 78.75 kB / 1.164 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.01212, allocations: 169.1 kB / 1.165 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006915/0.01281, allocations: 1.39 MB / 1.166 GB, free: 18.6 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003037/0.01311, allocations: 0.8529 MB / 1.167 GB, free: 18.01 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.0132, allocations: 52.22 kB / 1.167 GB, free: 18.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001041/0.0133, allocations: 84.08 kB / 1.167 GB, free: 17.96 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.002235/0.01554, allocations: 3.185 MB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003969/0.01593, allocations: 495 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001756/0.01769, allocations: 2.29 MB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0005296/0.01822, allocations: 377 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003288/0.02151, allocations: 3.254 MB / 1.176 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003166/0.02182, allocations: 274.3 kB / 1.176 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001535/0.02198, allocations: 175.5 kB / 1.177 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.00048/0.02246, allocations: 0.4934 MB / 1.177 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001872/0.02265, allocations: 159.1 kB / 1.177 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0005953/0.02324, allocations: 0.5771 MB / 1.178 GB, free: 11 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002376/0.02562, allocations: 1.67 MB / 1.179 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001135/0.02675, allocations: 1.198 MB / 1.181 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001128/0.02788, allocations: 0.7173 MB / 1.181 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001477/0.02936, allocations: 1.943 MB / 1.183 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.419e-05/0.02945, allocations: 59.3 kB / 1.183 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0003039/0.02975, allocations: 424.8 kB / 1.184 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.009111/0.03887, allocations: 7.749 MB / 1.191 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 6.182e-05/0.03893, allocations: 154.5 kB / 1.191 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.72e-07/0.03893, allocations: 0 / 1.191 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002222/0.03915, allocations: 151.2 kB / 1.192 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.791e-06/0.03916, allocations: 1 kB / 1.192 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.341e-05/0.03918, allocations: 75.25 kB / 1.192 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.291e-05/0.03919, allocations: 4.688 kB / 1.192 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001385/0.04058, allocations: 1.08 MB / 1.193 GB, free: 5.523 MB / 0.9044 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.536002909007948] Failed to read output from testmodel.py, exit status != 0: 0.04705119604477659 0.058363125 0.042366718000000005 Calling exit ...