Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium.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.Models.BicoloredPlaces.Aquarium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.color.1.|P1.color.2.|P1.t|P2.color.1.|P2.color.2.|P2.t|ratio|t1.fire|t1.instantaneousSpeed|t1.maximumSpeed|t2.fire|t2.instantaneousSpeed|t2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium") translateModel(PNlib.Examples.Models.BicoloredPlaces.Aquarium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.color.1.|P1.color.2.|P1.t|P2.color.1.|P2.color.2.|P2.t|ratio|t1.fire|t1.instantaneousSpeed|t1.maximumSpeed|t2.fire|t2.instantaneousSpeed|t2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.Models.BicoloredPlaces.Aquarium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 106.8 kB / 16.42 MB, free: 6.512 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.001043/0.001043, 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.289/1.289, 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.07179/0.07179, allocations: 16.72 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.598e-05, allocations: 2.281 kB / 426.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.Models.BicoloredPlaces.Aquarium): time 0.004046/0.00407, allocations: 5.244 MB / 432.2 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.01001, allocations: 4.311 MB / 436.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.01154, allocations: 31.88 kB / 436.5 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.01248, allocations: 0.5546 MB / 437.1 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.01362, allocations: 0.4888 MB / 437.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.01735, allocations: 2.086 MB / 439.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007557/0.02493, allocations: 6.945 MB / 446.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.02726, allocations: 2.113 MB / 448.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.03069, allocations: 2.595 MB / 451.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.03361, allocations: 2.027 MB / 453.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.03463, allocations: 0.5704 MB / 453.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.0362, allocations: 1.007 MB / 454.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.004025/0.04024, allocations: 5.164 MB / 460.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001853/0.04211, allocations: 2.799 MB / 462.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.04342, allocations: 0.6976 MB / 463.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0008779/0.04431, allocations: 365.7 kB / 463.9 MB, free: 5.312 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 (764) * Number of variables: 1091 (807) Notification: Performance of Bindings: time 0.01797/0.06229, allocations: 18.24 MB / 482.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001872/0.06417, allocations: 1.955 MB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of Early Inline: time 0.02171/0.08589, allocations: 19.66 MB / 0.492 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simplify1: time 0.001161/0.08709, allocations: 0.5695 MB / 0.4925 GB, free: 12.46 MB / 382.1 MB Notification: Performance of Alias: time 0.1926/0.2797, allocations: 13.34 MB / 0.5055 GB, free: 57.27 MB / 382.1 MB Notification: Performance of simplify2: time 0.001191/0.281, allocations: 0.5112 MB / 0.506 GB, free: 57.27 MB / 382.1 MB Notification: Performance of Events: time 0.005697/0.2867, allocations: 4.797 MB / 0.5107 GB, free: 56.41 MB / 382.1 MB Notification: Performance of Detect States: time 0.007574/0.2943, allocations: 6.922 MB / 0.5175 GB, free: 55.71 MB / 382.1 MB Notification: Performance of Partitioning: time 0.008638/0.3029, allocations: 6.326 MB / 0.5237 GB, free: 52.88 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: P2.place2.tokenscale. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) P2.place2.color = if settings.animatePlace then if $SEV_181 then {255.0, 255.0 - 2.55 * P2.place2.tokenscale, 255.0 - 2.55 * P2.place2.tokenscale} else {255.0, 0.0, 0.0} else {255.0, 255.0, 255.0} ($RES_SIM_84)