Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.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.001368/0.001368, 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.001447/0.001447, 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.269/1.269, 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.723/2.723, allocations: 0.49 GB / 0.7958 GB, free: 35.51 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.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWat.opeMod|conWat.PEle|conWat.TWatIn|conWat.mWatSet_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.675e-05, allocations: 4.391 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.005168/0.005185, allocations: 4.817 MB / 1.16 GB, free: 22.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.009896, allocations: 3.294 MB / 1.163 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005553/0.01045, allocations: 32.09 kB / 1.163 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.01192, allocations: 0.698 MB / 1.164 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001/0.01292, allocations: 0.5629 MB / 1.164 GB, free: 19.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.0145, allocations: 0.9592 MB / 1.165 GB, free: 18.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.01677, allocations: 2.721 MB / 1.168 GB, free: 17.25 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.01805, allocations: 1.265 MB / 1.169 GB, free: 16.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008483/0.0189, allocations: 1.05 MB / 1.17 GB, free: 16.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.01958, allocations: 0.9032 MB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.0198, allocations: 202.4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006718/0.02048, allocations: 404 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0015/0.02198, allocations: 3.386 MB / 1.175 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0007444/0.02272, allocations: 2.133 MB / 1.177 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.02291, allocations: 106.6 kB / 1.177 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0002496/0.02316, allocations: 163.6 kB / 1.177 GB, free: 11.52 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: 328 (320) * Number of variables: 328 (312) Notification: Performance of [SIM] Bindings: time 0.005583/0.02874, allocations: 8.281 MB / 1.185 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0008593/0.0296, allocations: 1.022 MB / 1.186 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.003624/0.03323, allocations: 4.837 MB / 1.191 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.001145/0.03437, allocations: 0.7717 MB / 1.192 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.007378/0.04175, allocations: 6.242 MB / 1.198 GB, free: 13.96 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.0007787/0.04253, allocations: 0.5004 MB / 1.198 GB, free: 13.67 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.0004214/0.04295, allocations: 357.6 kB / 1.199 GB, free: 13.41 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.001374/0.04432, allocations: 1.154 MB / 1.2 GB, free: 12.63 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.0008293/0.04515, allocations: 0.5958 MB / 1.2 GB, free: 12.25 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.001505/0.04666, allocations: 1.317 MB / 1.202 GB, free: 11.62 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.004529/0.05119, allocations: 3.634 MB / 1.205 GB, free: 10.72 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003115/0.0543, allocations: 3.208 MB / 1.208 GB, free: 8.898 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.007577/0.06188, allocations: 2.419 MB / 1.211 GB, free: 7.57 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.005027/0.06691, allocations: 5.068 MB / 1.216 GB, free: 4.543 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.000263/0.06717, allocations: 128.1 kB / 1.216 GB, free: 4.465 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0007264/0.0679, allocations: 0.7328 MB / 1.216 GB, free: 3.977 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01617/0.08407, allocations: 12 MB / 1.228 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.005247/0.08931, allocations: 3.787 MB / 1.232 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of [SIM] Initialization: time 3.066e-06/0.08932, allocations: 1.188 kB / 1.232 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of [SIM] Remove Dummies: time 2.106e-05/0.08934, allocations: 1.312 kB / 1.232 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of [SIM] Tearing: time 0.002741/0.09208, allocations: 1.861 MB / 1.234 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of [SIM] Categorize: time 2.376e-05/0.0921, allocations: 8.703 kB / 1.234 GB, free: 14.54 MB / 0.9356 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_3[$i1] ### Equation: [FOR-] (2) ($RES_SIM_215) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_2[$i1] then con.staBy.localActive else $SEV_3[$i1] ($RES_SIM_216) [----] 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] (2) protected Boolean[2] con.staBy.outPort.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean con.transition2.inPort.available ### Equation: [SCAL] (1) con.staBy.outPort[1].available = con.transition2.inPort.available ($RES_SIM_287) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_26 ### Equation: [SCAL] (1) $SEV_26 = (con.runSig and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_467) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean con.transition2.enableFire ### Equation: [SCAL] (1) con.transition2.enableFire = $SEV_26 ($RES_SIM_127) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean con.transition2.fire ### Equation: [SCAL] (1) con.transition2.enableFire = con.transition2.fire ($RES_SIM_408) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: con.staBy.outPort[1].reset ### Equation: [SCAL] (1) con.staBy.outPort[1].reset = con.transition2.fire ($RES_SIM_286) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_3[$i1] ### Equation: [FOR-] (2) ($RES_SIM_215) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_2[$i1] then con.staBy.localActive else $SEV_3[$i1] ($RES_SIM_216) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.532738120760769] Failed to read output from testmodel.py, exit status != 0: 0.10017762193456292 0.113303707 0.087411522 Calling exit ...