Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.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.BatteryComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex") translateModel(BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108.6 kB / 16.42 MB, free: 6.496 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.001057/0.001057, allocations: 195.6 kB / 17.36 MB, free: 5.75 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.161/1.161, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001917/0.001917, allocations: 274.5 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8257/0.8257, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.854e-05, allocations: 2.281 kB / 0.682 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex): time 0.003374/0.0034, allocations: 2.631 MB / 0.6846 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.005409, allocations: 1.076 MB / 0.6856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.005593, allocations: 19.81 kB / 0.6856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.005879, allocations: 75.34 kB / 0.6857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.006114, allocations: 127 kB / 0.6858 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.006588, allocations: 175.6 kB / 0.686 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.00714, allocations: 0.549 MB / 0.6865 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.007265, allocations: 40.72 kB / 0.6866 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.007531, allocations: 247 kB / 0.6868 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.007769, allocations: 215.1 kB / 0.687 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.007833, allocations: 32 kB / 0.687 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.008027, allocations: 99.95 kB / 0.6871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0004366/0.008472, allocations: 0.6261 MB / 0.6877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001878/0.008666, allocations: 374.3 kB / 0.6881 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.008732, allocations: 55.81 kB / 0.6882 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.674e-05/0.008765, allocations: 15.88 kB / 0.6882 GB, free: 0.6797 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: 49 (49) * Number of variables: 49 (49) Notification: Performance of Bindings: time 0.2266/0.2354, allocations: 1.911 MB / 0.69 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0003868/0.2358, allocations: 335.8 kB / 0.6904 GB, free: 13.8 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0009074/0.2367, allocations: 1.114 MB / 0.6914 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simplify1: time 0.0001127/0.2369, allocations: 104 kB / 0.6915 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Alias: time 0.001082/0.2379, allocations: 1.155 MB / 0.6927 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplify2: time 9.377e-05/0.238, allocations: 98.38 kB / 0.6928 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Events: time 0.0001994/0.2383, allocations: 186.5 kB / 0.6929 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Detect States: time 0.0003965/0.2387, allocations: 422.7 kB / 0.6934 GB, free: 13 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0003241/0.239, allocations: 344.7 kB / 0.6937 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Causalize: time 0.001409/0.2404, allocations: 1.403 MB / 0.695 GB, free: 12.34 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007738/0.2412, allocations: 0.9015 MB / 0.6959 GB, free: 11.84 MB / 494.1 MB Error: Internal error NBInitialization.main failed to apply modules!