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.001128/0.001128, allocations: 104.8 kB / 16.42 MB, free: 6.043 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.0008795/0.0008795, allocations: 195.2 kB / 17.36 MB, free: 5.598 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.123/1.123, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 280.6 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8085/0.8085, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.183e-05, allocations: 4.109 kB / 0.682 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple): time 0.002164/0.002185, allocations: 1.939 MB / 0.6839 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003264, allocations: 0.8698 MB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.003348, allocations: 7.875 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.00353, allocations: 55.62 kB / 0.6848 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.003622, allocations: 47.61 kB / 0.6848 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.003859, allocations: 91.7 kB / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.004069, allocations: 215.3 kB / 0.6851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.004151, allocations: 17.38 kB / 0.6851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.00428, allocations: 95.62 kB / 0.6852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.004389, allocations: 75.67 kB / 0.6853 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004414, allocations: 8 kB / 0.6853 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.004565, allocations: 91.89 kB / 0.6854 GB, free: 3.578 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001646/0.004736, allocations: 253.2 kB / 0.6856 GB, free: 3.328 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.788e-05/0.004809, allocations: 149.8 kB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.004843, allocations: 19.94 kB / 0.6858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.434e-05/0.004862, allocations: 7.938 kB / 0.6858 GB, free: 3.152 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.000669/0.005535, allocations: 0.8605 MB / 0.6867 GB, free: 2.188 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001405/0.005681, allocations: 102.5 kB / 0.6867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0003154/0.006003, allocations: 412 kB / 0.6871 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simplify1: time 3.954e-05/0.006049, allocations: 35.97 kB / 0.6872 GB, free: 1.629 MB / 494.1 MB Notification: Performance of Alias: time 0.0005159/0.00657, allocations: 468.2 kB / 0.6876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simplify2: time 3.552e-05/0.006615, allocations: 31.95 kB / 0.6877 GB, free: 1.055 MB / 494.1 MB Notification: Performance of Events: time 8.922e-05/0.006709, allocations: 63.94 kB / 0.6877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of Detect States: time 0.000187/0.006902, allocations: 167.9 kB / 0.6879 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001247/0.007035, allocations: 125.2 kB / 0.688 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004729/0.007514, allocations: 477.7 kB / 0.6884 GB, free: 220 kB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.2239/0.2314, allocations: 325.8 kB / 0.6888 GB, free: 14.48 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!