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.001283/0.001283, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001346/0.001346, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.425/1.425, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.06277/0.06277, allocations: 11.34 MB / 320.9 MB, free: 14.1 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: 67.53 kB / 446.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08982, allocations: 56.01 MB / 0.4908 GB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002621/0.09244, allocations: 2.037 MB / 0.4928 GB, free: 1.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.09416, allocations: 1.438 MB / 0.4942 GB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.09427, allocations: 3.938 kB / 0.4942 GB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008489/0.09512, allocations: 310 kB / 0.4945 GB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.09565, allocations: 251.1 kB / 0.4947 GB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.09629, allocations: 265.4 kB / 0.4949 GB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.09671, allocations: 379 kB / 0.4953 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.09683, allocations: 33.02 kB / 0.4953 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.09703, allocations: 159.4 kB / 0.4955 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.09724, allocations: 167.3 kB / 0.4957 GB, free: 14.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.09728, allocations: 23.94 kB / 0.4957 GB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.0975, allocations: 127.8 kB / 0.4958 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.09762, allocations: 95.67 kB / 0.4959 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.09775, allocations: 139.1 kB / 0.496 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.09826, allocations: 414.4 kB / 0.4964 GB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09826, allocations: 0 / 0.4964 GB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09826, allocations: 0 / 0.4964 GB, free: 13.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09827, allocations: 0 / 0.4964 GB, free: 13.64 MB / 366.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.537588428996969] Failed to read output from testmodel.py, exit status != 0: 0.10509440099122003 0.119034895 0.018049173 Calling exit ...