Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC.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.ArcswithPCtoTC,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|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC") translateModel(PNlib.Examples.ExtTest.ArcswithPCtoTC,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|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.ArcswithPCtoTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 106.5 kB / 16.42 MB, free: 6.457 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.001714/0.001714, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07074/0.07074, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.505e-05, allocations: 6.281 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.ArcswithPCtoTC): time 0.006031/0.006065, allocations: 8.981 MB / 435.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.01759, allocations: 6.592 MB / 442.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003409/0.02105, allocations: 63.81 kB / 442.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.02346, allocations: 0.8757 MB / 443.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.02697, allocations: 0.8331 MB / 444.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007703/0.0347, allocations: 3.353 MB / 447.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.05028, allocations: 11.65 MB / 459.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.05281, allocations: 1.575 MB / 460.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/0.05948, allocations: 4.363 MB / 465.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/0.06446, allocations: 3.197 MB / 468.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.06699, allocations: 0.7031 MB / 469.1 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.06982, allocations: 1.117 MB / 470.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.007336/0.07718, allocations: 8.582 MB / 478.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.003506/0.08071, allocations: 4.869 MB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.08327, allocations: 1.048 MB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 0.001225/0.08452, allocations: 0.6366 MB / 485.4 MB, free: 15.71 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: 1516 (1192) * Number of variables: 1516 (1436) Notification: Performance of Bindings: time 0.02997/0.1145, allocations: 26.98 MB / 0.5004 GB, free: 4.254 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.002714/0.1172, allocations: 2.449 MB / 0.5028 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Early Inline: time 0.2468/0.364, allocations: 26.01 MB / 0.5282 GB, free: 37.35 MB / 382.1 MB Notification: Performance of simplify1: time 0.002042/0.3661, allocations: 0.8627 MB / 0.529 GB, free: 36.93 MB / 382.1 MB Notification: Performance of Alias: time 0.02898/0.3951, allocations: 20.68 MB / 0.5492 GB, free: 23.9 MB / 382.1 MB Notification: Performance of simplify2: time 0.001234/0.3964, allocations: 0.7242 MB / 0.5499 GB, free: 23.57 MB / 382.1 MB Notification: Performance of Events: time 0.009512/0.4059, allocations: 7.488 MB / 0.5572 GB, free: 18.99 MB / 382.1 MB Notification: Performance of Detect States: time 0.01481/0.4207, allocations: 9.354 MB / 0.5664 GB, free: 10.74 MB / 382.1 MB Notification: Performance of Partitioning: time 0.01796/0.4388, allocations: 8.879 MB / 0.575 GB, free: 1.695 MB / 382.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_355 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_195)