Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 106.9 kB / 16.42 MB, free: 6.516 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.001263/0.001263, allocations: 187.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.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07059/0.07059, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.783e-05, allocations: 2.281 kB / 426.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002237/0.002265, allocations: 1.859 MB / 428.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.005291, allocations: 1.921 MB / 430.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.005599, allocations: 7.938 kB / 430.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.005922, allocations: 119 kB / 430.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.006238, allocations: 119 kB / 431 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.007755, allocations: 0.8888 MB / 431.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.00885, allocations: 1.587 MB / 433.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.009096, allocations: 182.9 kB / 433.6 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.009514, allocations: 0.5804 MB / 434.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.009837, allocations: 382.3 kB / 434.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.009939, allocations: 92 kB / 434.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.01053, allocations: 0.515 MB / 435.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004329/0.01097, allocations: 1.032 MB / 436.2 MB, free: 1.223 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001546/0.01113, allocations: 0.5928 MB / 436.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.01128, allocations: 143.7 kB / 436.9 MB, free: 492 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.538e-05/0.01138, allocations: 67.55 kB / 437 MB, free: 424 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 (125) * Number of variables: 165 (155) Notification: Performance of Bindings: time 0.00315/0.01454, allocations: 3.242 MB / 440.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001082/0.01465, allocations: 79.91 kB / 440.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003473/0.01814, allocations: 3.401 MB / 443.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001023/0.01825, allocations: 91.86 kB / 443.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of Alias: time 0.003059/0.02132, allocations: 2.404 MB / 446.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simplify2: time 7.503e-05/0.02141, allocations: 71.89 kB / 446.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of Events: time 0.001059/0.02247, allocations: 0.9022 MB / 447.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Detect States: time 0.001443/0.02393, allocations: 1.283 MB / 448.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001241/0.02518, allocations: 1.067 MB / 449.5 MB, free: 3.449 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: P1.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P1.color = if settings.animatePlace then if $SEV_65 then {255.0, 255.0 - 2.55 * P1.tokenscale, 255.0 - 2.55 * P1.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_27)