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.0006627/0.0006627, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000806/0.000806, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9138/0.9138, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.03703/0.03703, allocations: 8.619 MB / 267.8 MB, free: 5.105 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: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.11e-05, allocations: 5.234 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.002483/0.002504, allocations: 1.968 MB / 397 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004173, allocations: 1.36 MB / 398.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.004312, allocations: 4 kB / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007054/0.005018, allocations: 315 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.005468, allocations: 278.8 kB / 399 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.005986, allocations: 266.8 kB / 399.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.006355, allocations: 382.9 kB / 399.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.006487, allocations: 36.78 kB / 399.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.006697, allocations: 211.4 kB / 399.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006863, allocations: 143.6 kB / 400 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.006891, allocations: 20 kB / 400 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.007091, allocations: 135.8 kB / 400.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.007179, allocations: 91.69 kB / 400.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.007254, allocations: 83.7 kB / 400.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.00763, allocations: 422.6 kB / 400.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007633, allocations: 0 / 400.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007634, allocations: 0 / 400.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007641, allocations: 3.938 kB / 400.7 MB, free: 12.96 MB / 378.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.6407636245712638] Failed to read output from testmodel.py, exit status != 0: 0.014048207551240921 0.023517192000000003 0.014002534 Calling exit ...