Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.Validation.ThermalFollowing.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.00136/0.00136, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.001611/0.001611, allocations: 217.2 kB / 23.01 MB, free: 4.973 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.288/1.288, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.758/2.758, 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.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|theFol.PEleNet|theFolNeg.PEleNet|PEleNetVal.y|theFol.eneCon.QGen_flow|theFolNeg.eneCon.QGen_flow|QGenVal_flow.y|theFol.QWat_flow|theFolNeg.QWat_flow|QWatVal_flow.y|theFol.QLos.Q_flow|theFolNeg.QLos.Q_flow|QLosVal_flow.y|theFol.opeMod.opeMod|theFolNeg.opeMod.opeMod|theFol.TWatOut.T|theFolNeg.TWatOut.T|TWatOutVal.y|TWatOutSet.y|theFol.eng.TEng|theFolNeg.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.Validation.ThermalFollowing") translateModel(Buildings.Fluid.CHPs.Validation.ThermalFollowing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|EEle.y|EEleVal.y|EThe.y|ETheVal.y|theFol.PEleNet|theFolNeg.PEleNet|PEleNetVal.y|theFol.eneCon.QGen_flow|theFolNeg.eneCon.QGen_flow|QGenVal_flow.y|theFol.QWat_flow|theFolNeg.QWat_flow|QWatVal_flow.y|theFol.QLos.Q_flow|theFolNeg.QLos.Q_flow|QLosVal_flow.y|theFol.opeMod.opeMod|theFolNeg.opeMod.opeMod|theFol.TWatOut.T|theFolNeg.TWatOut.T|TWatOutVal.y|TWatOutSet.y|theFol.eng.TEng|theFolNeg.eng.TEng|TEngVal.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.Validation.ThermalFollowing") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/9.898e-06, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.Validation.ThermalFollowing): time 0.05969/0.0597, allocations: 67.16 MB / 1.221 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02827/0.08796, allocations: 17.49 MB / 1.238 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/0.09367, allocations: 192.5 kB / 1.238 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004329/0.098, allocations: 1.703 MB / 1.24 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009422/0.1074, allocations: 3.05 MB / 1.242 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008618/0.116, allocations: 3.992 MB / 1.246 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01439/0.1304, allocations: 12.77 MB / 1.259 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008603/0.139, allocations: 5.49 MB / 1.264 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007786/0.1468, allocations: 4.681 MB / 1.269 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/0.1519, allocations: 3.619 MB / 1.272 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.1533, allocations: 0.8905 MB / 1.273 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.1579, allocations: 2.286 MB / 1.275 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.01026/0.1682, allocations: 13.47 MB / 1.289 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.005957/0.1741, allocations: 8.401 MB / 1.297 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.1753, allocations: 476 kB / 1.297 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 0.001513/0.1768, allocations: 0.504 MB / 1.298 GB, free: 14.56 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 (1310) * Number of variables: 1347 (1287) Notification: Performance of [SIM] Bindings: time 0.02982/0.2066, allocations: 33.04 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of [SIM] FunctionAlias: time 0.004336/0.211, allocations: 4.114 MB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of [SIM] Early Inline: time 0.02087/0.2318, allocations: 21.94 MB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of [SIM] Simplify 1: time 0.005468/0.2373, allocations: 2.987 MB / 1.358 GB, free: 15.4 MB / 1.061 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.04009/0.2774, allocations: 30.49 MB / 1.388 GB, free: 14.17 MB / 1.092 GB Notification: Performance of [SIM] Simplify 2: time 0.00275/0.2801, allocations: 1.711 MB / 1.39 GB, free: 12.32 MB / 1.092 GB Notification: Performance of [SIM] Remove Stream: time 0.001402/0.2815, allocations: 1.26 MB / 1.391 GB, free: 10.99 MB / 1.092 GB Notification: Performance of [SIM] Detect States: time 0.004112/0.2856, allocations: 3.824 MB / 1.395 GB, free: 7.039 MB / 1.092 GB Notification: Performance of [SIM] Events: time 0.00235/0.288, allocations: 1.812 MB / 1.397 GB, free: 5.211 MB / 1.092 GB Notification: Performance of [SIM] Partitioning: time 0.005446/0.2934, allocations: 5.056 MB / 1.401 GB, free: 32 kB / 1.092 GB Notification: Performance of [SIM] Causalize: time 0.01504/0.3085, allocations: 11.47 MB / 1.413 GB, free: 4.363 MB / 1.107 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.01111/0.3196, allocations: 12.05 MB / 1.424 GB, free: 8.309 MB / 1.123 GB Notification: Performance of [INI] Simplify: time 0.01377/0.3334, allocations: 7.545 MB / 1.432 GB, free: 420 kB / 1.123 GB Notification: Performance of [INI] Inline: time 0.01883/0.3522, allocations: 20.07 MB / 1.451 GB, free: 12.27 MB / 1.154 GB Notification: Performance of [INI] Partitioning: time 0.001041/0.3532, allocations: 384.2 kB / 1.452 GB, free: 11.84 MB / 1.154 GB Notification: Performance of [INI] Cleanup: time 0.00417/0.3574, allocations: 4.134 MB / 1.456 GB, free: 7.66 MB / 1.154 GB Notification: Performance of [INI] Causalize: time 0.1305/0.4879, allocations: 89.39 MB / 1.543 GB, free: 13.5 MB / 1.248 GB Notification: Performance of [INI] Tearing: time 0.06521/0.5531, allocations: 44.88 MB / 1.587 GB, free: 0.5547 MB / 1.279 GB Notification: Performance of [SIM] Initialization: time 2.254e-06/0.5531, allocations: 0 / 1.587 GB, free: 0.5547 MB / 1.279 GB Notification: Performance of [SIM] Remove Dummies: time 5.993e-05/0.5532, allocations: 4.047 kB / 1.587 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of [SIM] Tearing: time 0.01174/0.5649, allocations: 8.376 MB / 1.595 GB, free: 7.762 MB / 1.295 GB Notification: Performance of [SIM] Categorize: time 3.708e-05/0.5649, allocations: 20 kB / 1.595 GB, free: 7.742 MB / 1.295 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_7[$i1] ### Equation: [FOR-] (2) ($RES_SIM_705) [----] for $i1 in 1:2 loop [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].available = if $SEV_6[$i1] then theFol.opeMod.staBy.localActive else $SEV_7[$i1] ($RES_SIM_706) [----] 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] theFol.opeMod.staBy.outPort.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean theFol.opeMod.transition2.inPort.available ### Equation: [SCAL] (1) theFol.opeMod.staBy.outPort[1].available = theFol.opeMod.transition2.inPort.available ($RES_SIM_1294) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_30 ### Equation: [SCAL] (1) $SEV_30 = (theFol.runSig.y and theFol.opeMod.transition2.inPort.available) and not theFol.opeMod.transition2.outPort.occupied ($RES_EVT_1687) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean theFol.opeMod.transition2.enableFire ### Equation: [SCAL] (1) theFol.opeMod.transition2.enableFire = $SEV_30 ($RES_SIM_617) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean theFol.opeMod.transition2.fire ### Equation: [SCAL] (1) theFol.opeMod.transition2.enableFire = theFol.opeMod.transition2.fire ($RES_SIM_1573) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: theFol.opeMod.staBy.outPort[1].reset ### Equation: [SCAL] (1) theFol.opeMod.staBy.outPort[1].reset = theFol.opeMod.transition2.fire ($RES_SIM_1293) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_7[$i1] ### Equation: [FOR-] (2) ($RES_SIM_705) [----] for $i1 in 1:2 loop [----] [SCAL] (1) theFol.opeMod.staBy.outPort[$i1].available = if $SEV_6[$i1] then theFol.opeMod.staBy.localActive else $SEV_7[$i1] ($RES_SIM_706) [----] end for; " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 6.033960852306336] Failed to read output from testmodel.py, exit status != 0: 0.5767081137746572 0.590040876 0.41042827699999995 Calling exit ...