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.0009603/0.0009603, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009428/0.0009428, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.03776/0.03776, allocations: 8.612 MB / 268.9 MB, free: 4.754 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 341.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.683e-05, allocations: 2.312 kB / 341.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002542/0.002559, allocations: 2.021 MB / 343.3 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.004076, allocations: 1.356 MB / 344.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004177, allocations: 7.938 kB / 344.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.00475, allocations: 291.1 kB / 345 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.005094, allocations: 258.9 kB / 345.2 MB, free: 5.219 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.005432, allocations: 251.2 kB / 345.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.005692, allocations: 363 kB / 345.8 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.00579, allocations: 32.86 kB / 345.9 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.005958, allocations: 195.5 kB / 346.1 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.006091, allocations: 135.6 kB / 346.2 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.006118, allocations: 20 kB / 346.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.006264, allocations: 115.8 kB / 346.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.00634, allocations: 83.67 kB / 346.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.006398, allocations: 63.78 kB / 346.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.006655, allocations: 283 kB / 346.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006657, allocations: 0 / 346.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006657, allocations: 0 / 346.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.006661, allocations: 0 / 346.7 MB, free: 3.711 MB / 314.7 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: 1.705755443777889]