Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.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.001123/0.001123, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.001168/0.001168, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8827/0.8827, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.03352/0.03352, allocations: 8.611 MB / 268.5 MB, free: 5.125 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_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 396.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.13e-05, allocations: 2.281 kB / 396.3 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002244/0.002265, allocations: 1.975 MB / 398.3 MB, free: 208 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003789, allocations: 1.36 MB / 399.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.00389, allocations: 7.938 kB / 399.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.004516, allocations: 309 kB / 400 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.004875, allocations: 274.9 kB / 400.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.005244, allocations: 266.8 kB / 400.5 MB, free: 14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.005525, allocations: 379 kB / 400.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.005639, allocations: 44.75 kB / 400.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.005814, allocations: 207.5 kB / 401.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.005955, allocations: 143.6 kB / 401.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.005981, allocations: 24 kB / 401.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.00614, allocations: 127.8 kB / 401.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.00622, allocations: 91.67 kB / 401.5 MB, free: 13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.006289, allocations: 79.7 kB / 401.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.006658, allocations: 422.6 kB / 402 MB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00666, allocations: 0 / 402 MB, free: 12.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006661, allocations: 0 / 402 MB, free: 12.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.006667, allocations: 7.938 kB / 402 MB, free: 12.5 MB / 378.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_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); 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.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV - (time - timer.startTime) else 0.0; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6296832477673888] Failed to read output from testmodel.py, exit status != 0: 0.011751147918403149 0.019599387000000003 0.011063499000000001 Calling exit ...