Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload") translateModel(AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104.8 kB / 16.42 MB, free: 6.484 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.0009053/0.0009052, allocations: 190 kB / 17.36 MB, free: 5.703 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08733/0.08733, allocations: 22.31 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.787e-05, allocations: 4.25 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Storage_management.Storage_tank_01_load_unload): time 0.004715/0.004764, allocations: 3.195 MB / 440.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.006798, allocations: 0.8962 MB / 441.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.007192, allocations: 8 kB / 441.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.007494, allocations: 71.28 kB / 441.8 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.008041, allocations: 170.7 kB / 442 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.008741, allocations: 195.6 kB / 442.2 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.009774, allocations: 0.7834 MB / 443 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.01045, allocations: 361 kB / 443.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005181/0.01098, allocations: 303 kB / 443.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.01158, allocations: 342.7 kB / 444 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.01178, allocations: 68 kB / 444 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.01198, allocations: 72 kB / 444.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007907/0.01278, allocations: 0.8973 MB / 445 MB, free: 4.441 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004211/0.01321, allocations: 0.5006 MB / 445.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.01341, allocations: 87.75 kB / 445.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.481e-05/0.0135, allocations: 15.94 kB / 445.6 MB, free: 3.832 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 (99) * Number of variables: 123 (103) Notification: Performance of Bindings: time 0.002668/0.01618, allocations: 2.531 MB / 448.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002328/0.01642, allocations: 119.8 kB / 448.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001736/0.01816, allocations: 1.538 MB / 449.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001608/0.01833, allocations: 95.88 kB / 449.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Alias: time 0.002817/0.02116, allocations: 2.364 MB / 452.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplify2: time 7.143e-05/0.02124, allocations: 55.92 kB / 452.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Events: time 0.0002738/0.02152, allocations: 204.1 kB / 452.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005386/0.02207, allocations: 381.8 kB / 452.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004232/0.0225, allocations: 389.6 kB / 453.3 MB, free: 11.77 MB / 334.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [DISC] (3) Boolean[3] $SEV_3[$i1] slice: {0} (1|1) Unmatched Equations *************************** [SCAL] (1) pump_circ.dp = if pump_circ.pbhi then pump_circ.pwh_b.p - psrc.p else psrc.p - pump_circ.pwh_b.p ($RES_SIM_7) slice: {}