Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.PCtoTC.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.002053/0.002053, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.0016/0.0016, allocations: 209.5 kB / 23.06 MB, free: 4.984 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.55/1.55, allocations: 230.7 MB / 256.9 MB, free: 7.777 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.08098/0.08098, allocations: 16.95 MB / 330.2 MB, free: 2.117 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.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") translateModel(PNlib.Examples.ConTest.PCtoTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="P1.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.PCtoTC") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.409e-05, allocations: 3.406 kB / 461 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.PCtoTC): time 0.003476/0.0035, allocations: 1.834 MB / 462.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.007195, allocations: 1.637 MB / 464.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002913/0.007487, allocations: 15.94 kB / 464.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.007909, allocations: 134.9 kB / 464.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.008458, allocations: 166.9 kB / 464.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.01028, allocations: 0.736 MB / 465.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.01206, allocations: 1.553 MB / 467.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.01229, allocations: 91.72 kB / 467.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.01302, allocations: 0.6272 MB / 467.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.01367, allocations: 481.9 kB / 468.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.01383, allocations: 92 kB / 468.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.01485, allocations: 0.6162 MB / 469 MB, free: 9.648 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001304/0.01616, allocations: 1.417 MB / 470.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000599/0.01676, allocations: 0.7828 MB / 471.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.01693, allocations: 72 kB / 471.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001514/0.01709, allocations: 75.5 kB / 471.3 MB, free: 7.281 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.00437/0.02146, allocations: 3.484 MB / 474.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006733/0.02213, allocations: 470.9 kB / 475.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.004082/0.02621, allocations: 3.474 MB / 478.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001133/0.02734, allocations: 0.6598 MB / 479.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.004732/0.03208, allocations: 3.226 MB / 482.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000925/0.033, allocations: 0.6041 MB / 483.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005981/0.0336, allocations: 470.5 kB / 483.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001264/0.03486, allocations: 0.8604 MB / 484.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.001005/0.03587, allocations: 0.6171 MB / 485.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.001975/0.03784, allocations: 1.43 MB / 486.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.004644/0.04249, allocations: 3.364 MB / 489.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003628/0.04612, allocations: 3.04 MB / 493 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.002435/0.04855, allocations: 1.278 MB / 494.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.00575/0.0543, allocations: 4.895 MB / 499.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0001609/0.05446, allocations: 60 kB / 499.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.001023/0.05548, allocations: 0.7339 MB / 499.9 MB, free: 9.645 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_232) [SCAL] (1) $PRE.P1.disMarksIn.anytrue = $START.P1.disMarksIn.anytrue ($RES_SRT_231) [ARRY] (4) $PRE.P1.enableIn.state128 = $START.P1.enableIn.state128 ($RES_SRT_230) [ARRY] (4) $PRE.P1.enableOut.state128 = $START.P1.enableOut.state128 ($RES_SRT_229) 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.7683429589960724] Failed to read output from testmodel.py, exit status != 0: 0.0679993630037643 0.08226928500000001 0.062099752 Calling exit ...