Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06369/0.06369, allocations: 11.34 MB / 317.6 MB, free: 13.75 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.91 kB / 443 MB, free: 6.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 54.88 MB / 497.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003594/0.1206, allocations: 2.034 MB / 499.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.1229, allocations: 1.305 MB / 0.4895 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.123, allocations: 7.938 kB / 0.4895 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.1238, allocations: 299.2 kB / 0.4898 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.1243, allocations: 211.2 kB / 0.49 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.1252, allocations: 344.4 kB / 0.4903 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.1257, allocations: 359 kB / 0.4907 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1258, allocations: 32.92 kB / 0.4907 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.1261, allocations: 151.5 kB / 0.4908 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1263, allocations: 167.3 kB / 0.491 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.1264, allocations: 20 kB / 0.491 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.1266, allocations: 135.8 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1268, allocations: 91.67 kB / 0.4912 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1269, allocations: 127.2 kB / 0.4914 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.1274, allocations: 398.3 kB / 0.4917 GB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1275, allocations: 8 kB / 0.4918 GB, free: 9.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1275, allocations: 0 / 0.4918 GB, free: 9.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1275, allocations: 0 / 0.4918 GB, free: 9.75 MB / 366.1 MB Error: Failed to solve equation timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/Logical/Timers/Timer_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); (timer.run, timer.Q) = IndustrialControlSystems.Logical.Timers.Functions.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV - (time - timer.startTime) else 0.0; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5166082372888923] Failed to read output from testmodel.py, exit status != 0: 0.13510379660874605 0.151772239 0.021168255 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5dcaf217b0>