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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 189.6 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.04 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.06226/0.06226, allocations: 11.34 MB / 317.6 MB, free: 13.78 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay")
translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 443 MB, free: 6.461 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.13, allocations: 54.89 MB / 497.9 MB, free: 15.46 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00429/0.1343, allocations: 2.029 MB / 499.9 MB, free: 13.42 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002637/0.1369, allocations: 1.27 MB / 0.4895 GB, free: 12.14 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.1372, allocations: 7.875 kB / 0.4895 GB, free: 12.14 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1382, allocations: 287.2 kB / 0.4897 GB, free: 11.86 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006323/0.1389, allocations: 202.8 kB / 0.4899 GB, free: 11.66 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.1399, allocations: 318.6 kB / 0.4902 GB, free: 11.35 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1404, allocations: 339.1 kB / 0.4906 GB, free: 11.02 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1406, allocations: 40.5 kB / 0.4906 GB, free: 10.98 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1409, allocations: 147.5 kB / 0.4907 GB, free: 10.83 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1412, allocations: 147.4 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.1412, allocations: 20 kB / 0.4909 GB, free: 10.67 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.1415, allocations: 115.8 kB / 0.491 GB, free: 10.55 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1416, allocations: 75.75 kB / 0.4911 GB, free: 10.48 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.1418, allocations: 123.2 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.1424, allocations: 350.6 kB / 0.4915 GB, free: 10.02 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1424, allocations: 0 / 0.4915 GB, free: 10.02 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.382e-06/0.1424, allocations: 4 kB / 0.4915 GB, free: 10.01 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.472e-05/0.1424, allocations: 0 / 0.4915 GB, free: 10.01 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_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.629617798142135]
Failed to read output from testmodel.py, exit status != 0:
0.15113543439656496 0.167902337 0.02213611
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb77670d7b0>