Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.001426/0.001426, 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.001513/0.001513, allocations: 212.8 kB / 23.01 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.308/1.308, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.86/2.86, allocations: 0.49 GB / 0.7958 GB, free: 35.44 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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.684e-05, allocations: 4.25 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.003181/0.003198, allocations: 2.654 MB / 1.158 GB, free: 23.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.005552, allocations: 1.829 MB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.005698, allocations: 12.06 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.006067, allocations: 166.4 kB / 1.16 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.006498, allocations: 227.6 kB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.007362, allocations: 0.5065 MB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.008145, allocations: 0.9761 MB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.008617, allocations: 480.7 kB / 1.162 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.008938, allocations: 407 kB / 1.162 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.009237, allocations: 351.9 kB / 1.162 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.009342, allocations: 77.09 kB / 1.162 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.009608, allocations: 182 kB / 1.163 GB, free: 20.72 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005758/0.01018, allocations: 1.176 MB / 1.164 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002592/0.01044, allocations: 0.6958 MB / 1.164 GB, free: 19.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.01052, allocations: 33.81 kB / 1.165 GB, free: 19.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.876e-05/0.0106, allocations: 68.11 kB / 1.165 GB, free: 19.36 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: 123 (119) * Number of variables: 123 (117) Notification: Performance of [SIM] Bindings: time 0.002103/0.01271, allocations: 2.642 MB / 1.167 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003594/0.01307, allocations: 415.1 kB / 1.168 GB, free: 17.29 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001266/0.01433, allocations: 1.72 MB / 1.169 GB, free: 16.23 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004106/0.01474, allocations: 340.4 kB / 1.17 GB, free: 16.01 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002447/0.01719, allocations: 2.326 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003155/0.01751, allocations: 272.1 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001662/0.01767, allocations: 198.5 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.000511/0.01818, allocations: 0.532 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003103/0.01849, allocations: 270.1 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0006538/0.01915, allocations: 0.6681 MB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002073/0.02122, allocations: 1.756 MB / 1.175 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00132/0.02254, allocations: 1.48 MB / 1.177 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.003734/0.02628, allocations: 0.995 MB / 1.178 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001525/0.0278, allocations: 1.99 MB / 1.18 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.423e-05/0.02789, allocations: 54.05 kB / 1.18 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002413/0.02814, allocations: 339.8 kB / 1.18 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004981/0.03312, allocations: 4.172 MB / 1.184 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0008565/0.03397, allocations: 0.7463 MB / 1.185 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.383e-06/0.03397, allocations: 0 / 1.185 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.295e-05/0.03399, allocations: 5.844 kB / 1.185 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.001001/0.03499, allocations: 0.6579 MB / 1.186 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.707e-05/0.035, allocations: 4.344 kB / 1.186 GB, free: 8.586 MB / 0.9044 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_76) [----] for $i1 in 1:2 loop [----] [SCAL] (1) chiStaCon.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then chiStaCon.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_77) [----] 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 chiStaCon.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 = (chiStaCon.con1.localCondition and chiStaCon.con1.inPort.available) and not chiStaCon.con1.outPort.occupied ($RES_EVT_165) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean chiStaCon.con1.enableFire ### Equation: [SCAL] (1) chiStaCon.con1.enableFire = $SEV_1 ($RES_SIM_85) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_0 ### Equation: [SCAL] (1) $SEV_0 = chiStaCon.con1.enableFire and time >= (chiStaCon.con1.t_start + chiStaCon.con1.waitTime) ($RES_EVT_164) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean chiStaCon.con1.fire ### Equation: [SCAL] (1) chiStaCon.con1.fire = $SEV_0 ($RES_SIM_86) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: chiStaCon.oneOn.inPort[1].occupied ### Equation: [SCAL] (1) chiStaCon.con1.outPort.occupied = chiStaCon.oneOn.inPort[1].occupied ($RES_SIM_116) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: chiStaCon.oneOn.inPort[1].set ### Equation: [SCAL] (1) chiStaCon.con1.fire = chiStaCon.oneOn.inPort[1].set ($RES_SIM_115) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_76) [----] for $i1 in 1:2 loop [----] [SCAL] (1) chiStaCon.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then chiStaCon.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_77) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.691600240301341] Failed to read output from testmodel.py, exit status != 0: 0.04184194095432758 0.052573579 0.039659888000000004 Calling exit ...