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.0009866/0.0009866, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001085/0.001085, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.03797/0.03797, allocations: 8.612 MB / 269.6 MB, free: 4.762 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.603e-06/1.603e-06, allocations: 0 / 342.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.097e-05, allocations: 2.312 kB / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002458/0.002479, allocations: 2.032 MB / 344.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.004081, allocations: 1.348 MB / 345.5 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.007219, allocations: 3.938 kB / 345.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.007795, allocations: 291 kB / 345.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.008168, allocations: 262.9 kB / 346 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.008588, allocations: 251.2 kB / 346.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.008874, allocations: 371 kB / 346.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.008977, allocations: 36.84 kB / 346.7 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.009149, allocations: 191.5 kB / 346.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.009281, allocations: 131.7 kB / 347 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.009307, allocations: 19.94 kB / 347 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.00947, allocations: 111.8 kB / 347.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.009545, allocations: 79.69 kB / 347.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.009605, allocations: 71.77 kB / 347.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.009866, allocations: 279 kB / 347.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009868, allocations: 0 / 347.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.009869, allocations: 0 / 347.5 MB, free: 2.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.009872, allocations: 0 / 347.5 MB, free: 2.648 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.7031316836364567]