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.001361/0.001361, allocations: 88.72 kB / 19.44 MB, free: 356 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.002432/0.002432, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.0658/0.0658, allocations: 8.603 MB / 268.2 MB, free: 4.934 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.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.166e-05, allocations: 6.25 kB / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00325/0.003282, allocations: 1.972 MB / 342.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.00557, allocations: 1.332 MB / 343.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002507/0.005821, allocations: 4 kB / 343.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.006763, allocations: 291 kB / 343.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000651/0.007414, allocations: 251 kB / 344 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.008075, allocations: 255.2 kB / 344.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.008532, allocations: 363 kB / 344.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.008669, allocations: 36.89 kB / 344.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.008988, allocations: 187.5 kB / 344.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.00919, allocations: 131.6 kB / 344.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.009234, allocations: 16 kB / 344.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.009504, allocations: 127.7 kB / 345.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.009601, allocations: 79.69 kB / 345.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.0097, allocations: 71.77 kB / 345.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.01012, allocations: 382.8 kB / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01012, allocations: 0 / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01013, allocations: 0 / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.01013, allocations: 0 / 345.6 MB, free: 3.266 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: 2.232223873026669]