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.0008712/0.0008712, allocations: 93.06 kB / 19.65 MB, free: 276 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.0008796/0.0008796, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.95/0.95, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.03642/0.03642, allocations: 8.604 MB / 268.6 MB, free: 4.902 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.312e-06/1.312e-06, allocations: 0 / 340.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.316e-05, allocations: 4.844 kB / 340.9 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002575/0.002598, allocations: 2.05 MB / 342.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.00436, allocations: 1.364 MB / 344.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.004492, allocations: 4 kB / 344.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.005248, allocations: 295 kB / 344.6 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.005677, allocations: 254.9 kB / 344.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.006132, allocations: 259.2 kB / 345.1 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.006471, allocations: 363 kB / 345.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.006584, allocations: 36.84 kB / 345.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.006791, allocations: 191.5 kB / 345.7 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.00693, allocations: 131.7 kB / 345.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.00696, allocations: 20 kB / 345.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.007129, allocations: 111.8 kB / 345.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.237e-05/0.007212, allocations: 83.69 kB / 346 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.007282, allocations: 71.77 kB / 346.1 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.007604, allocations: 278.9 kB / 346.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.007608, allocations: 4 kB / 346.3 MB, free: 3.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007609, allocations: 4 kB / 346.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.007613, allocations: 0 / 346.3 MB, free: 3.941 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.681959864217788]