Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 112 kB / 16.42 MB, free: 6.527 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.001696/0.001696, allocations: 186 kB / 17.36 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.605/1.605, 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.05813/0.05813, allocations: 10.73 MB / 281.3 MB, free: 1.289 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.62e-05, allocations: 2.281 kB / 391.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003405/0.003439, allocations: 1.987 MB / 393.4 MB, free: 44.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005455, allocations: 1.179 MB / 394.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.005832, allocations: 6.531 kB / 394.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.006862, allocations: 276.6 kB / 394.9 MB, free: 43.76 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.0006612/0.007556, allocations: 196.4 kB / 395.1 MB, free: 43.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.008633, allocations: 283.3 kB / 395.4 MB, free: 43.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009157/0.009561, allocations: 373.7 kB / 395.7 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.009816, allocations: 59.66 kB / 395.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.01024, allocations: 155.2 kB / 395.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.01054, allocations: 132.1 kB / 396.1 MB, free: 43.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.01062, allocations: 20.84 kB / 396.1 MB, free: 43.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.01097, allocations: 108.5 kB / 396.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003756/0.01135, allocations: 401.1 kB / 396.6 MB, free: 42.93 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001916/0.01155, allocations: 244 kB / 396.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.01165, allocations: 36.81 kB / 396.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.25e-05/0.01172, allocations: 9.719 kB / 396.9 MB, free: 42.73 MB / 318.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (timer.run, timer.Q) := IndustrialControlSystems.Logical.Timers.Functions.tim(timer.S, timer.R, timer.PV, time, timer.startTime)