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.001434/0.001434, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001579/0.001579, allocations: 173 kB / 23.49 MB, free: 1.059 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.9254/0.9254, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.06508/0.06508, allocations: 8.612 MB / 268.9 MB, free: 4.965 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.332e-06/1.332e-06, allocations: 0 / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.326e-05, allocations: 2.312 kB / 340.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002388/0.002411, allocations: 2.044 MB / 342.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003935, allocations: 1.364 MB / 344.3 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.004093, allocations: 7.938 kB / 344.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.004721, allocations: 283.1 kB / 344.6 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.005095, allocations: 262.9 kB / 344.8 MB, free: 4.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.005518, allocations: 251.2 kB / 345.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.005807, allocations: 359 kB / 345.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.005927, allocations: 40.84 kB / 345.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.006104, allocations: 195.5 kB / 345.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.006245, allocations: 131.7 kB / 345.8 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.006273, allocations: 20 kB / 345.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.006426, allocations: 111.8 kB / 345.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.006509, allocations: 83.69 kB / 346 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.00658, allocations: 71.77 kB / 346.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.006902, allocations: 278.9 kB / 346.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006905, allocations: 0 / 346.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.006907, allocations: 4 kB / 346.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.006917, allocations: 4 kB / 346.4 MB, free: 3.215 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: 1.630623442819342]