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.001262/0.001261, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001067/0.001067, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.518/1.518, 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.05348/0.05348, allocations: 10.74 MB / 281.3 MB, free: 1.289 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.58e-05, allocations: 2.984 kB / 391.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge): time 0.003597/0.003631, allocations: 2 MB / 393.4 MB, free: 44.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.005881, allocations: 1.213 MB / 394.7 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.006032, allocations: 1.75 kB / 394.7 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.007059, allocations: 301 kB / 395 MB, free: 43.75 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.0004422/0.007531, allocations: 205 kB / 395.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.008359, allocations: 293.4 kB / 395.4 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.008931, allocations: 391 kB / 395.8 MB, free: 43.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.009136, allocations: 61.25 kB / 395.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.00937, allocations: 153.1 kB / 396 MB, free: 43.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.009594, allocations: 154.8 kB / 396.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.009651, allocations: 22.2 kB / 396.2 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.009928, allocations: 125.1 kB / 396.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003393/0.01027, allocations: 422.5 kB / 396.7 MB, free: 42.88 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000164/0.01045, allocations: 262.2 kB / 397 MB, free: 42.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.01052, allocations: 32.5 kB / 397 MB, free: 42.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.272e-05/0.01058, allocations: 9.469 kB / 397 MB, free: 42.67 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)