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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104.9 kB / 15.99 MB, free: 5.891 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.001304/0.001304, allocations: 188.2 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1704/0.1704, allocations: 11.19 MB / 301.9 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.09 kB / 364.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.09581, allocations: 51.98 MB / 416.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003441/0.09929, allocations: 2.052 MB / 418.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1013, allocations: 1.228 MB / 420 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1014, allocations: 7.938 kB / 420 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.1022, allocations: 266.7 kB / 420.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.1026, allocations: 183.5 kB / 420.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.1034, allocations: 279.2 kB / 420.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.1038, allocations: 359 kB / 421.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1039, allocations: 48.34 kB / 421.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1041, allocations: 135.5 kB / 421.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1043, allocations: 151.4 kB / 421.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1044, allocations: 16 kB / 421.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.1046, allocations: 99.88 kB / 421.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.1047, allocations: 79.75 kB / 421.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1048, allocations: 115.3 kB / 421.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1051, allocations: 275.6 kB / 422 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1052, allocations: 0 / 422 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1052, allocations: 0 / 422 MB, free: 1.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1052, allocations: 0 / 422 MB, free: 1.824 MB / 350.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-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;