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.001875/0.001875, allocations: 81.39 kB / 19.76 MB, free: 2.027 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.002324/0.002324, allocations: 161.2 kB / 23.02 MB, free: 4.945 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.06115/0.06115, allocations: 8.619 MB / 268.4 MB, free: 8.531 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_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: 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.003393/0.003393, allocations: 67.91 kB / 396.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1531, allocations: 56.05 MB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.006384/0.1594, allocations: 1.978 MB / 454.1 MB, free: 13.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.1636, allocations: 1.333 MB / 455.4 MB, free: 12.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1638, allocations: 7.938 kB / 455.4 MB, free: 12.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.1651, allocations: 291.1 kB / 455.7 MB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009998/0.1661, allocations: 251.1 kB / 456 MB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1672, allocations: 260.3 kB / 456.2 MB, free: 11.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.1679, allocations: 359.1 kB / 456.6 MB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1681, allocations: 28.92 kB / 456.6 MB, free: 11.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.1684, allocations: 151.4 kB / 456.7 MB, free: 11.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.1688, allocations: 151.3 kB / 456.9 MB, free: 10.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.1689, allocations: 20 kB / 456.9 MB, free: 10.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.1693, allocations: 107.9 kB / 457 MB, free: 10.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1694, allocations: 83.67 kB / 457.1 MB, free: 10.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.1696, allocations: 91.41 kB / 457.2 MB, free: 10.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007954/0.1704, allocations: 374.5 kB / 457.6 MB, free: 10.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1704, allocations: 0 / 457.6 MB, free: 10.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1704, allocations: 0 / 457.6 MB, free: 10.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1705, allocations: 0 / 457.6 MB, free: 10.32 MB / 430.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.5699731070781127] Failed to read output from testmodel.py, exit status != 0: 0.1833603159757331 0.20667600699999994 0.031178898000000003 Calling exit ...