Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1.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.001478/0.001478, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001989/0.001989, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.537/1.537, 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.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.049e-05, allocations: 6.219 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002786/0.002817, allocations: 1.527 MB / 380.5 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004923, allocations: 0.8498 MB / 381.3 MB, free: 112 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.00498, allocations: 0 / 381.3 MB, free: 112 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.005085, allocations: 11.86 kB / 381.3 MB, free: 100 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.005176, allocations: 27.8 kB / 381.3 MB, free: 72 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.005459, allocations: 55.88 kB / 381.4 MB, free: 16 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1979/0.2034, allocations: 164.1 kB / 381.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2035, allocations: 27.22 kB / 381.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009307/0.2044, allocations: 0.638 MB / 382.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2046, allocations: 87.22 kB / 382.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.2047, allocations: 11.28 kB / 382.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.704e-05/0.2047, allocations: 19.03 kB / 382.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002566/0.205, allocations: 235.8 kB / 382.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.741e-05/0.205, allocations: 119.2 kB / 382.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.2051, allocations: 12.25 kB / 382.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.514e-05/0.2051, allocations: 5.094 kB / 382.7 MB, free: 12.99 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: 16 (10) * Number of variables: 16 (16) Notification: Performance of [SIM] Bindings: time 0.0007391/0.2059, allocations: 0.6747 MB / 383.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.223e-05/0.206, allocations: 76.27 kB / 383.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004619/0.2064, allocations: 442.3 kB / 383.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002124/0.2066, allocations: 167 kB / 384 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008559/0.2075, allocations: 0.4944 MB / 384.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001898/0.2077, allocations: 170.2 kB / 384.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001429/0.2078, allocations: 129.2 kB / 384.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003416/0.2082, allocations: 206.3 kB / 385 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002869/0.2084, allocations: 140 kB / 385.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003926/0.2088, allocations: 285.7 kB / 385.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0004753/0.2093, allocations: 310.5 kB / 385.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005062/0.2098, allocations: 467.9 kB / 386.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004876/0.2103, allocations: 345.9 kB / 386.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0007013/0.211, allocations: 0.6911 MB / 387.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.697e-05/0.211, allocations: 18.41 kB / 387.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003351/0.2114, allocations: 298.3 kB / 387.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0009226/0.2123, allocations: 0.8025 MB / 388.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.225e-05/0.2123, allocations: 5.156 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.3e-07/0.2123, allocations: 1.031 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.38e-06/0.2123, allocations: 4 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.074e-06/0.2123, allocations: 3.062 kB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.096e-06/0.2123, allocations: 6.125 kB / 388.4 MB, free: 10.67 MB / 302.1 MB Error: Internal error NFExpression.makeZero failed for: enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 15) ----------------------------------------------------------------------- ### Variables: [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Mux2x1.inertialDelaySensitive.y (fixed = true, start = Modelica.Electrical.Digital.Interfaces.Logic.'U') [PRE-] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $PRE.Mux2x1.inertialDelaySensitive.y [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Mux2x1.inertialDelaySensitive.y_auxiliary (fixed = true, start = Mux2x1.inertialDelaySensitive.y0) [DISC] (1) Boolean $SEV_6 [DISC] (1) Boolean $SEV_5 [DISC] (1) Boolean $SEV_4 [DISC] (1) protected Real Mux2x1.inertialDelaySensitive.delayTime [DISC] (1) protected Integer Mux2x1.inertialDelaySensitive.lh [DISC] (1) Boolean $SEV_3 [DISC] (1) Boolean $SEV_2 [DISC] (1) Boolean $SEV_1 [DISC] (1) Boolean $SEV_0 [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Mux2x1.inertialDelaySensitive.y_old (fixed = true, start = Mux2x1.inertialDelaySensitive.y0) [DISC] (1) protected discrete Real Mux2x1.inertialDelaySensitive.t_next [DISC] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $TEV_0 ### Equation: [ALGO] (15) ($RES_SIM_4) [----] $SEV_5 := time >= Mux2x1.inertialDelaySensitive.t_next; [----] $SEV_4 := Mux2x1.inertialDelaySensitive.lh == 0 or abs(Mux2x1.inertialDelaySensitive.delayTime) < 2.2250738585072014e-308; [----] $SEV_3 := Mux2x1.inertialDelaySensitive.lh < 0; [----] $SEV_2 := Mux2x1.inertialDelaySensitive.lh > 0; [----] $TEV_0 := $PRE.Mux2x1.inertialDelaySensitive.y; [----] $SEV_1 := true; [----] Mux2x1.inertialDelaySensitive.y_old := if $SEV_1 then Mux2x1.inertialDelaySensitive.y0 else $TEV_0; [----] Mux2x1.inertialDelaySensitive.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[Mux2x1.inertialDelaySensitive.y_old, Mux2x1.yy]; [----] Mux2x1.inertialDelaySensitive.delayTime := if $SEV_2 then Mux2x1.inertialDelaySensitive.tLH else if $SEV_3 then Mux2x1.inertialDelaySensitive.tHL else 0.0; [----] Mux2x1.inertialDelaySensitive.t_next := time + Mux2x1.inertialDelaySensitive.delayTime; [----] if $SEV_4 then [----] Mux2x1.inertialDelaySensitive.y_auxiliary := Mux2x1.yy; [----] end if; [----] $SEV_6 := Mux2x1.inertialDelaySensitive.tLH > 0.0 or Mux2x1.inertialDelaySensitive.tHL > 0.0; [----] Mux2x1.inertialDelaySensitive.y := if $SEV_6 then Mux2x1.inertialDelaySensitive.y_auxiliary else Mux2x1.yy; [----] $PRE.Mux2x1.yy := Mux2x1.yy; [----] $SEV_0 := false; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5182552579790354] Failed to read output from testmodel.py, exit status != 0: ['time', 'Mux2x1.out'] 0.2199756600894034 0.23260292999999996 0.024885857 Calling exit ...