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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001118, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06906/0.06906, allocations: 10.75 MB / 27.48 MB, free: 1.875 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 235.7 MB, free: 11.74 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009836/0.0009835, allocations: 111.1 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.92 kB / 345.3 MB, free: 0.9805 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2092, allocations: 49.01 MB / 394.3 MB, free: 35.57 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002938/0.2122, allocations: 2.048 MB / 396.4 MB, free: 33.51 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2138, allocations: 1.164 MB / 397.5 MB, free: 32.34 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.2139, allocations: 4 kB / 397.5 MB, free: 32.34 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.2146, allocations: 267.4 kB / 397.8 MB, free: 32.07 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.215, allocations: 175.5 kB / 398 MB, free: 31.9 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.2156, allocations: 260.6 kB / 398.2 MB, free: 31.65 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2159, allocations: 343.1 kB / 398.5 MB, free: 31.32 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.216, allocations: 48.38 kB / 398.6 MB, free: 31.27 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.2161, allocations: 119.5 kB / 398.7 MB, free: 31.15 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2163, allocations: 143.4 kB / 398.8 MB, free: 31.01 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2163, allocations: 8 kB / 398.9 MB, free: 31 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2165, allocations: 83.89 kB / 398.9 MB, free: 30.92 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.2166, allocations: 67.8 kB / 399 MB, free: 30.86 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.2167, allocations: 111.2 kB / 399.1 MB, free: 30.75 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.217, allocations: 341 kB / 399.4 MB, free: 30.41 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.217, allocations: 0 / 399.4 MB, free: 30.41 MB / 298.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.217, allocations: 0 / 399.4 MB, free: 30.41 MB / 298.8 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.217, allocations: 4 kB / 399.4 MB, free: 30.41 MB / 298.8 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 1.1.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;