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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 105.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06394/0.06394, allocations: 11.21 MB / 302.3 MB, free: 4.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 59.91 kB / 365.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1917, allocations: 51.97 MB / 417.2 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002808/0.1945, allocations: 1.994 MB / 419.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1962, allocations: 1.255 MB / 420.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1964, allocations: 7.938 kB / 420.5 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.1971, allocations: 275.9 kB / 420.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1975, allocations: 193.9 kB / 421 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.1982, allocations: 316.1 kB / 421.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.1985, allocations: 343.2 kB / 421.6 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1987, allocations: 48.39 kB / 421.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1988, allocations: 147.4 kB / 421.8 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.199, allocations: 135.4 kB / 421.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.199, allocations: 16 kB / 421.9 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1992, allocations: 107.9 kB / 422 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.1993, allocations: 67.83 kB / 422.1 MB, free: 17.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.1994, allocations: 131.3 kB / 422.2 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.1997, allocations: 344.8 kB / 422.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1998, allocations: 3.984 kB / 422.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1998, allocations: 0 / 422.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1998, allocations: 3.938 kB / 422.6 MB, free: 17.16 MB / 302.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-master/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;