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.002084/0.002084, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002547/0.002547, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.0725/0.0725, allocations: 8.615 MB / 268.2 MB, free: 4.953 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.382e-06/1.382e-06, allocations: 0 / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.367e-05, allocations: 2.312 kB / 340.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002757/0.00278, allocations: 2.024 MB / 342.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.004591, allocations: 1.348 MB / 343.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.004696, allocations: 7.938 kB / 343.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.005437, allocations: 291 kB / 343.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.005914, allocations: 255 kB / 344.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.006376, allocations: 251.2 kB / 344.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.006661, allocations: 366.9 kB / 344.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.00677, allocations: 36.89 kB / 344.7 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.006965, allocations: 191.5 kB / 344.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.007113, allocations: 123.7 kB / 345 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.00715, allocations: 20 kB / 345 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.007337, allocations: 123.7 kB / 345.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.007437, allocations: 83.73 kB / 345.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.007517, allocations: 71.72 kB / 345.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.007864, allocations: 374.8 kB / 345.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.007867, allocations: 0 / 345.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.007868, allocations: 0 / 345.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.007873, allocations: 0 / 345.7 MB, free: 3.18 MB / 266.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: 2.3848466059425846]