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.001732/0.001732, allocations: 84.59 kB / 19.96 MB, free: 1.758 MB / 14.72 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.002246/0.002246, allocations: 164.3 kB / 23.23 MB, free: 4.883 MB / 14.72 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 1.496/1.496, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1241/0.1241, allocations: 18.13 MB / 278.1 MB, free: 15.07 MB / 270.1 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 2.365e-06/2.365e-06, allocations: 0 / 415.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.342e-05, allocations: 8.891 kB / 415.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003598/0.003631, allocations: 1.801 MB / 417.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.006813, allocations: 1.818 MB / 419.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/0.007157, allocations: 15.88 kB / 419.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.00777, allocations: 170.7 kB / 419.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.008548, allocations: 234.8 kB / 419.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.009749, allocations: 0.5495 MB / 420.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009592/0.01071, allocations: 0.7769 MB / 420.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.01097, allocations: 114 kB / 421 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.01137, allocations: 307.1 kB / 421.3 MB, free: 12.79 MB / 350.1 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.000484/0.01186, allocations: 327 kB / 421.7 MB, free: 12.47 MB / 350.1 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4842671640217304] Failed to read output from testmodel.py, exit status != 0: 0.0208902545273304 0.035448860000000006 -1.0 Calling exit ...