Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTCfunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 108.3 kB / 19.77 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 216.8 kB / 23.07 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 230.7 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo): time 0.0852/0.0852, allocations: 16.95 MB / 330.2 MB, free: 2.031 MB / 254.1 MB " [Timeout remaining time 180] Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") translateModel(PNlib.Examples.ConTest.PCtoTCfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTCfunction") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.296e-05, allocations: 3.406 kB / 461 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTCfunction): time 0.004077/0.00411, allocations: 1.835 MB / 462.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.008427, allocations: 1.641 MB / 464.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.009048, allocations: 11.94 kB / 464.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.009652, allocations: 134.9 kB / 464.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.01059, allocations: 162.9 kB / 464.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.01286, allocations: 0.7359 MB / 465.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.01538, allocations: 1.553 MB / 467.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.0157, allocations: 85.22 kB / 467.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.01685, allocations: 0.635 MB / 467.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.01784, allocations: 477.9 kB / 468.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.01816, allocations: 92 kB / 468.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.01949, allocations: 0.6123 MB / 468.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001739/0.02123, allocations: 1.421 MB / 470.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008571/0.02208, allocations: 0.7945 MB / 471.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.02241, allocations: 72 kB / 471.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001687/0.02258, allocations: 63.52 kB / 471.3 MB, free: 7.266 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 (139) * Number of variables: 180 (170) Notification: Performance of [SIM] Bindings: time 0.004195/0.02677, allocations: 3.5 MB / 474.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000588/0.02736, allocations: 459.6 kB / 475.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.004028/0.03139, allocations: 3.474 MB / 478.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00108/0.03247, allocations: 0.6715 MB / 479.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.005027/0.0375, allocations: 3.221 MB / 482.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009498/0.03845, allocations: 0.6045 MB / 483.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006249/0.03907, allocations: 474.5 kB / 483.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001209/0.04028, allocations: 0.8564 MB / 484.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0009889/0.04127, allocations: 0.6156 MB / 485.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.00202/0.04329, allocations: 1.43 MB / 486.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004844/0.04813, allocations: 3.378 MB / 490 MB, free: 3.758 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003664/0.0518, allocations: 3.037 MB / 493 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002666/0.05446, allocations: 1.282 MB / 494.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.006192/0.06066, allocations: 4.902 MB / 499.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001722/0.06083, allocations: 60.06 kB / 499.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0009942/0.06182, allocations: 0.7183 MB / 500 MB, free: 9.613 MB / 366.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (4) Integer[4] $TEV_2 [DISC] (1) protected Integer P1.enableOut.Index [DISC] (1) protected Integer P1.enableOut.k [DISC] (1) protected Integer P1.enableOut.nTAout [DISC] (1) protected discrete Real P1.enableOut.arcWeightSum [DISC] (1) protected Integer P1.enableIn.Index [DISC] (1) protected Boolean P1.enableIn.endWhile [DISC] (1) protected discrete Real P1.enableIn.sumEnablingProbTAin [DISC] (1) protected Integer P1.enableIn.posTE [DISC] (1) protected Integer P1.enableIn.k [DISC] (1) protected Integer P1.enableIn.nTAin [DISC] (1) protected Integer P1.enableIn.nremTAin [DISC] (1) protected discrete Real P1.enableIn.arcWeightSum Following equations were created by fixing variables: [SCAL] (1) $PRE.P1.disMarksOut.anytrue = $START.P1.disMarksOut.anytrue ($RES_SRT_233) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_232) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_231) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_230) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8490031409892254] Failed to read output from testmodel.py, exit status != 0: 0.07445196900516748 0.088688152 0.062960546 Calling exit ...