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.001013/0.001013, 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.0012/0.0012, 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.9675/0.9675, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.0412/0.0412, allocations: 8.619 MB / 268.9 MB, free: 4.793 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 9.72e-07/9.72e-07, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.248e-05, allocations: 5.828 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.1087/0.1088, allocations: 2.061 MB / 290.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1104, allocations: 1.381 MB / 291.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1105, allocations: 6.438 kB / 291.6 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.111, allocations: 283.3 kB / 291.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.1114, allocations: 254.7 kB / 292.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.1119, allocations: 258.2 kB / 292.3 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.1123, allocations: 365.4 kB / 292.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.1124, allocations: 30.78 kB / 292.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1126, allocations: 190 kB / 292.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1127, allocations: 131.7 kB / 293 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1128, allocations: 19.56 kB / 293.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.113, allocations: 118.5 kB / 293.2 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.113, allocations: 83.45 kB / 293.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1131, allocations: 69.02 kB / 293.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1134, allocations: 279.1 kB / 293.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1134, allocations: 0 / 293.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1134, allocations: 1.859 kB / 293.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1134, allocations: 0 / 293.6 MB, free: 17.23 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.5923885749652982]