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.001213/0.001213, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001356/0.001356, allocations: 218 kB / 23.03 MB, free: 4.922 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.06171/0.06171, allocations: 11.33 MB / 324.6 MB, free: 8.047 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.001905/0.001905, allocations: 67.91 kB / 451.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/0.09975, allocations: 56.07 MB / 0.4959 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003236/0.103, allocations: 1.958 MB / 0.4978 GB, free: 204 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1054, allocations: 1.337 MB / 0.4991 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1055, allocations: 4 kB / 0.4991 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.1064, allocations: 290.2 kB / 0.4994 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.1069, allocations: 259.1 kB / 0.4997 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.1075, allocations: 261.6 kB / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.1079, allocations: 355.1 kB / 0.5003 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.108, allocations: 33.19 kB / 0.5003 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1082, allocations: 147.4 kB / 0.5004 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1084, allocations: 159.3 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.1085, allocations: 20 kB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.1087, allocations: 115.9 kB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1088, allocations: 79.69 kB / 0.5008 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1089, allocations: 95.39 kB / 0.5009 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1093, allocations: 374.5 kB / 0.5012 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1093, allocations: 0 / 0.5012 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1093, allocations: 3.938 kB / 0.5012 GB, free: 12.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1093, allocations: 0 / 0.5012 GB, free: 12.7 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.5328104170039296] Failed to read output from testmodel.py, exit status != 0: 0.1169841910013929 0.294609644 0.018446278 Calling exit ...