Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.001117/0.001117, allocations: 104.3 kB / 19.71 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.001186/0.001186, allocations: 209.7 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.252/1.252, 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.734/2.734, allocations: 0.49 GB / 0.7958 GB, free: 35.5 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.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.918e-06/9.918e-06, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003149/0.003159, allocations: 2.915 MB / 1.158 GB, free: 23.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.005402, allocations: 1.87 MB / 1.16 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.005554, allocations: 16.5 kB / 1.16 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.006442, allocations: 426.4 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.006969, allocations: 324.9 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.00762, allocations: 421.3 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.008352, allocations: 0.994 MB / 1.162 GB, free: 21.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.008791, allocations: 461.3 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.009118, allocations: 410.3 kB / 1.163 GB, free: 20.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.009407, allocations: 359.4 kB / 1.163 GB, free: 20.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.009496, allocations: 63.59 kB / 1.163 GB, free: 20.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.009796, allocations: 181.5 kB / 1.163 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005972/0.01039, allocations: 1.256 MB / 1.164 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002622/0.01066, allocations: 0.8031 MB / 1.165 GB, free: 19.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.01073, allocations: 38.62 kB / 1.165 GB, free: 19.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.704e-05/0.0108, allocations: 64.03 kB / 1.165 GB, free: 19.02 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: 119 (117) * Number of variables: 119 (115) Notification: Performance of [SIM] Bindings: time 0.002043/0.01285, allocations: 2.975 MB / 1.168 GB, free: 17 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002934/0.01314, allocations: 344.9 kB / 1.169 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001001/0.01414, allocations: 1.355 MB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003687/0.01451, allocations: 295.6 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002081/0.01659, allocations: 2.038 MB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002404/0.01683, allocations: 220.3 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001185/0.01695, allocations: 145.1 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004064/0.01736, allocations: 445 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002131/0.01757, allocations: 188.4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004618/0.01803, allocations: 488 kB / 1.174 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001492/0.01952, allocations: 1.311 MB / 1.175 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007169/0.02024, allocations: 1.014 MB / 1.176 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.003297/0.02354, allocations: 1.072 MB / 1.177 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00106/0.0246, allocations: 1.487 MB / 1.178 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.818e-05/0.02467, allocations: 52.12 kB / 1.178 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001623/0.02484, allocations: 253.6 kB / 1.179 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004221/0.02906, allocations: 3.77 MB / 1.182 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0007455/0.0298, allocations: 0.6602 MB / 1.183 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.22e-07/0.0298, allocations: 0 / 1.183 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.085e-06/0.02981, allocations: 1.469 kB / 1.183 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.000678/0.03049, allocations: 0.5516 MB / 1.183 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.558e-06/0.0305, allocations: 7.375 kB / 1.183 GB, free: 9.727 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) staBy.outPort[$i1].available = if $SEV_3[$i1] then staBy.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 = 7) ---------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [DISC] (2) Boolean[2] staBy.outPort.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean transition2.inPort.available ### Equation: [SCAL] (1) staBy.outPort[1].available = transition2.inPort.available ($RES_SIM_98) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_1 ### Equation: [SCAL] (1) $SEV_1 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_162) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean transition2.enableFire ### Equation: [SCAL] (1) transition2.enableFire = $SEV_1 ($RES_SIM_79) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean transition2.fire ### Equation: [SCAL] (1) transition2.enableFire = transition2.fire ($RES_SIM_154) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: staBy.outPort[1].reset ### Equation: [SCAL] (1) staBy.outPort[1].reset = transition2.fire ($RES_SIM_97) 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) staBy.outPort[$i1].available = if $SEV_3[$i1] then staBy.localActive else $SEV_4[$i1] ($RES_SIM_70) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.429865373764187] Failed to read output from testmodel.py, exit status != 0: 0.03682889277115464 0.046975208000000004 0.033948035 Calling exit ...