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.001363/0.001363, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001474/0.001474, allocations: 216.9 kB / 23.01 MB, free: 4.602 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.06353/0.06353, allocations: 11.33 MB / 324.5 MB, free: 8.363 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: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") [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.00326/0.00326, allocations: 69.94 kB / 452.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.129, allocations: 56.07 MB / 0.4964 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003695/0.1326, allocations: 2.06 MB / 0.4985 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1352, allocations: 1.456 MB / 0.4999 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1354, allocations: 3.938 kB / 0.4999 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.1363, allocations: 315.1 kB / 0.5002 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006353/0.1369, allocations: 266 kB / 0.5004 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.1377, allocations: 274.7 kB / 0.5007 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.1382, allocations: 379 kB / 0.5011 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1383, allocations: 32.91 kB / 0.5011 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1385, allocations: 163.4 kB / 0.5012 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.1388, allocations: 171.3 kB / 0.5014 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.1388, allocations: 20 kB / 0.5014 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1391, allocations: 131.9 kB / 0.5016 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1392, allocations: 95.61 kB / 0.5016 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1394, allocations: 127.2 kB / 0.5018 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.1399, allocations: 426.2 kB / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1399, allocations: 0 / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1399, allocations: 0 / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1399, allocations: 0 / 0.5022 GB, free: 12.07 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.7475852130446583] Failed to read output from testmodel.py, exit status != 0: 0.15160639607347548 0.338331459 0.195258656 Calling exit ...