Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") translateModel(PNlib.Examples.DisTest.DisLoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 107.9 kB / 16.42 MB, free: 6.492 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.001003/0.001004, 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.0711/0.0711, allocations: 16.71 MB / 307.9 MB, free: 14.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.342e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002222/0.002254, allocations: 1.872 MB / 428.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.004924, allocations: 1.921 MB / 430.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.005158, allocations: 8 kB / 430.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.005484, allocations: 122.9 kB / 430.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.00582, allocations: 130.8 kB / 431 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.007141, allocations: 0.9005 MB / 431.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.008181, allocations: 1.681 MB / 433.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.008469, allocations: 308.3 kB / 433.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.008859, allocations: 0.6271 MB / 434.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.009266, allocations: 0.5408 MB / 435 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.009398, allocations: 132 kB / 435.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/0.0101, allocations: 0.8037 MB / 436 MB, free: 1.469 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006009/0.01071, allocations: 1.462 MB / 437.4 MB, free: 15.99 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004368/0.01115, allocations: 0.8083 MB / 438.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.01142, allocations: 207.6 kB / 438.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001425/0.01157, allocations: 111.3 kB / 438.6 MB, free: 14.86 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: 235 (191) * Number of variables: 235 (225) Notification: Performance of Bindings: time 0.004461/0.01604, allocations: 4.793 MB / 443.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002247/0.01627, allocations: 236.5 kB / 443.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005173/0.02145, allocations: 5.352 MB / 448.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001625/0.02163, allocations: 135.8 kB / 449.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of Alias: time 0.003618/0.02526, allocations: 3.335 MB / 452.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simplify2: time 0.000124/0.02539, allocations: 119.8 kB / 452.5 MB, free: 496 kB / 318.1 MB Notification: Performance of Events: time 0.001547/0.02695, allocations: 1.294 MB / 453.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Detect States: time 0.001811/0.02877, allocations: 1.939 MB / 455.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001754/0.03054, allocations: 1.708 MB / 457.5 MB, free: 11.39 MB / 334.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_88 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_36)