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.001003/0.001003, allocations: 106.6 kB / 16.42 MB, free: 6.453 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.001065/0.001065, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.06857/0.06857, allocations: 16.73 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.755e-05, allocations: 2.281 kB / 427 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.SingleTD): time 0.001487/0.001513, allocations: 1.043 MB / 428 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.002057, allocations: 279.7 kB / 428.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.002144, allocations: 11.94 kB / 428.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.002284, allocations: 35.72 kB / 428.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.002488, allocations: 43.72 kB / 428.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.002614, allocations: 71.83 kB / 428.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.002891, allocations: 307.3 kB / 428.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.002955, allocations: 16.41 kB / 428.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.003073, allocations: 139.5 kB / 428.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.00316, allocations: 63.58 kB / 428.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.003193, allocations: 8 kB / 428.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.00325, allocations: 23.92 kB / 429 MB, free: 8.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000109/0.003365, allocations: 189.8 kB / 429.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.305e-05/0.003403, allocations: 106.3 kB / 429.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.003431, allocations: 15.94 kB / 429.3 MB, free: 8.172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.487e-05/0.00345, allocations: 0 / 429.3 MB, free: 8.172 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.0004454/0.0039, allocations: 448.9 kB / 429.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.027e-05/0.003927, allocations: 11.98 kB / 429.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001292/0.004061, allocations: 192.3 kB / 429.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simplify1: time 1.607e-05/0.004083, allocations: 11.98 kB / 429.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of Alias: time 0.0003608/0.004448, allocations: 370.1 kB / 430.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simplify2: time 8.246e-06/0.004465, allocations: 3.984 kB / 430.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of Events: time 6.712e-05/0.004537, allocations: 51.19 kB / 430.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001162/0.004659, allocations: 99.75 kB / 430.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of Partitioning: time 6.536e-05/0.004731, allocations: 68.22 kB / 430.5 MB, free: 6.703 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)