Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Technologies.ElectricalStorages.Examples.BatterySimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple") translateModel(BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 106.2 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 187.2 kB / 17.35 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 292.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9982/0.9982, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.779e-05/3.781e-05, allocations: 2.281 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple): time 0.003112/0.003159, allocations: 1.935 MB / 0.6839 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.00464, allocations: 0.8698 MB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.004735, allocations: 0 / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.004977, allocations: 55.62 kB / 0.6848 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.005111, allocations: 55.56 kB / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.005421, allocations: 91.75 kB / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.005683, allocations: 207.3 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.0058, allocations: 25.42 kB / 0.6852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.00598, allocations: 95.56 kB / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.006104, allocations: 75.67 kB / 0.6853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.00614, allocations: 12 kB / 0.6853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.006336, allocations: 79.95 kB / 0.6854 GB, free: 3.535 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002166/0.00656, allocations: 253.2 kB / 0.6856 GB, free: 3.285 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 9.36e-05/0.006663, allocations: 161.7 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.006702, allocations: 15.94 kB / 0.6858 GB, free: 3.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.202e-05/0.00673, allocations: 7.938 kB / 0.6858 GB, free: 3.102 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0008972/0.007632, allocations: 0.8566 MB / 0.6867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001836/0.007822, allocations: 95.77 kB / 0.6867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of Early Inline: time 0.000392/0.008221, allocations: 416 kB / 0.6871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simplify1: time 3.906e-05/0.008267, allocations: 31.95 kB / 0.6872 GB, free: 1.586 MB / 494.1 MB Notification: Performance of Alias: time 0.0006929/0.008966, allocations: 480.1 kB / 0.6876 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simplify2: time 3.881e-05/0.009016, allocations: 39.95 kB / 0.6877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002433/0.009264, allocations: 162 kB / 0.6878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of Events: time 9.963e-05/0.009373, allocations: 47.95 kB / 0.6879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001439/0.009525, allocations: 125.6 kB / 0.688 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005538/0.01008, allocations: 481.5 kB / 0.6885 GB, free: 176 kB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.4422/0.4523, allocations: 327.6 kB / 0.6888 GB, free: 14.48 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!