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.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_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001157/0.001158, allocations: 190 kB / 17.36 MB, free: 5.703 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.826/1.826, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0589/0.0589, allocations: 10.73 MB / 281.3 MB, free: 1.281 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/3.478e-05, allocations: 2.984 kB / 391.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.004523/0.004566, allocations: 2.006 MB / 393.4 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.007027, allocations: 1.201 MB / 394.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.007194, allocations: 10.62 kB / 394.7 MB, free: 43.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.008292, allocations: 291.8 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.0005993/0.008901, allocations: 215.8 kB / 395.2 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.009757, allocations: 301.3 kB / 395.4 MB, free: 43.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.0104, allocations: 386.6 kB / 395.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.01062, allocations: 51.44 kB / 395.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.01093, allocations: 165 kB / 396 MB, free: 43.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.01124, allocations: 154.2 kB / 396.2 MB, free: 43.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.01132, allocations: 19.25 kB / 396.2 MB, free: 43.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.01168, allocations: 128.5 kB / 396.3 MB, free: 43.13 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004617/0.01215, allocations: 418.4 kB / 396.7 MB, free: 42.86 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001791/0.01234, allocations: 258.7 kB / 397 MB, free: 42.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.01241, allocations: 39.47 kB / 397 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.006e-05/0.01245, allocations: 9.375 kB / 397 MB, free: 42.65 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_hold, timer.R, timer.PV, time, timer.startTime)