Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.FiveTimes.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.FiveTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P10.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|P9.t|T1.active|T1.fire|T2.active|T2.fire|T3.activeIn|T3.activeOut|T3.fire|T3.fireIn|T3.fireOut|T4.active|T4.fire|T5.fire|T5.instantaneousSpeed|T5.maximumSpeed|T6.active|T6.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.FiveTimes") translateModel(PNlib.Examples.DisTest.FiveTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P10.t|P2.t|P3.t|P4.t|P5.t|P6.t|P7.t|P8.t|P9.t|T1.active|T1.fire|T2.active|T2.fire|T3.activeIn|T3.activeOut|T3.fire|T3.fireIn|T3.fireOut|T4.active|T4.fire|T5.fire|T5.instantaneousSpeed|T5.maximumSpeed|T6.active|T6.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.FiveTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001193/0.001193, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.262/1.262, allocations: 222.9 MB / 241.1 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.07076/0.07076, allocations: 16.73 MB / 307.9 MB, free: 14.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.228e-05, allocations: 2.281 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.FiveTimes): time 0.006482/0.006513, allocations: 9.636 MB / 436.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.02069, allocations: 8.466 MB / 445.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.02352, allocations: 67.69 kB / 445.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.02541, allocations: 0.9414 MB / 446.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.02755, allocations: 0.9765 MB / 447 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007901/0.03546, allocations: 4.586 MB / 451.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01813/0.0536, allocations: 14.77 MB / 466.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004136/0.05777, allocations: 2.301 MB / 468.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009667/0.06746, allocations: 5.337 MB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007348/0.07484, allocations: 4.074 MB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.07787, allocations: 0.9687 MB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.08202, allocations: 1.924 MB / 481 MB, free: 4.215 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01109/0.09313, allocations: 10.62 MB / 491.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.005542/0.09871, allocations: 5.836 MB / 497.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004305/0.103, allocations: 1.526 MB / 499 MB, free: 2.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001633/0.1047, allocations: 0.6791 MB / 499.7 MB, free: 1.348 MB / 366.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if T3.durationPassedOut then T3.fire = false; elseif true then T3.fire = true; end if