Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TDtoPDfunction.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.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") translateModel(PNlib.Examples.DisTest.TDtoPDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TDtoPDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001057/0.001057, allocations: 190 kB / 17.36 MB, free: 5.699 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.122/1.122, 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.06687/0.06687, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.275e-06/8.296e-06, allocations: 2.281 kB / 427 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TDtoPDfunction): time 0.001732/0.001748, allocations: 1.859 MB / 428.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.003886, allocations: 1.921 MB / 430.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004021, allocations: 8 kB / 430.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.004254, allocations: 111.1 kB / 430.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.00453, allocations: 131 kB / 431 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.005545, allocations: 0.9024 MB / 431.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008405/0.006395, allocations: 1.56 MB / 433.4 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.006572, allocations: 177.4 kB / 433.6 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.006877, allocations: 0.5571 MB / 434.2 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.007097, allocations: 346.3 kB / 434.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.007175, allocations: 76 kB / 434.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.007559, allocations: 0.4955 MB / 435.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003255/0.007894, allocations: 0.9119 MB / 436 MB, free: 1.559 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001251/0.008025, allocations: 0.5426 MB / 436.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.008135, allocations: 123.7 kB / 436.7 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.054e-05/0.008191, allocations: 51.67 kB / 436.7 MB, free: 0.8359 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 (110) * Number of variables: 150 (140) Notification: Performance of Bindings: time 0.00213/0.01033, allocations: 2.812 MB / 439.5 MB, free: 13.9 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.372e-05/0.01041, allocations: 71.92 kB / 439.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002348/0.01277, allocations: 2.806 MB / 442.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simplify1: time 6.711e-05/0.01284, allocations: 79.86 kB / 442.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of Alias: time 0.002063/0.01491, allocations: 2.133 MB / 444.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simplify2: time 6.587e-05/0.01499, allocations: 75.81 kB / 444.7 MB, free: 8.516 MB / 318.1 MB Notification: Performance of Events: time 0.0005565/0.01555, allocations: 494.5 kB / 445.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of Detect States: time 0.0009393/0.0165, allocations: 1.103 MB / 446.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000833/0.01734, allocations: 0.9305 MB / 447.2 MB, free: 5.906 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_33 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)