Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.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.0007381/0.0007381, allocations: 75.59 kB / 20.8 MB, free: 3.711 MB / 18.57 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.0008554/0.0008554, allocations: 166 kB / 24.09 MB, free: 424 kB / 18.57 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 0.8912/0.8912, allocations: 177.1 MB / 204.4 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06406/0.06406, allocations: 18.13 MB / 279 MB, free: 11.47 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.893e-05, allocations: 2.281 kB / 416.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.00292/0.002949, allocations: 1.794 MB / 418.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.005713, allocations: 1.833 MB / 420.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.006058, allocations: 14.34 kB / 420.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.006609, allocations: 173.2 kB / 420.4 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.007279, allocations: 230.8 kB / 420.6 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.008402, allocations: 0.5398 MB / 421.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.009135, allocations: 0.7744 MB / 421.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.009324, allocations: 111.6 kB / 422 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.009657, allocations: 315.4 kB / 422.3 MB, free: 8.824 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Continuous.mo:1157:7-1157:40:writable] Error: Type mismatch in equation der(D.Fcs2.x_scaled[2:D.Fcs2.nx]) = zeros(D.Fcs2.nx - 1) of type Real[0] = Integer[-1]. Notification: Performance of FrontEnd: time 0.0003992/0.01006, allocations: 337.8 kB / 422.6 MB, free: 8.711 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8229208709672093] Failed to read output from testmodel.py, exit status != 0: 0.016142449341714382 0.024440718 -1.0 Calling exit ...