Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 109.4 kB / 16.42 MB, free: 6.469 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.0008785/0.0008786, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.076/1.076, 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.05089/0.05089, allocations: 10.73 MB / 281.3 MB, free: 1.281 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.842e-05, allocations: 5.656 kB / 391.4 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002395/0.002422, allocations: 1.988 MB / 393.4 MB, free: 44.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.003971, allocations: 1.183 MB / 394.6 MB, free: 44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.004152, allocations: 7.594 kB / 394.6 MB, free: 44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.004866, allocations: 270.5 kB / 394.9 MB, free: 43.93 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.0004487/0.005323, allocations: 201.2 kB / 395.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.005986, allocations: 274.6 kB / 395.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.006429, allocations: 379 kB / 395.7 MB, free: 43.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.006565, allocations: 56.58 kB / 395.8 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.006796, allocations: 151.3 kB / 395.9 MB, free: 43.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.006991, allocations: 131.7 kB / 396.1 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.007045, allocations: 18.09 kB / 396.1 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.007268, allocations: 114.8 kB / 396.2 MB, free: 43.35 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002291/0.007505, allocations: 394.2 kB / 396.6 MB, free: 43.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001032/0.007614, allocations: 252.2 kB / 396.8 MB, free: 42.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.007671, allocations: 35.66 kB / 396.8 MB, free: 42.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.531e-05/0.007712, allocations: 13.25 kB / 396.9 MB, free: 42.88 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, timer.R, timer.PV, time, timer.startTime)