Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.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.001359/0.001359, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.00162/0.00162, allocations: 211 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 207.7 MB / 235.4 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3959/0.3959, allocations: 49.61 MB / 337.3 MB, free: 3.836 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.183e-05, allocations: 2.281 kB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator): time 0.6403/0.6404, allocations: 227.1 MB / 0.6883 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02934/0.6697, allocations: 16.8 MB / 0.7047 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.6724, allocations: 51.56 kB / 0.7047 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.6753, allocations: 0.9165 MB / 0.7056 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.6799, allocations: 1.547 MB / 0.7072 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.02388/0.7037, allocations: 7.999 MB / 0.715 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.7138, allocations: 6.019 MB / 0.7208 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.7168, allocations: 1.463 MB / 0.7223 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.722, allocations: 2.252 MB / 0.7245 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.7257, allocations: 1.658 MB / 0.7261 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006658/0.7263, allocations: 272 kB / 0.7263 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01491/0.7413, allocations: 6.987 MB / 0.7332 GB, free: 14.47 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.006634/0.7479, allocations: 4.838 MB / 0.7379 GB, free: 9.598 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.003862/0.7518, allocations: 2.802 MB / 0.7406 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.7525, allocations: 188 kB / 0.7408 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0003955/0.7529, allocations: 51.81 kB / 0.7409 GB, free: 6.531 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if DigitalPI1.CSwind > DigitalPI1.CSmax then DigitalPI1.CS = DigitalPI1.CSmax; DigitalPI1.e_int = (DigitalPI1.CS / DigitalPI1.Kp - DigitalPI1.e) * DigitalPI1.Ti; elseif DigitalPI1.CSwind < DigitalPI1.CSmin then DigitalPI1.CS = DigitalPI1.CSmin; DigitalPI1.e_int = (DigitalPI1.CS / DigitalPI1.Kp - DigitalPI1.e) * DigitalPI1.Ti; elseif true then DigitalPI1.CS = DigitalPI1.CSwind; DigitalPI1.e_int = DigitalPI1.e_int_wind; end if " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.4085248509654775] Failed to read output from testmodel.py, exit status != 0: 1.1895702900364995 1.204490498 0.447996921 Calling exit ...