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.0006539/0.0006539, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0008271/0.0008271, allocations: 165.6 kB / 23.98 MB, free: 0.582 MB / 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.8356/0.8356, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.05961/0.05961, allocations: 18.12 MB / 278.8 MB, free: 11.55 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.673e-06/1.673e-06, allocations: 0 / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.267e-05, allocations: 3.219 kB / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.002192/0.002224, allocations: 1.794 MB / 418.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.004236, allocations: 1.83 MB / 419.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.00441, allocations: 18.69 kB / 420 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.004828, allocations: 177.2 kB / 420.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.005266, allocations: 229.6 kB / 420.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.005906, allocations: 0.5408 MB / 420.9 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.006456, allocations: 0.7741 MB / 421.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.006633, allocations: 111.6 kB / 421.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.006893, allocations: 308 kB / 422.1 MB, free: 9.039 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.0003475/0.00724, allocations: 337.1 kB / 422.4 MB, free: 8.926 MB / 330.7 MB " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.7313577914610505] Failed to read output from testmodel.py, exit status != 0: 0.011575032956898212 0.019948332000000003 -1.0 Calling exit ...