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.001365/0.001365, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001534/0.001534, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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: 11.33 MB / 324.5 MB, free: 8.137 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 75.88 kB / 452.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 56.06 MB / 0.4964 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.00352/0.1127, allocations: 1.959 MB / 0.4983 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1151, allocations: 1.338 MB / 0.4996 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1152, allocations: 3.938 kB / 0.4996 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008451/0.116, allocations: 290.3 kB / 0.4999 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005673/0.1166, allocations: 259.1 kB / 0.5001 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.1172, allocations: 253.8 kB / 0.5004 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.1176, allocations: 359 kB / 0.5007 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1177, allocations: 28.92 kB / 0.5007 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1179, allocations: 151.4 kB / 0.5009 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1182, allocations: 151.3 kB / 0.501 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.1182, allocations: 16 kB / 0.501 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1184, allocations: 115.9 kB / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1185, allocations: 75.7 kB / 0.5012 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.1187, allocations: 95.39 kB / 0.5013 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.1192, allocations: 370.5 kB / 0.5017 GB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1192, allocations: 3.938 kB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1192, allocations: 0 / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1192, allocations: 0 / 0.5017 GB, free: 12.21 MB / 382.1 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.658845019992441] Failed to read output from testmodel.py, exit status != 0: 0.12814504699781537 0.322075759 0.199757664 Calling exit ...