Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.SingleTD.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.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") translateModel(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 109.6 kB / 16.42 MB, free: 6.523 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.001066/0.001066, allocations: 182 kB / 17.36 MB, free: 5.746 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.352/1.352, 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.07123/0.07124, allocations: 16.72 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.513e-05, allocations: 2.281 kB / 426.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.001839/0.001873, allocations: 1.054 MB / 428 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.00248, allocations: 275.7 kB / 428.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.00257, allocations: 3.938 kB / 428.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.002733, allocations: 43.7 kB / 428.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.002961, allocations: 43.73 kB / 428.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.003106, allocations: 71.83 kB / 428.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.003421, allocations: 303.4 kB / 428.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.003483, allocations: 20.39 kB / 428.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003603, allocations: 143.5 kB / 428.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.003695, allocations: 59.58 kB / 428.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.003734, allocations: 12 kB / 429 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.003793, allocations: 19.92 kB / 429 MB, free: 8.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001212/0.003919, allocations: 189.8 kB / 429.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.166e-05/0.003967, allocations: 106.3 kB / 429.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.004004, allocations: 15.94 kB / 429.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.729e-05/0.004026, allocations: 4 kB / 429.3 MB, free: 8.168 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: 18 (16) * Number of variables: 18 (16) Notification: Performance of Bindings: time 0.0005012/0.004531, allocations: 452.9 kB / 429.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.42e-05/0.004562, allocations: 11.98 kB / 429.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001454/0.004713, allocations: 188.2 kB / 429.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simplify1: time 2.006e-05/0.00474, allocations: 11.98 kB / 429.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of Alias: time 0.0004609/0.005205, allocations: 370.1 kB / 430.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simplify2: time 9.618e-06/0.005225, allocations: 7.938 kB / 430.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001526/0.005382, allocations: 91.42 kB / 430.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Events: time 8.201e-05/0.005471, allocations: 47.78 kB / 430.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of Partitioning: time 7.384e-05/0.00555, allocations: 64.23 kB / 430.5 MB, free: 6.711 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {$SEV_1}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: $SEV_1. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) T1.color = if $SEV_1 then {255.0, 255.0, 0.0} else {0.0, 0.0, 0.0} ($RES_SIM_1)