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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 190.3 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0649/0.0649, allocations: 10.74 MB / 280.1 MB, free: 10.7 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.83 kB / 340 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07096/0.0723, allocations: 49.01 MB / 389 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003152/0.07549, allocations: 2.057 MB / 391 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.07717, allocations: 1.159 MB / 392.2 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.07731, allocations: 7.938 kB / 392.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.07798, allocations: 263.4 kB / 392.5 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.07832, allocations: 175.5 kB / 392.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.0789, allocations: 259.6 kB / 392.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.07921, allocations: 339.1 kB / 393.2 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.07933, allocations: 44.3 kB / 393.3 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.07949, allocations: 127.4 kB / 393.4 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.07963, allocations: 135.4 kB / 393.5 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.07968, allocations: 12 kB / 393.5 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.07985, allocations: 83.95 kB / 393.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.07994, allocations: 71.67 kB / 393.7 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.08005, allocations: 107.3 kB / 393.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.08043, allocations: 339.1 kB / 394.1 MB, free: 1.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.08044, allocations: 4 kB / 394.1 MB, free: 1.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.08045, allocations: 3.938 kB / 394.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.08045, allocations: 0 / 394.1 MB, free: 1.43 MB / 286.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 1.1.0-master/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;