Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.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.001298/0.001298, 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.001496/0.001496, allocations: 204.6 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.142e-05, allocations: 5.375 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2016/0.2016, allocations: 25.57 MB / 404.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.2179, allocations: 7.176 MB / 411.7 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.2212, allocations: 68.03 kB / 411.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004112/0.2253, allocations: 1.008 MB / 412.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.2322, allocations: 1.683 MB / 414.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007483/0.2397, allocations: 2.212 MB / 416.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.2501, allocations: 5.722 MB / 422.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004764/0.2548, allocations: 1.874 MB / 424.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.2605, allocations: 2.29 MB / 426.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/0.2648, allocations: 1.782 MB / 428.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.2665, allocations: 316 kB / 428.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.2707, allocations: 0.9169 MB / 429.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.007133/0.2778, allocations: 5.294 MB / 434.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.003826/0.2816, allocations: 3.099 MB / 437.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2826, allocations: 192 kB / 438.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0008337/0.2835, allocations: 202.8 kB / 438.3 MB, free: 1.758 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: 527 (476) * Number of variables: 527 (473) Notification: Performance of [SIM] Bindings: time 0.01882/0.3023, allocations: 12.44 MB / 450.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003143/0.3054, allocations: 1.642 MB / 452.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01493/0.3204, allocations: 10.27 MB / 462.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004326/0.3247, allocations: 1.571 MB / 464.2 MB, free: 7.258 MB / 366.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01798/0.3427, allocations: 9.969 MB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002973/0.3457, allocations: 1.338 MB / 475.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001336/0.347, allocations: 0.712 MB / 476.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.003238/0.3502, allocations: 2.136 MB / 478.4 MB, free: 7.844 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.002528/0.3528, allocations: 1.344 MB / 479.7 MB, free: 6.48 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.005429/0.3582, allocations: 3.215 MB / 482.9 MB, free: 3.113 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.01619/0.3744, allocations: 7.586 MB / 490.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01099/0.3854, allocations: 7.29 MB / 497.8 MB, free: 4.043 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.01557/0.4009, allocations: 4.381 MB / 0.4904 GB, free: 15.45 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.02039/0.4213, allocations: 11.82 MB / 0.502 GB, free: 3.59 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 0.001276/0.4226, allocations: 198.6 kB / 0.5022 GB, free: 3.348 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.00367/0.4263, allocations: 1.623 MB / 0.5038 GB, free: 1.723 MB / 414.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $PRE.shut.table.y = $START.shut.table.y ($RES_SRT_802); [SCAL] (1) $PRE.stop.table.y = $START.stop.table.y ($RES_SRT_800); [SCAL] (1) $PRE.start.table.y = $START.start.table.y ($RES_SRT_798); Notification: Performance of [INI] Causalize: time 0.04317/0.4694, allocations: 18.3 MB / 0.5216 GB, free: 14.98 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.01294/0.4824, allocations: 6.555 MB / 0.528 GB, free: 8.215 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 2.956e-06/0.4824, allocations: 0 / 0.528 GB, free: 8.215 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.374e-05/0.4824, allocations: 6.812 kB / 0.528 GB, free: 8.207 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.00819/0.4906, allocations: 4.906 MB / 0.5328 GB, free: 3.25 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 6.432e-05/0.4907, allocations: 23.92 kB / 0.5328 GB, free: 3.227 MB / 446.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_2[$i1] ### Equation: [FOR-] (2) ($RES_SIM_382) [----] for $i1 in 1:2 loop [----] [SCAL] (1) tankController.s1.inPort[$i1].occupied = if $SEV_1[$i1] then tankController.s1.localActive else $SEV_2[$i1] ($RES_SIM_383) [----] 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] (1) Boolean tankController.T2.outPort.occupied; ### Residual Equations: ### Inner Equations: BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: tankController.s1.inPort[1].occupied ### Equation: [SCAL] (1) tankController.T2.outPort.occupied = tankController.s1.inPort[1].occupied ($RES_SIM_432) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_16 ### Equation: [SCAL] (1) $SEV_16 = (tankController.T2.localCondition and tankController.normal.outPort.available) and not tankController.T2.outPort.occupied ($RES_EVT_702) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean tankController.T2.enableFire ### Equation: [SCAL] (1) tankController.T2.enableFire = $SEV_16 ($RES_SIM_297) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean tankController.T2.fire ### Equation: [SCAL] (1) tankController.T2.enableFire = tankController.T2.fire ($RES_SIM_655) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: tankController.s1.inPort[1].set ### Equation: [SCAL] (1) tankController.T2.fire = tankController.s1.inPort[1].set ($RES_SIM_431) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_2[$i1] ### Equation: [FOR-] (2) ($RES_SIM_382) [----] for $i1 in 1:2 loop [----] [SCAL] (1) tankController.s1.inPort[$i1].occupied = if $SEV_1[$i1] then tankController.s1.localActive else $SEV_2[$i1] ($RES_SIM_383) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.022235707845539] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'shut.on', 'shut.reset[1]', 'shut.reset[2]', 'start.on', 'start.reset[1]', 'start.reset[2]', 'stop.on', 'stop.reset[1]', 'stop.reset[2]', 'tankController.T1.enableFire', 'tankController.T2.enableFire', 'tankController.T3.enableFire', 'tankController.T4.enableFire', 'tankController.T5.enableFire', 'tankController.T6.enableFire', 'tankController.normal.T1.enableFire', 'tankController.normal.T2.enableFire', 'tankController.normal.T3.enableFire', 'tankController.normal.T4.enableFire'] 0.500984844751656 0.763389046 0.476271045 Calling exit ...