Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 112.5 kB / 16.42 MB, free: 6.52 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.001015/0.001015, allocations: 187.8 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07573/0.07573, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.148e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002861/0.002891, allocations: 2.716 MB / 429.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.006353, allocations: 2.274 MB / 431.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.006685, allocations: 15.94 kB / 431.9 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.007102, allocations: 218.3 kB / 432.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005636/0.007702, allocations: 266.2 kB / 432.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.009464, allocations: 1.03 MB / 433.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.01128, allocations: 2.891 MB / 436.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.01169, allocations: 445.4 kB / 436.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.01257, allocations: 1.079 MB / 437.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.01352, allocations: 0.8598 MB / 438.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.01381, allocations: 204 kB / 438.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009602/0.01478, allocations: 0.6088 MB / 439.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001534/0.01632, allocations: 2.289 MB / 441.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008659/0.0172, allocations: 1.263 MB / 443.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.01758, allocations: 303.3 kB / 443.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002302/0.01787, allocations: 147.1 kB / 443.5 MB, free: 9.879 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 (302) * Number of variables: 415 (360) Notification: Performance of Bindings: time 0.006895/0.02477, allocations: 7.329 MB / 450.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006749/0.02545, allocations: 0.735 MB / 451.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Early Inline: time 0.007517/0.03298, allocations: 7.785 MB / 459.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002936/0.0333, allocations: 219.6 kB / 459.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Alias: time 0.005969/0.03928, allocations: 5.142 MB / 464.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplify2: time 0.0002568/0.03955, allocations: 195.7 kB / 464.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of Detect States: time 0.002979/0.04254, allocations: 2.889 MB / 467.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Events: time 0.002593/0.04515, allocations: 2.01 MB / 469.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Partitioning: time 0.002767/0.04793, allocations: 2.49 MB / 472.3 MB, free: 12.28 MB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P2.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P2.color = if settings.animatePlace then if $SEV_103 then {255.0, 255.0 - 2.55 * P2.tokenscale, 255.0 - 2.55 * P2.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_24)