Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.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.001645/0.001645, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001462/0.001462, allocations: 217.6 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.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.06189/0.06189, allocations: 11.33 MB / 324.6 MB, free: 8.246 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_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",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.001865/0.001865, allocations: 71.89 kB / 451.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09982, allocations: 56.06 MB / 0.496 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003314/0.1031, allocations: 2.05 MB / 0.498 GB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1055, allocations: 1.426 MB / 0.4994 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1056, allocations: 7.938 kB / 0.4994 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.1063, allocations: 283.2 kB / 0.4997 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005296/0.1069, allocations: 259.1 kB / 0.4999 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1075, allocations: 254.2 kB / 0.5002 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1079, allocations: 355 kB / 0.5005 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.108, allocations: 37.19 kB / 0.5005 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1082, allocations: 147.5 kB / 0.5007 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1084, allocations: 159.3 kB / 0.5008 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1084, allocations: 20 kB / 0.5008 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.1086, allocations: 119.8 kB / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.1087, allocations: 71.77 kB / 0.501 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1089, allocations: 127.3 kB / 0.5011 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.1093, allocations: 366.4 kB / 0.5015 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1093, allocations: 0 / 0.5015 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1093, allocations: 0 / 0.5015 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1093, allocations: 4 kB / 0.5015 GB, free: 12.68 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_OffDelay.mo:12:3-27:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime); timer.tr = if not timer.Q then timer.PV - (time - timer.startTime) else timer.PV; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.479979034047574] Failed to read output from testmodel.py, exit status != 0: 0.11606937495525926 0.28902557300000004 0.01802119 Calling exit ...