Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions.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.001825/0.001825, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.002007/0.002007, allocations: 205.1 kB / 24.49 MB, free: 3.949 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|compositeStep.compositeStep11.transition.enableFire|compositeStep.compositeStep12.transition.enableFire|compositeStep.transition1.enableFire|compositeStep.transition2.enableFire|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions") translateModel(Modelica.StateGraph.Examples.ShowExceptions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5016,variableFilter="time|compositeStep.compositeStep11.transition.enableFire|compositeStep.compositeStep12.transition.enableFire|compositeStep.transition1.enableFire|compositeStep.transition2.enableFire|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.StateGraph.Examples.ShowExceptions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.574e-05, allocations: 6.219 kB / 378.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowExceptions): time 0.242/0.242, allocations: 2.541 MB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.245, allocations: 1.273 MB / 382.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.2454, allocations: 28.69 kB / 382.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.2457, allocations: 147.4 kB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2461, allocations: 106.4 kB / 383 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.2481, allocations: 0.7552 MB / 383.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00287/0.251, allocations: 1.834 MB / 385.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.2526, allocations: 0.9164 MB / 386.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.2535, allocations: 0.6841 MB / 387.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000705/0.2542, allocations: 0.6277 MB / 387.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.2545, allocations: 179.8 kB / 388 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2548, allocations: 185.7 kB / 388.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001586/0.2564, allocations: 2.131 MB / 390.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008444/0.2572, allocations: 1.212 MB / 391.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.2575, allocations: 67.62 kB / 391.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002784/0.2577, allocations: 198.8 kB / 391.8 MB, free: 8.324 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 (297) * Number of variables: 299 (295) Notification: Performance of [SIM] Bindings: time 0.00604/0.2638, allocations: 4.763 MB / 396.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001698/0.2655, allocations: 1.025 MB / 397.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.005063/0.2705, allocations: 3.814 MB / 401.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001478/0.272, allocations: 0.6266 MB / 402 MB, free: 1.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0102/0.2822, allocations: 5.265 MB / 407.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009596/0.2832, allocations: 437.4 kB / 407.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004684/0.2836, allocations: 336.5 kB / 408 MB, free: 12.95 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001785/0.2854, allocations: 1.101 MB / 409.1 MB, free: 12 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0008625/0.2863, allocations: 483 kB / 409.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00194/0.2882, allocations: 1.283 MB / 410.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006364/0.2946, allocations: 3.786 MB / 414.7 MB, free: 8.223 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003276/0.2979, allocations: 2.709 MB / 417.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002709/0.3006, allocations: 1.176 MB / 418.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003987/0.3046, allocations: 3.607 MB / 422.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002762/0.3048, allocations: 101.3 kB / 422.3 MB, free: 408 kB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0009639/0.3058, allocations: 0.6167 MB / 422.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.01337/0.3192, allocations: 7.84 MB / 430.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0009665/0.3201, allocations: 0.6473 MB / 431.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 1.784e-06/0.3201, allocations: 0 / 431.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.134e-05/0.3202, allocations: 2 kB / 431.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0008889/0.3211, allocations: 0.523 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 4.749e-05/0.3211, allocations: 16.12 kB / 431.9 MB, free: 6.453 MB / 334.1 MB Error: Internal error NFExpression.makeOne failed for: Boolean Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_17[$i1] ### Equation: [FOR-] (2) ($RES_SIM_101) [----] for $i1 in 1:2 loop [----] [SCAL] (1) compositeStep.Alternative1.split[$i1].available = if $SEV_16[$i1] then compositeStep.Alternative1.inPort.available else $SEV_17[$i1] ($RES_SIM_102) [----] end for; Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Algebraic Loop (Linear = false, Mixed = true, Homotopy = false, size = 7) ---------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [DISC] (2) Boolean[2] compositeStep.Alternative1.split.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean compositeStep.transition1.inPort.available ### Equation: [SCAL] (1) compositeStep.transition1.inPort.available = compositeStep.Alternative1.split[1].available ($RES_SIM_249) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_0 ### Equation: [SCAL] (1) $SEV_0 = (compositeStep.transition1.localCondition and compositeStep.transition1.inPort.available) and not compositeStep.transition1.outPort.occupied ($RES_EVT_402) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean compositeStep.transition1.enableFire ### Equation: [SCAL] (1) compositeStep.transition1.enableFire = $SEV_0 ($RES_SIM_204) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean compositeStep.transition1.fire ### Equation: [SCAL] (1) compositeStep.transition1.enableFire = compositeStep.transition1.fire ($RES_SIM_388) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: compositeStep.Alternative1.split[1].reset ### Equation: [SCAL] (1) compositeStep.transition1.fire = compositeStep.Alternative1.split[1].reset ($RES_SIM_248) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_17[$i1] ### Equation: [FOR-] (2) ($RES_SIM_101) [----] for $i1 in 1:2 loop [----] [SCAL] (1) compositeStep.Alternative1.split[$i1].available = if $SEV_16[$i1] then compositeStep.Alternative1.inPort.available else $SEV_17[$i1] ($RES_SIM_102) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5925924689508975] Failed to read output from testmodel.py, exit status != 0: ['time', 'compositeStep.compositeStep11.transition.enableFire', 'compositeStep.compositeStep12.transition.enableFire', 'compositeStep.transition1.enableFire', 'compositeStep.transition2.enableFire', 'compositeStep.transition3.enableFire', 'compositeStep.transition4.enableFire', 'transition1.enableFire', 'transition2.enableFire', 'transition3.enableFire', 'transition4.enableFire'] 0.33056295895949006 0.345547885 0.08464787900000001 Calling exit ...