Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 111.8 kB / 16.42 MB, free: 6.531 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.001383/0.001383, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.579/1.579, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05816/0.05816, allocations: 10.73 MB / 281.3 MB, free: 1.293 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/2.94e-05, allocations: 2.281 kB / 391.4 MB, free: 46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.004127/0.004165, allocations: 1.988 MB / 393.4 MB, free: 44.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.006285, allocations: 1.187 MB / 394.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.006427, allocations: 5.344 kB / 394.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.007497, allocations: 299.6 kB / 394.9 MB, free: 43.73 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000553/0.008076, allocations: 202.7 kB / 395.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.008879, allocations: 289.2 kB / 395.4 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.00952, allocations: 384.3 kB / 395.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.009745, allocations: 61.41 kB / 395.8 MB, free: 43.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.01004, allocations: 157.7 kB / 396 MB, free: 43.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.01032, allocations: 145 kB / 396.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.01037, allocations: 17.91 kB / 396.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.01065, allocations: 113.4 kB / 396.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003213/0.01098, allocations: 420 kB / 396.7 MB, free: 42.89 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001602/0.01114, allocations: 252.8 kB / 396.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.01121, allocations: 35.69 kB / 397 MB, free: 42.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.278e-05/0.01126, allocations: 4.75 kB / 397 MB, free: 42.69 MB / 318.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (timer.startTime, timer.run) := IndustrialControlSystems.Logical.Timers.Functions.risingEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time, pre(timer.run))