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.001453/0.001453, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00166/0.00166, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.06049/0.06049, allocations: 11.34 MB / 324.6 MB, free: 8.195 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.001838/0.001838, allocations: 59.91 kB / 451.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09711, allocations: 56.07 MB / 0.496 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003154/0.1003, allocations: 2.052 MB / 0.498 GB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1025, allocations: 1.454 MB / 0.4994 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1026, allocations: 11.88 kB / 0.4994 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.1033, allocations: 314.1 kB / 0.4997 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.1038, allocations: 259.1 kB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.1044, allocations: 274.8 kB / 0.5002 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.1048, allocations: 375 kB / 0.5006 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1049, allocations: 37.19 kB / 0.5006 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1051, allocations: 155.4 kB / 0.5008 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1053, allocations: 171.3 kB / 0.5009 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.1053, allocations: 20 kB / 0.501 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.1056, allocations: 139.8 kB / 0.5011 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1057, allocations: 91.69 kB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1058, allocations: 131.2 kB / 0.5013 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1063, allocations: 426.2 kB / 0.5017 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1063, allocations: 0 / 0.5017 GB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1063, allocations: 0 / 0.5017 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1063, allocations: 0 / 0.5017 GB, free: 12.41 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.4619967410108075] Failed to read output from testmodel.py, exit status != 0: 0.1128881829790771 0.27805659699999996 0.017742527 Calling exit ...