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.001563/0.001563, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001412/0.001412, allocations: 216.7 kB / 22.26 MB, free: 5.121 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.988 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.09256/0.09256, allocations: 11.34 MB / 323.8 MB, free: 8.223 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",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.002049/0.002049, allocations: 63.91 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1235, allocations: 56.07 MB / 0.4952 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.004098/0.1276, allocations: 2.045 MB / 0.4972 GB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1302, allocations: 1.43 MB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1303, allocations: 7.938 kB / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.1313, allocations: 283.2 kB / 0.4989 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006518/0.1319, allocations: 255.1 kB / 0.4991 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.1327, allocations: 258.7 kB / 0.4994 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.1331, allocations: 363 kB / 0.4997 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1333, allocations: 33.19 kB / 0.4998 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1335, allocations: 143.5 kB / 0.4999 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1337, allocations: 167.3 kB / 0.5001 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1338, allocations: 20 kB / 0.5001 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.134, allocations: 115.8 kB / 0.5002 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1341, allocations: 83.73 kB / 0.5003 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1343, allocations: 115.3 kB / 0.5004 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.1347, allocations: 366.4 kB / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1348, allocations: 4 kB / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1348, allocations: 0 / 0.5007 GB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1348, allocations: 0 / 0.5007 GB, free: 12.67 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.752933335999842] Failed to read output from testmodel.py, exit status != 0: 0.14248569699702784 0.35394435999999996 0.021271268000000003 Calling exit ...