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.0008446/0.0008446, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009031/0.0009031, allocations: 173 kB / 23.36 MB, free: 1.133 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.9008/0.9008, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.03697/0.03697, allocations: 8.619 MB / 268.9 MB, free: 4.781 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.152e-06/1.152e-06, allocations: 0 / 288.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.105e-05, allocations: 6.312 kB / 288.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.09926/0.09927, allocations: 2.017 MB / 290.1 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.101, allocations: 1.375 MB / 291.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1011, allocations: 7.234 kB / 291.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.1018, allocations: 288 kB / 291.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.1023, allocations: 253.3 kB / 292 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1028, allocations: 266 kB / 292.3 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.1032, allocations: 362.1 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1033, allocations: 32.11 kB / 292.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1035, allocations: 194.6 kB / 292.8 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1037, allocations: 130.9 kB / 293 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.1037, allocations: 19.66 kB / 293 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1039, allocations: 112 kB / 293.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.104, allocations: 83.02 kB / 293.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.1041, allocations: 71.16 kB / 293.2 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.1045, allocations: 280.8 kB / 293.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1045, allocations: 1.156 kB / 293.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1045, allocations: 0.9688 kB / 293.5 MB, free: 18.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1045, allocations: 0 / 293.5 MB, free: 18.08 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.4789695548824966]