Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroPlace.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.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") translateModel(PNlib.Examples.ConTest.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 108.1 kB / 16.42 MB, free: 6.504 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.001208/0.001208, allocations: 185.9 kB / 17.36 MB, free: 5.738 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07126/0.07126, allocations: 16.73 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.05e-05, allocations: 2.281 kB / 426.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.002821/0.00285, allocations: 3.109 MB / 430 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.006258, allocations: 2.492 MB / 432.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.006663, allocations: 15.94 kB / 432.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.007095, allocations: 265.9 kB / 432.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.007687, allocations: 258 kB / 433.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.009421, allocations: 1.124 MB / 434.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.01154, allocations: 3.3 MB / 437.5 MB, free: 4 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005586/0.01211, allocations: 470.1 kB / 437.9 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.0133, allocations: 1.278 MB / 439.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.0143, allocations: 0.9686 MB / 440.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.01459, allocations: 212 kB / 440.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009711/0.01557, allocations: 0.6244 MB / 441 MB, free: 12.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00178/0.01736, allocations: 2.552 MB / 443.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008232/0.01819, allocations: 1.44 MB / 445 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.01867, allocations: 327.2 kB / 445.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003034/0.01898, allocations: 155 kB / 445.5 MB, free: 7.918 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: 430 (341) * Number of variables: 430 (410) Notification: Performance of Bindings: time 0.007599/0.02659, allocations: 8.12 MB / 453.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0006341/0.02724, allocations: 0.6427 MB / 454.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Early Inline: time 0.008339/0.03559, allocations: 8.165 MB / 462.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simplify1: time 0.0004002/0.03601, allocations: 263.6 kB / 462.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of Alias: time 0.00664/0.04266, allocations: 5.636 MB / 468.3 MB, free: 380 kB / 334.1 MB Notification: Performance of simplify2: time 0.0003128/0.04299, allocations: 227.6 kB / 468.5 MB, free: 152 kB / 334.1 MB Notification: Performance of Events: time 0.00271/0.04571, allocations: 2.42 MB / 470.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of Detect States: time 0.002896/0.04862, allocations: 2.983 MB / 473.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Partitioning: time 0.003001/0.05163, allocations: 2.668 MB / 476.6 MB, free: 7.922 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_107 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_25)