Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00149/0.00149, 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.00162/0.00162, allocations: 220.4 kB / 23.07 MB, free: 4.848 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.369/1.369, allocations: 230.7 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.513/2.513, allocations: 476 MB / 0.7708 GB, free: 4.652 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.DC.Storage.Examples.Battery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/1.922e-05, allocations: 2.281 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.004804/0.004823, allocations: 4.106 MB / 1.122 GB, free: 40.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.007461, allocations: 1.927 MB / 1.124 GB, free: 40.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.007681, allocations: 22.47 kB / 1.124 GB, free: 40.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009579/0.008639, allocations: 397.7 kB / 1.124 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.009064, allocations: 240 kB / 1.124 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.009749, allocations: 451.9 kB / 1.125 GB, free: 40.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.01056, allocations: 1.209 MB / 1.126 GB, free: 39.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008702/0.01143, allocations: 0.9198 MB / 1.127 GB, free: 39.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.0118, allocations: 489.6 kB / 1.127 GB, free: 38.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.01218, allocations: 373.5 kB / 1.128 GB, free: 38.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.527e-05/0.01227, allocations: 78.47 kB / 1.128 GB, free: 38.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.01249, allocations: 167.8 kB / 1.128 GB, free: 38.79 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0006711/0.01316, allocations: 1.381 MB / 1.129 GB, free: 37.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.00032/0.01348, allocations: 0.8486 MB / 1.13 GB, free: 37.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.01357, allocations: 49.88 kB / 1.13 GB, free: 37.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001156/0.01368, allocations: 88.16 kB / 1.13 GB, free: 37.3 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.002219/0.0159, allocations: 3.199 MB / 1.133 GB, free: 35.36 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.000366/0.01627, allocations: 485.5 kB / 1.134 GB, free: 35.11 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001517/0.01778, allocations: 2.303 MB / 1.136 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004784/0.01826, allocations: 370 kB / 1.137 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003039/0.0213, allocations: 3.251 MB / 1.14 GB, free: 31.77 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002908/0.02159, allocations: 270.8 kB / 1.14 GB, free: 31.61 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001438/0.02174, allocations: 179.5 kB / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004558/0.02219, allocations: 0.4886 MB / 1.141 GB, free: 31.15 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001977/0.02239, allocations: 166 kB / 1.141 GB, free: 31.07 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000518/0.02291, allocations: 0.5767 MB / 1.141 GB, free: 30.81 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001666/0.02457, allocations: 1.673 MB / 1.143 GB, free: 30.43 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006869/0.02526, allocations: 1.189 MB / 1.144 GB, free: 29.78 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.000889/0.02615, allocations: 0.7207 MB / 1.145 GB, free: 29.34 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001157/0.02731, allocations: 1.948 MB / 1.147 GB, free: 28.21 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.014e-05/0.0274, allocations: 55.28 kB / 1.147 GB, free: 28.18 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002374/0.02763, allocations: 419.8 kB / 1.147 GB, free: 27.91 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.009971/0.03761, allocations: 7.757 MB / 1.155 GB, free: 26 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.644e-05/0.03769, allocations: 150.4 kB / 1.155 GB, free: 25.89 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.51e-07/0.03769, allocations: 1.188 kB / 1.155 GB, free: 25.89 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002705/0.03796, allocations: 159.9 kB / 1.155 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 7.354e-06/0.03797, allocations: 2.188 kB / 1.155 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.625e-05/0.038, allocations: 75 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.468e-05/0.03801, allocations: 8.688 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001411/0.03942, allocations: 1.064 MB / 1.156 GB, free: 25.38 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 299] [Calling sys.exit(0), Time elapsed: 5.833173207996879] Failed to read output from testmodel.py, exit status != 0: 0.5320136049995199 0.0575017 0.041367234 Calling exit ...