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.001441/0.001442, allocations: 111.3 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.001374/0.001375, allocations: 192.3 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.611/1.611, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0553/0.0553, allocations: 10.73 MB / 281.3 MB, free: 1.293 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.971e-05/3.974e-05, allocations: 5.516 kB / 391.4 MB, free: 46.01 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.004818/0.004867, allocations: 1.993 MB / 393.4 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.007537, allocations: 1.181 MB / 394.6 MB, free: 43.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.007999, allocations: 5.312 kB / 394.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.009456, allocations: 268 kB / 394.9 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.0008965/0.01041, allocations: 205.4 kB / 395.1 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.01168, allocations: 279.2 kB / 395.4 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008342/0.01252, allocations: 374.5 kB / 395.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.01279, allocations: 61.39 kB / 395.8 MB, free: 43.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.01308, allocations: 151 kB / 395.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.01337, allocations: 135.7 kB / 396.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.01344, allocations: 21.03 kB / 396.1 MB, free: 43.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.01383, allocations: 104.4 kB / 396.2 MB, free: 43.18 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004223/0.01426, allocations: 401.1 kB / 396.6 MB, free: 42.91 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001927/0.01446, allocations: 252.5 kB / 396.8 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.01454, allocations: 37.16 kB / 396.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.842e-05/0.01462, allocations: 4.594 kB / 396.9 MB, free: 42.71 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)