Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed.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.001356/0.001356, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001455/0.001455, allocations: 211.4 kB / 23 MB, free: 4.965 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.231/1.231, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.71/2.71, allocations: 0.49 GB / 0.7958 GB, free: 35.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatPumSpe.dpMea|chiWatPumSpe.masFloPum|chiWatPumSpe.y.1.|chiWatPumSpe.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiWatPumSpe.dpMea|chiWatPumSpe.masFloPum|chiWatPumSpe.y.1.|chiWatPumSpe.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.314e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChilledWaterPumpSpeed): time 0.003506/0.003519, allocations: 3.282 MB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.005746, allocations: 1.91 MB / 1.16 GB, free: 21.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.00596, allocations: 24.03 kB / 1.16 GB, free: 21.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.006314, allocations: 176.7 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.00675, allocations: 235.7 kB / 1.16 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.007677, allocations: 0.7136 MB / 1.161 GB, free: 21.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.008721, allocations: 1.528 MB / 1.163 GB, free: 20.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006864/0.009407, allocations: 0.7284 MB / 1.163 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.009789, allocations: 0.5408 MB / 1.164 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.01019, allocations: 0.4912 MB / 1.164 GB, free: 19.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.01037, allocations: 154.5 kB / 1.165 GB, free: 19.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.01063, allocations: 202.4 kB / 1.165 GB, free: 19.23 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0008119/0.01144, allocations: 1.872 MB / 1.167 GB, free: 17.88 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000327/0.01177, allocations: 1.072 MB / 1.168 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.01188, allocations: 59.06 kB / 1.168 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001246/0.012, allocations: 96.16 kB / 1.168 GB, free: 17.05 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 (184) * Number of variables: 190 (179) Notification: Performance of [SIM] Bindings: time 0.002769/0.01477, allocations: 4.203 MB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004366/0.01521, allocations: 0.575 MB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.00237/0.01758, allocations: 3.297 MB / 1.176 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0008003/0.01838, allocations: 0.5956 MB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.004007/0.02238, allocations: 4.094 MB / 1.18 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0005108/0.02289, allocations: 487.8 kB / 1.181 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003198/0.02321, allocations: 385.1 kB / 1.181 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0007217/0.02394, allocations: 0.8037 MB / 1.182 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003333/0.02427, allocations: 325.6 kB / 1.182 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0007385/0.02501, allocations: 0.7917 MB / 1.183 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002328/0.02734, allocations: 2.073 MB / 1.185 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001524/0.02886, allocations: 2.132 MB / 1.187 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.003285/0.03214, allocations: 1.606 MB / 1.189 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.002349/0.03449, allocations: 3.407 MB / 1.192 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 0.0001235/0.03462, allocations: 75.42 kB / 1.192 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0005207/0.03514, allocations: 0.7739 MB / 1.193 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.01355/0.04869, allocations: 11.41 MB / 1.204 GB, free: 14.74 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.002144/0.05084, allocations: 1.754 MB / 1.206 GB, free: 14.21 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 1.282e-06/0.05084, allocations: 0 / 1.206 GB, free: 14.21 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 1.41e-05/0.05085, allocations: 6.625 kB / 1.206 GB, free: 14.21 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 0.0008405/0.05169, allocations: 0.577 MB / 1.206 GB, free: 14.07 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.12e-05/0.0517, allocations: 4.219 kB / 1.206 GB, free: 14.07 MB / 0.92 GB 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_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_97) [----] for $i1 in 1:2 loop [----] [SCAL] (1) chiWatPumSpe.pumStaCon.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then chiWatPumSpe.pumStaCon.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_98) [----] 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 = 8) ---------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [DISC] (1) Boolean chiWatPumSpe.pumStaCon.con1.outPort.occupied; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_1 ### Equation: [SCAL] (1) $SEV_1 = (chiWatPumSpe.pumStaCon.con1.localCondition and chiWatPumSpe.pumStaCon.con1.inPort.available) and not chiWatPumSpe.pumStaCon.con1.outPort.occupied ($RES_EVT_234) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean chiWatPumSpe.pumStaCon.con1.enableFire ### Equation: [SCAL] (1) chiWatPumSpe.pumStaCon.con1.enableFire = $SEV_1 ($RES_SIM_106) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_0 ### Equation: [SCAL] (1) $SEV_0 = chiWatPumSpe.pumStaCon.con1.enableFire and time >= (chiWatPumSpe.pumStaCon.con1.t_start + chiWatPumSpe.pumStaCon.con1.waitTime) ($RES_EVT_233) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean chiWatPumSpe.pumStaCon.con1.fire ### Equation: [SCAL] (1) chiWatPumSpe.pumStaCon.con1.fire = $SEV_0 ($RES_SIM_107) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: chiWatPumSpe.pumStaCon.oneOn.inPort[1].occupied ### Equation: [SCAL] (1) chiWatPumSpe.pumStaCon.con1.outPort.occupied = chiWatPumSpe.pumStaCon.oneOn.inPort[1].occupied ($RES_SIM_186) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: chiWatPumSpe.pumStaCon.oneOn.inPort[1].set ### Equation: [SCAL] (1) chiWatPumSpe.pumStaCon.con1.fire = chiWatPumSpe.pumStaCon.oneOn.inPort[1].set ($RES_SIM_185) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_97) [----] for $i1 in 1:2 loop [----] [SCAL] (1) chiWatPumSpe.pumStaCon.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then chiWatPumSpe.pumStaCon.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_98) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.417406637687236] Failed to read output from testmodel.py, exit status != 0: 0.05908603314310312 0.07226365099999994 0.05769690899999994 Calling exit ...