Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.2 kB / 16.43 MB, free: 6.508 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.001542/0.001542, allocations: 188.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.522/1.522, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05513/0.05513, allocations: 10.74 MB / 281.3 MB, free: 1.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.641e-05, allocations: 5.516 kB / 391.4 MB, free: 46.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003299/0.003334, allocations: 1.985 MB / 393.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.005138, allocations: 1.184 MB / 394.6 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.005275, allocations: 5.312 kB / 394.6 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.006116, allocations: 273.9 kB / 394.9 MB, free: 43.86 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.0004459/0.006571, allocations: 195.8 kB / 395.1 MB, free: 43.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.007316, allocations: 285.6 kB / 395.4 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.007749, allocations: 373.6 kB / 395.7 MB, free: 43.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.007929, allocations: 58.55 kB / 395.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.008135, allocations: 147.4 kB / 395.9 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.008325, allocations: 139.2 kB / 396.1 MB, free: 43.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.008373, allocations: 22.34 kB / 396.1 MB, free: 43.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.0086, allocations: 107.3 kB / 396.2 MB, free: 43.3 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002918/0.0089, allocations: 401.5 kB / 396.6 MB, free: 43.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001239/0.009031, allocations: 245.1 kB / 396.8 MB, free: 42.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.009086, allocations: 32.5 kB / 396.8 MB, free: 42.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.447e-05/0.009136, allocations: 12.27 kB / 396.9 MB, free: 42.83 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime)