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.001314/0.001314, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001407/0.001407, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.075/0.075, allocations: 11.32 MB / 320.2 MB, free: 9.402 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",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.002001/0.002001, allocations: 67.91 kB / 445.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 56.02 MB / 0.4901 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003806/0.1236, allocations: 2.044 MB / 0.4921 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.1262, allocations: 1.434 MB / 0.4935 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.1264, allocations: 11.88 kB / 0.4935 GB, free: 2.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.1273, allocations: 302.2 kB / 0.4938 GB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.1279, allocations: 259.1 kB / 0.494 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1286, allocations: 262.4 kB / 0.4943 GB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.1291, allocations: 379 kB / 0.4946 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1292, allocations: 32.95 kB / 0.4946 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.1294, allocations: 163.4 kB / 0.4948 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1296, allocations: 167.3 kB / 0.495 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1297, allocations: 20 kB / 0.495 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1299, allocations: 131.8 kB / 0.4951 GB, free: 416 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1301, allocations: 95.66 kB / 0.4952 GB, free: 320 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1302, allocations: 127.2 kB / 0.4953 GB, free: 192 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.1308, allocations: 418.2 kB / 0.4957 GB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1308, allocations: 4 kB / 0.4957 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1308, allocations: 4 kB / 0.4957 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1308, allocations: 0 / 0.4957 GB, free: 15.77 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.6704083279910265] Failed to read output from testmodel.py, exit status != 0: 0.1382912630069768 0.16348231499999996 0.027681033 Calling exit ...