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.001157/0.001157, allocations: 106.2 kB / 16.42 MB, free: 5.988 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.00107/0.001071, allocations: 190.5 kB / 17.36 MB, free: 5.574 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.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05558/0.05559, allocations: 10.74 MB / 281.3 MB, free: 1.297 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.852e-05, allocations: 2.281 kB / 391.4 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.0035/0.003537, allocations: 1.987 MB / 393.4 MB, free: 44.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005548, allocations: 1.19 MB / 394.6 MB, free: 43.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.005686, allocations: 2.875 kB / 394.6 MB, free: 43.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.006675, allocations: 307.2 kB / 394.9 MB, free: 43.69 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.0004486/0.007163, allocations: 202.5 kB / 395.1 MB, free: 43.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.007921, allocations: 281.5 kB / 395.4 MB, free: 43.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.008454, allocations: 388.3 kB / 395.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.008633, allocations: 55.56 kB / 395.8 MB, free: 43.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.008861, allocations: 156.9 kB / 396 MB, free: 43.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.009088, allocations: 152.4 kB / 396.1 MB, free: 43.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.00914, allocations: 19.41 kB / 396.1 MB, free: 43.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.0094, allocations: 110.4 kB / 396.3 MB, free: 43.12 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003669/0.009776, allocations: 414.5 kB / 396.7 MB, free: 42.86 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001467/0.00993, allocations: 254.3 kB / 396.9 MB, free: 42.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.01, allocations: 38.69 kB / 396.9 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.568e-05/0.01005, allocations: 6.406 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.startTime, timer.run) := IndustrialControlSystems.Logical.Timers.Functions.risingEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time, pre(timer.run))