Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.Validation.ElectricalFollowing.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.001358/0.001358, 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.001413/0.001413, allocations: 210 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.249/1.249, 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.704/2.704, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ElectricalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|eleFol.PEleNet|PEleNetVal.y|eleFol.eneCon.QGen_flow|QGenVal_flow.y|eleFol.QWat_flow|QWatVal_flow.y|eleFol.QLos.Q_flow|QLosVal_flow.y|eleFol.opeMod.opeMod|eleFol.TWatOut.T|TWatOutVal.y|eleFol.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.Validation.ElectricalFollowing") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.289e-05, allocations: 8.328 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ElectricalFollowing): time 0.02925/0.02926, allocations: 37.48 MB / 1.192 GB, free: 68 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.04605, allocations: 10.67 MB / 1.202 GB, free: 8.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.04882, allocations: 109.1 kB / 1.202 GB, free: 8.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.0512, allocations: 0.9904 MB / 1.203 GB, free: 7.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.05552, allocations: 1.645 MB / 1.205 GB, free: 6.922 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.06, allocations: 2.146 MB / 1.207 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007221/0.06722, allocations: 6.303 MB / 1.213 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003699/0.07092, allocations: 2.614 MB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.07497, allocations: 2.358 MB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005746/0.08072, allocations: 1.773 MB / 1.22 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.08121, allocations: 415.4 kB / 1.22 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.08396, allocations: 1.479 MB / 1.221 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.004969/0.08893, allocations: 6.525 MB / 1.228 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.002801/0.09173, allocations: 4.106 MB / 1.232 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.09234, allocations: 234.9 kB / 1.232 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.0007545/0.09309, allocations: 251 kB / 1.232 GB, free: 6.746 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 (626) * Number of variables: 649 (615) Notification: Performance of [SIM] Bindings: time 0.01555/0.1086, allocations: 16.03 MB / 1.248 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of [SIM] FunctionAlias: time 0.002247/0.1109, allocations: 1.963 MB / 1.25 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of [SIM] Early Inline: time 0.01075/0.1216, allocations: 10.4 MB / 1.26 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 1: time 0.00296/0.1246, allocations: 1.446 MB / 1.261 GB, free: 1.477 MB / 0.9512 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.0195/0.1441, allocations: 14.28 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 0.001383/0.1455, allocations: 0.8451 MB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.0007122/0.1462, allocations: 0.6337 MB / 1.277 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.002062/0.1483, allocations: 1.877 MB / 1.279 GB, free: 176 kB / 0.9669 GB Notification: Performance of [SIM] Events: time 0.001151/0.1494, allocations: 0.8423 MB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of [SIM] Partitioning: time 0.002705/0.1521, allocations: 2.447 MB / 1.282 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of [SIM] Causalize: time 0.007636/0.1598, allocations: 5.677 MB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005652/0.1654, allocations: 5.792 MB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of [INI] Simplify: time 0.00848/0.1739, allocations: 3.677 MB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of [INI] Inline: time 0.009415/0.1833, allocations: 9.623 MB / 1.306 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of [INI] Partitioning: time 0.0004425/0.1837, allocations: 177.5 kB / 1.306 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of [INI] Cleanup: time 0.00194/0.1857, allocations: 1.963 MB / 1.308 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of [INI] Causalize: time 0.05847/0.2441, allocations: 43.65 MB / 1.351 GB, free: 5.266 MB / 1.045 GB Notification: Performance of [INI] Tearing: time 0.01472/0.2589, allocations: 10.87 MB / 1.361 GB, free: 10.3 MB / 1.061 GB Notification: Performance of [SIM] Initialization: time 1.573e-06/0.2589, allocations: 192 / 1.361 GB, free: 10.3 MB / 1.061 GB Notification: Performance of [SIM] Remove Dummies: time 3.302e-05/0.2589, allocations: 10.05 kB / 1.361 GB, free: 10.29 MB / 1.061 GB Notification: Performance of [SIM] Tearing: time 0.005006/0.2639, allocations: 3.609 MB / 1.365 GB, free: 6.473 MB / 1.061 GB Notification: Performance of [SIM] Categorize: time 2.019e-05/0.2639, allocations: 12 kB / 1.365 GB, free: 6.461 MB / 1.061 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_6[$i1] ### Equation: [FOR-] (2) ($RES_SIM_308) [----] for $i1 in 1:2 loop [----] [SCAL] (1) eleFol.opeMod.staBy.outPort[$i1].available = if $SEV_5[$i1] then eleFol.opeMod.staBy.localActive else $SEV_6[$i1] ($RES_SIM_309) [----] 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] eleFol.opeMod.staBy.outPort.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean eleFol.opeMod.transition2.inPort.available ### Equation: [SCAL] (1) eleFol.opeMod.staBy.outPort[1].available = eleFol.opeMod.transition2.inPort.available ($RES_SIM_551) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_29 ### Equation: [SCAL] (1) $SEV_29 = (eleFol.runSig.y and eleFol.opeMod.transition2.inPort.available) and not eleFol.opeMod.transition2.outPort.occupied ($RES_EVT_823) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean eleFol.opeMod.transition2.enableFire ### Equation: [SCAL] (1) eleFol.opeMod.transition2.enableFire = $SEV_29 ($RES_SIM_220) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean eleFol.opeMod.transition2.fire ### Equation: [SCAL] (1) eleFol.opeMod.transition2.enableFire = eleFol.opeMod.transition2.fire ($RES_SIM_746) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: eleFol.opeMod.staBy.outPort[1].reset ### Equation: [SCAL] (1) eleFol.opeMod.staBy.outPort[1].reset = eleFol.opeMod.transition2.fire ($RES_SIM_550) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_6[$i1] ### Equation: [FOR-] (2) ($RES_SIM_308) [----] for $i1 in 1:2 loop [----] [SCAL] (1) eleFol.opeMod.staBy.outPort[$i1].available = if $SEV_5[$i1] then eleFol.opeMod.staBy.localActive else $SEV_6[$i1] ($RES_SIM_309) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.643806707113981] Failed to read output from testmodel.py, exit status != 0: 0.27395667415112257 0.28721896999999996 0.19140689099999994 Calling exit ...