Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.001393/0.001393, allocations: 100.4 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.001546/0.001546, allocations: 207.9 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.26/1.26, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.747/2.747, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|powCon.PCon",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.253e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.00464/0.004652, allocations: 4.329 MB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003647/0.008299, allocations: 3.128 MB / 1.162 GB, free: 20.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.008607, allocations: 37.28 kB / 1.162 GB, free: 20.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.009838, allocations: 0.618 MB / 1.163 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.01057, allocations: 480.1 kB / 1.163 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.01173, allocations: 0.8745 MB / 1.164 GB, free: 19.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.0135, allocations: 2.379 MB / 1.167 GB, free: 17.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.01455, allocations: 1.108 MB / 1.168 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006678/0.01522, allocations: 0.9036 MB / 1.169 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005613/0.01578, allocations: 0.7699 MB / 1.169 GB, free: 16.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.01599, allocations: 182.7 kB / 1.169 GB, free: 16.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.01651, allocations: 361.1 kB / 1.17 GB, free: 16.51 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00129/0.0178, allocations: 2.859 MB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0006526/0.01846, allocations: 1.76 MB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01863, allocations: 91.75 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001953/0.01882, allocations: 155.4 kB / 1.175 GB, free: 13.12 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: 300 (292) * Number of variables: 300 (284) Notification: Performance of [SIM] Bindings: time 0.004689/0.02351, allocations: 6.858 MB / 1.181 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0007342/0.02425, allocations: 0.9006 MB / 1.182 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.003209/0.02746, allocations: 4.379 MB / 1.186 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0009729/0.02843, allocations: 0.6584 MB / 1.187 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00608/0.03451, allocations: 5.574 MB / 1.193 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0006136/0.03512, allocations: 446 kB / 1.193 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003086/0.03543, allocations: 329 kB / 1.193 GB, free: 0.7578 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.001004/0.03643, allocations: 1.059 MB / 1.194 GB, free: 32 kB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0007304/0.03717, allocations: 0.5227 MB / 1.195 GB, free: 15.71 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.001444/0.03861, allocations: 1.222 MB / 1.196 GB, free: 15.12 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.00437/0.04298, allocations: 3.438 MB / 1.199 GB, free: 14.26 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002753/0.04573, allocations: 2.895 MB / 1.202 GB, free: 12.62 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.006058/0.05179, allocations: 2.103 MB / 1.204 GB, free: 11.42 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.00437/0.05616, allocations: 4.583 MB / 1.209 GB, free: 8.648 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0002238/0.05638, allocations: 110.8 kB / 1.209 GB, free: 8.574 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0006184/0.057, allocations: 0.6581 MB / 1.209 GB, free: 8.133 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01318/0.07018, allocations: 10.11 MB / 1.219 GB, free: 5.418 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.004594/0.07477, allocations: 3.423 MB / 1.223 GB, free: 4.395 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 2.074e-06/0.07478, allocations: 1.125 kB / 1.223 GB, free: 4.395 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 2.499e-05/0.0748, allocations: 1.312 kB / 1.223 GB, free: 4.391 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 0.002587/0.07739, allocations: 1.643 MB / 1.224 GB, free: 3.969 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 2.428e-05/0.07741, allocations: 11.16 kB / 1.224 GB, free: 3.965 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_3[$i1] ### Equation: [FOR-] (2) ($RES_SIM_211) [----] 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_212) [----] 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) 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_273) 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_428) 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_123) 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_375) 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_272) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_3[$i1] ### Equation: [FOR-] (2) ($RES_SIM_211) [----] 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_212) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.514831549953669] Failed to read output from testmodel.py, exit status != 0: 0.0845512542873621 0.097871572 0.076290704 Calling exit ...