Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.001391/0.001391, allocations: 101.3 kB / 19.72 MB, free: 2.121 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.001557/0.001557, allocations: 208.6 kB / 23.01 MB, free: 4.93 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.302/1.302, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.829/2.829, allocations: 0.49 GB / 0.7958 GB, free: 35.41 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.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.85e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.002677/0.002695, allocations: 2.106 MB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.00398, allocations: 0.8879 MB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.004097, allocations: 11.28 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.004246, allocations: 55.91 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.004412, allocations: 64.86 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.004879, allocations: 263.9 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.005473, allocations: 0.7032 MB / 1.159 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.005882, allocations: 358.4 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.006114, allocations: 266.9 kB / 1.16 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.006354, allocations: 252.6 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.991e-05/0.006444, allocations: 69.06 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.006579, allocations: 85.22 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004467/0.007026, allocations: 0.8783 MB / 1.161 GB, free: 21.56 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001854/0.007212, allocations: 0.4998 MB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.007278, allocations: 30.09 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.668e-05/0.007355, allocations: 69.56 kB / 1.161 GB, free: 21.17 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: 116 (112) * Number of variables: 116 (108) Notification: Performance of [SIM] Bindings: time 0.001674/0.009028, allocations: 2.08 MB / 1.163 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002833/0.009312, allocations: 349.2 kB / 1.164 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001239/0.01055, allocations: 1.566 MB / 1.165 GB, free: 18.51 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004057/0.01096, allocations: 307.6 kB / 1.166 GB, free: 18.3 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002312/0.01327, allocations: 2.101 MB / 1.168 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000276/0.01354, allocations: 250.8 kB / 1.168 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001602/0.0137, allocations: 177.9 kB / 1.168 GB, free: 16.65 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005154/0.01422, allocations: 0.5107 MB / 1.169 GB, free: 16.26 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003207/0.01454, allocations: 249.5 kB / 1.169 GB, free: 16.12 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000642/0.01518, allocations: 0.5897 MB / 1.169 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002025/0.01721, allocations: 1.669 MB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001017/0.01822, allocations: 1.339 MB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0009106/0.01913, allocations: 0.6974 MB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001279/0.02041, allocations: 1.779 MB / 1.175 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.3e-05/0.0205, allocations: 52.28 kB / 1.175 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001784/0.02067, allocations: 299.2 kB / 1.175 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004194/0.02487, allocations: 3.544 MB / 1.179 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0007898/0.02566, allocations: 0.6775 MB / 1.179 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.02566, allocations: 5.25 kB / 1.179 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.095e-05/0.02567, allocations: 1 kB / 1.179 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.0007658/0.02644, allocations: 0.5551 MB / 1.18 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.148e-05/0.02645, allocations: 4.156 kB / 1.18 GB, free: 11.66 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_69) [----] for $i1 in 1:2 loop [----] [SCAL] (1) cooModCon.parMecCoo.inPort[$i1].occupied = if $SEV_3[$i1] then cooModCon.parMecCoo.localActive else $SEV_4[$i1] ($RES_SIM_70) [----] 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 cooModCon.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 = (cooModCon.con1.localCondition and cooModCon.con1.inPort.available) and not cooModCon.con1.outPort.occupied ($RES_EVT_156) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean cooModCon.con1.enableFire ### Equation: [SCAL] (1) cooModCon.con1.enableFire = $SEV_1 ($RES_SIM_78) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_0 ### Equation: [SCAL] (1) $SEV_0 = cooModCon.con1.enableFire and time >= (cooModCon.con1.t_start + cooModCon.con1.waitTime) ($RES_EVT_155) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean cooModCon.con1.fire ### Equation: [SCAL] (1) cooModCon.con1.fire = $SEV_0 ($RES_SIM_79) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: cooModCon.parMecCoo.inPort[1].occupied ### Equation: [SCAL] (1) cooModCon.con1.outPort.occupied = cooModCon.parMecCoo.inPort[1].occupied ($RES_SIM_106) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: cooModCon.parMecCoo.inPort[1].set ### Equation: [SCAL] (1) cooModCon.con1.fire = cooModCon.parMecCoo.inPort[1].set ($RES_SIM_105) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_69) [----] for $i1 in 1:2 loop [----] [SCAL] (1) cooModCon.parMecCoo.inPort[$i1].occupied = if $SEV_3[$i1] then cooModCon.parMecCoo.localActive else $SEV_4[$i1] ($RES_SIM_70) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.672362565994263] Failed to read output from testmodel.py, exit status != 0: 0.033492535818368196 0.045261244000000006 0.035257411 Calling exit ...