Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.TFDoutCap.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.TFDoutCap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDoutCap") translateModel(PNlib.Examples.DisTest.TFDoutCap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.activeIn|T1.activeOut|T1.fire|T1.fireIn|T1.fireOut|T2.active|T2.fire|T3.active|T3.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TFDoutCap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 106 kB / 16.38 MB, free: 6.43 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.0009044/0.0009045, allocations: 189.3 kB / 17.31 MB, free: 5.777 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.234/1.234, 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.07016/0.07016, allocations: 16.72 MB / 307.9 MB, free: 14.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.307e-05, allocations: 2.281 kB / 373 MB, free: 48.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.TFDoutCap): time 0.003364/0.003405, allocations: 3.283 MB / 376.3 MB, free: 47.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.007278, allocations: 2.914 MB / 379.2 MB, free: 47.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.007658, allocations: 20.16 kB / 379.2 MB, free: 47.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.008262, allocations: 289.5 kB / 379.5 MB, free: 47.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.008735, allocations: 287 kB / 379.8 MB, free: 47.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.01067, allocations: 1.421 MB / 381.2 MB, free: 47.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003299/0.01398, allocations: 3.662 MB / 384.8 MB, free: 46.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.01474, allocations: 0.6317 MB / 385.5 MB, free: 46.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.01616, allocations: 1.395 MB / 386.9 MB, free: 45.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.01732, allocations: 1.17 MB / 388 MB, free: 44.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003914/0.01773, allocations: 280.5 kB / 388.3 MB, free: 44.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.0192, allocations: 0.9784 MB / 389.3 MB, free: 44.67 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001722/0.02093, allocations: 3.045 MB / 392.3 MB, free: 42.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007582/0.0217, allocations: 1.656 MB / 394 MB, free: 41.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007136/0.02242, allocations: 434.4 kB / 394.4 MB, free: 41.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003157/0.02274, allocations: 181.7 kB / 394.6 MB, free: 41.17 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if T1.durationPassedOut then T1.fire = false; elseif true then T1.fire = true; end if