Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD.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.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") translateModel(PNlib.Examples.ExtTest.TAwithPDtoTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|P3.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.ExtTest.TAwithPDtoTD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 116 kB / 16.43 MB, free: 6.461 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.001405/0.001405, allocations: 181.5 kB / 17.35 MB, free: 5.73 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.375/1.375, allocations: 222.9 MB / 241 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.07257/0.07257, allocations: 16.72 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.36e-05, allocations: 2.281 kB / 426.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithPDtoTD): time 0.00384/0.003872, allocations: 3.583 MB / 430.5 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006057/0.009943, allocations: 3.283 MB / 433.8 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.01156, allocations: 19.94 kB / 433.8 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.01266, allocations: 293.5 kB / 434.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.01435, allocations: 401.3 kB / 434.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.01918, allocations: 1.681 MB / 436.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006327/0.02554, allocations: 4.544 MB / 440.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.02693, allocations: 0.6766 MB / 441.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.03031, allocations: 1.644 MB / 443.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.03243, allocations: 1.116 MB / 444.2 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.0335, allocations: 264 kB / 444.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.03615, allocations: 0.9404 MB / 445.4 MB, free: 8.102 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003552/0.03972, allocations: 3.076 MB / 448.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001534/0.04127, allocations: 1.786 MB / 450.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.04226, allocations: 423.5 kB / 450.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005633/0.04284, allocations: 234.5 kB / 450.9 MB, free: 2.535 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 (429) * Number of variables: 581 (511) Notification: Performance of Bindings: time 0.01208/0.05493, allocations: 10.08 MB / 461 MB, free: 8.188 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003647/0.05531, allocations: 365.7 kB / 461.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of Early Inline: time 0.01155/0.06687, allocations: 10.23 MB / 471.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplify1: time 0.000432/0.06734, allocations: 291.5 kB / 471.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Alias: time 0.01017/0.07752, allocations: 7.569 MB / 479.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simplify2: time 0.0003263/0.07789, allocations: 243.6 kB / 479.6 MB, free: 4.746 MB / 350.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, false}).