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.001406/0.001406, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001633/0.001633, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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.06609/0.06609, allocations: 11.34 MB / 324.5 MB, free: 8.27 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.002246/0.002246, allocations: 67.89 kB / 452.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1159, allocations: 56.07 MB / 0.4964 GB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00397/0.1199, allocations: 2.049 MB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1226, allocations: 1.426 MB / 0.4998 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.1228, allocations: 3.938 kB / 0.4998 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.1237, allocations: 291.2 kB / 0.5001 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007391/0.1245, allocations: 247.2 kB / 0.5004 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.1252, allocations: 261.5 kB / 0.5006 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.1257, allocations: 359 kB / 0.501 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1259, allocations: 32.91 kB / 0.501 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1262, allocations: 147.5 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.1264, allocations: 159.3 kB / 0.5013 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.1265, allocations: 16 kB / 0.5013 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.1268, allocations: 115.9 kB / 0.5014 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1269, allocations: 87.67 kB / 0.5015 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.127, allocations: 119.3 kB / 0.5016 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006123/0.1277, allocations: 370.4 kB / 0.502 GB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1277, allocations: 0 / 0.502 GB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1277, allocations: 0 / 0.502 GB, free: 12.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1277, allocations: 0 / 0.502 GB, free: 12.22 MB / 382.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.697960869874805] Failed to read output from testmodel.py, exit status != 0: 0.13811166980303824 0.331151913 0.20021426 Calling exit ...