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.001748/0.001748, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002324/0.002324, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 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.06642/0.06642, allocations: 11.33 MB / 323.8 MB, free: 8.016 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.001915/0.001915, allocations: 67.89 kB / 451.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1431, allocations: 56.06 MB / 0.4956 GB, free: 1.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00408/0.1471, allocations: 1.969 MB / 0.4976 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1499, allocations: 1.341 MB / 0.4989 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1501, allocations: 3.938 kB / 0.4989 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.1509, allocations: 287.2 kB / 0.4991 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.1516, allocations: 265.6 kB / 0.4994 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.1523, allocations: 247.4 kB / 0.4996 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1527, allocations: 359.1 kB / 0.5 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1528, allocations: 28.92 kB / 0.5 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.153, allocations: 147.4 kB / 0.5001 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1533, allocations: 155.3 kB / 0.5003 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.1533, allocations: 16 kB / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1536, allocations: 111.9 kB / 0.5004 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1537, allocations: 79.69 kB / 0.5005 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1538, allocations: 95.39 kB / 0.5006 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.1543, allocations: 370.5 kB / 0.5009 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1543, allocations: 0 / 0.5009 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1543, allocations: 0 / 0.5009 GB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1543, allocations: 0 / 0.5009 GB, free: 12.18 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: 3.126366103067994] Failed to read output from testmodel.py, exit status != 0: 0.1630277894437313 0.44796369 0.289731523 Calling exit ...