Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TTtoPD.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.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") translateModel(PNlib.Examples.DisTest.TTtoPD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTtoPD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001271, allocations: 110 kB / 16.42 MB, free: 5.977 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.001281/0.001281, allocations: 185.2 kB / 17.35 MB, free: 5.57 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.392/1.392, 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.07965/0.07965, allocations: 16.72 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.375e-05, allocations: 2.281 kB / 427 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TTtoPD): time 0.002471/0.002503, allocations: 1.862 MB / 428.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.005462, allocations: 1.948 MB / 430.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.005694, allocations: 15.88 kB / 430.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.006056, allocations: 111.1 kB / 430.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.0064, allocations: 131.1 kB / 431 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.007968, allocations: 0.9121 MB / 431.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.009009, allocations: 1.556 MB / 433.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.009228, allocations: 169.5 kB / 433.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.00961, allocations: 0.5649 MB / 434.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.009927, allocations: 346.4 kB / 434.6 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-05/0.01003, allocations: 72 kB / 434.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.01059, allocations: 0.4993 MB / 435.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003987/0.011, allocations: 0.9042 MB / 436 MB, free: 1.391 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001623/0.01117, allocations: 0.5349 MB / 436.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.01132, allocations: 127.7 kB / 436.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001039/0.01143, allocations: 55.67 kB / 436.7 MB, free: 0.668 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: 148 (108) * Number of variables: 148 (138) Notification: Performance of Bindings: time 0.002839/0.01427, allocations: 2.812 MB / 439.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001239/0.0144, allocations: 79.92 kB / 439.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003046/0.01746, allocations: 2.791 MB / 442.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001035/0.01757, allocations: 83.88 kB / 442.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Alias: time 0.002445/0.02003, allocations: 2.126 MB / 444.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of simplify2: time 6.393e-05/0.0201, allocations: 63.89 kB / 444.7 MB, free: 8.371 MB / 318.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).