Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDtest.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.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") translateModel(PNlib.Examples.DisTest.TFDtest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDtest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 107.3 kB / 16.42 MB, free: 6.5 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.001217/0.001217, allocations: 189.9 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07003/0.07003, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.307e-05, allocations: 2.281 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDtest): time 0.002135/0.002157, allocations: 2.476 MB / 429.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.005044, allocations: 2.522 MB / 431.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.005236, allocations: 15.94 kB / 432 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.005506, allocations: 174.5 kB / 432.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.005842, allocations: 194.4 kB / 432.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.00724, allocations: 1.259 MB / 433.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.008822, allocations: 2.883 MB / 436.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.009109, allocations: 341.2 kB / 436.8 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.009761, allocations: 1.009 MB / 437.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.01035, allocations: 0.665 MB / 438.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.01053, allocations: 156 kB / 438.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.01137, allocations: 0.8349 MB / 439.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001022/0.0124, allocations: 1.817 MB / 441.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004854/0.0129, allocations: 1.035 MB / 442.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.01317, allocations: 259.4 kB / 442.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000122/0.0133, allocations: 115.3 kB / 442.7 MB, free: 10.68 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if T1.durationPassedOut then T1.fire = false; elseif true then T1.fire = true; end if