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.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.001217/0.001217, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001395/0.001395, allocations: 219 kB / 23.03 MB, free: 4.945 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06207/0.06207, allocations: 11.35 MB / 324.6 MB, free: 8.031 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.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: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.91 kB / 451.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.102, allocations: 56.07 MB / 0.4959 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003514/0.1056, allocations: 1.967 MB / 0.4978 GB, free: 188 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.108, allocations: 1.356 MB / 0.4992 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1081, allocations: 7.938 kB / 0.4992 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.109, allocations: 311.1 kB / 0.4995 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.1097, allocations: 269.7 kB / 0.4997 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.1103, allocations: 266.2 kB / 0.5 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.1108, allocations: 378.9 kB / 0.5003 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1109, allocations: 37.2 kB / 0.5004 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.1112, allocations: 155.4 kB / 0.5005 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1114, allocations: 171.3 kB / 0.5007 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.1115, allocations: 20 kB / 0.5007 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1117, allocations: 131.8 kB / 0.5008 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.1119, allocations: 99.66 kB / 0.5009 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.112, allocations: 103.4 kB / 0.501 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.1126, allocations: 422.2 kB / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1126, allocations: 0 / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1126, allocations: 0 / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1126, allocations: 0 / 0.5014 GB, free: 12.5 MB / 382.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.5599957160884514] Failed to read output from testmodel.py, exit status != 0: 0.11990325094666332 0.298572915 0.018649569 Calling exit ...