Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge.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.001618/0.001618, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 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.001957/0.001957, allocations: 213.3 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9728/0.9728, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.03808/0.03808, allocations: 11.34 MB / 323.8 MB, free: 7.137 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me_cs",version="2.0",platforms={"static"}) [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.001723/0.001723, allocations: 84.09 kB / 452.5 MB, free: 35.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09486, allocations: 56.08 MB / 0.4967 GB, free: 10.95 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002435/0.09729, allocations: 1.975 MB / 0.4986 GB, free: 8.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.09872, allocations: 1.356 MB / 0.4999 GB, free: 7.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.09882, allocations: 3.938 kB / 0.5 GB, free: 7.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.09944, allocations: 315.1 kB / 0.5003 GB, free: 7.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.0998, allocations: 263.1 kB / 0.5005 GB, free: 7.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.1005, allocations: 270.6 kB / 0.5008 GB, free: 6.762 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1008, allocations: 383 kB / 0.5011 GB, free: 6.387 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1009, allocations: 33.14 kB / 0.5012 GB, free: 6.352 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.101, allocations: 159.4 kB / 0.5013 GB, free: 6.195 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1012, allocations: 155.4 kB / 0.5015 GB, free: 6.043 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1012, allocations: 24 kB / 0.5015 GB, free: 6.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1014, allocations: 131.8 kB / 0.5016 GB, free: 5.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.1015, allocations: 99.59 kB / 0.5017 GB, free: 5.793 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.1015, allocations: 99.34 kB / 0.5018 GB, free: 5.695 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1019, allocations: 414.4 kB / 0.5022 GB, free: 5.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1019, allocations: 0 / 0.5022 GB, free: 5.289 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1019, allocations: 4 kB / 0.5022 GB, free: 5.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1019, allocations: 4 kB / 0.5022 GB, free: 5.281 MB / 362.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_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); 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.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV - (time - timer.startTime) else 0.0; end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9298906112089753]