Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC2.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.ExtTest.ArcswithPCtoTC2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|T4.fire|T4.instantaneousSpeed|T4.maximumSpeed|T5.fire|T5.instantaneousSpeed|T5.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC2") translateModel(PNlib.Examples.ExtTest.ArcswithPCtoTC2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|T4.fire|T4.instantaneousSpeed|T4.maximumSpeed|T5.fire|T5.instantaneousSpeed|T5.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 105.1 kB / 16.42 MB, free: 6.512 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.001092/0.001092, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.06829/0.06829, allocations: 16.72 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/1.921e-05, allocations: 2.281 kB / 427 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.ArcswithPCtoTC2): time 0.005961/0.005989, allocations: 9.379 MB / 436.3 MB, free: 1.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.01829, allocations: 6.842 MB / 443.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.02246, allocations: 59.75 kB / 443.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.02519, allocations: 0.9377 MB / 444.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004082/0.02935, allocations: 0.9184 MB / 445.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008962/0.03833, allocations: 3.443 MB / 448.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01751/0.05588, allocations: 12.28 MB / 460.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.05965, allocations: 2.109 MB / 462.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008437/0.06811, allocations: 4.706 MB / 467.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006399/0.07454, allocations: 3.77 MB / 471.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004261/0.07884, allocations: 0.8593 MB / 472.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.08318, allocations: 1.285 MB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01136/0.09456, allocations: 10.09 MB / 483.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.004142/0.09874, allocations: 5.667 MB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003949/0.1027, allocations: 1.286 MB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001735/0.1045, allocations: 0.7336 MB / 491.3 MB, free: 9.742 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1871 (1435) * Number of variables: 1871 (1678) Notification: Performance of Bindings: time 0.2363/0.3408, allocations: 32.59 MB / 0.5116 GB, free: 40.86 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.003359/0.3441, allocations: 3.283 MB / 0.5148 GB, free: 40.27 MB / 382.1 MB Notification: Performance of Early Inline: time 0.03582/0.38, allocations: 33.09 MB / 0.5472 GB, free: 26.78 MB / 382.1 MB Notification: Performance of simplify1: time 0.001742/0.3818, allocations: 1.027 MB / 0.5482 GB, free: 26.28 MB / 382.1 MB Notification: Performance of Alias: time 0.02537/0.4071, allocations: 24.3 MB / 0.5719 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simplify2: time 0.001194/0.4084, allocations: 0.892 MB / 0.5728 GB, free: 5.008 MB / 382.1 MB Notification: Performance of Events: time 0.01034/0.4187, allocations: 9.802 MB / 0.5823 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Detect States: time 0.01694/0.4357, allocations: 11.75 MB / 0.5938 GB, free: 220 kB / 398.1 MB Notification: Performance of Partitioning: time 0.01852/0.4542, allocations: 10.93 MB / 0.6045 GB, free: 4.871 MB / 414.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P8.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P8.color = if settings.animatePlace then if $SEV_446 then {255.0, 255.0 - 2.55 * P8.tokenscale, 255.0 - 2.55 * P8.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_208)