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.001349/0.001349, allocations: 79.94 kB / 19.18 MB, free: 2.527 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.001638/0.001638, allocations: 164.9 kB / 22.46 MB, free: 5.359 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.09388/0.09388, allocations: 8.607 MB / 267.8 MB, free: 8.578 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.075e-05, allocations: 6.281 kB / 395.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003709/0.00374, allocations: 1.955 MB / 397.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.006489, allocations: 1.344 MB / 398.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.006621, allocations: 4 kB / 398.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.007642, allocations: 291 kB / 399.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.008258, allocations: 250.9 kB / 399.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000687/0.008945, allocations: 262.5 kB / 399.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004644/0.009409, allocations: 363 kB / 400 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.009556, allocations: 32.91 kB / 400.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.009832, allocations: 195.5 kB / 400.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.01007, allocations: 131.6 kB / 400.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.01011, allocations: 16 kB / 400.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.01034, allocations: 111.8 kB / 400.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.01047, allocations: 87.67 kB / 400.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.01057, allocations: 71.7 kB / 400.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.01114, allocations: 382.8 kB / 401 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01114, allocations: 0 / 401 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01114, allocations: 4 kB / 401 MB, free: 1.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.01115, allocations: 0 / 401 MB, free: 1.191 MB / 318.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.4591197073459625] Failed to read output from testmodel.py, exit status != 0: 0.020149752497673035 0.034694845 0.020334861000000003 Calling exit ...