Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.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.001363/0.001363, 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.001472/0.001472, allocations: 208.3 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.26/1.26, 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.744/2.744, allocations: 0.49 GB / 0.7958 GB, free: 35.47 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.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.opeMod|eneConEngTem.mFue_flow|eneConTimDel.mFue_flow|eneConEngTem.QGen_flow|eneConTimDel.QGen_flow|eneConEngTem.PEleNet|eneConTimDel.PEleNet|PEle.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.569e-05, allocations: 4.531 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.007856/0.007871, allocations: 7.791 MB / 1.163 GB, free: 20.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006493/0.01436, allocations: 4.478 MB / 1.167 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.01552, allocations: 49.34 kB / 1.167 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.01718, allocations: 0.8223 MB / 1.168 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.01857, allocations: 0.7192 MB / 1.169 GB, free: 16.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.02083, allocations: 1.406 MB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.02408, allocations: 3.989 MB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.02618, allocations: 1.994 MB / 1.176 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.02747, allocations: 1.46 MB / 1.177 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.02853, allocations: 1.377 MB / 1.179 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.02888, allocations: 318.7 kB / 1.179 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.03002, allocations: 0.7115 MB / 1.18 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00255/0.03257, allocations: 5.42 MB / 1.185 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.001501/0.03407, allocations: 3.485 MB / 1.188 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.03456, allocations: 177.8 kB / 1.188 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0004903/0.03505, allocations: 224.3 kB / 1.189 GB, free: 3.887 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: 537 (525) * Number of variables: 537 (521) Notification: Performance of [SIM] Bindings: time 0.01204/0.04709, allocations: 14.39 MB / 1.203 GB, free: 10 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.001922/0.04901, allocations: 1.693 MB / 1.204 GB, free: 8.875 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.01163/0.06064, allocations: 11.27 MB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.002695/0.06333, allocations: 1.519 MB / 1.217 GB, free: 1.336 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.01625/0.07958, allocations: 12.18 MB / 1.229 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 2: time 0.001535/0.08112, allocations: 0.9638 MB / 1.23 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of [SIM] Remove Stream: time 0.0007603/0.08188, allocations: 0.659 MB / 1.23 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of [SIM] Detect States: time 0.002363/0.08424, allocations: 2.085 MB / 1.232 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of [SIM] Events: time 0.001412/0.08565, allocations: 1.042 MB / 1.233 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of [SIM] Partitioning: time 0.003236/0.08889, allocations: 2.949 MB / 1.236 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of [SIM] Causalize: time 0.006858/0.09575, allocations: 5.221 MB / 1.241 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00642/0.1022, allocations: 6.791 MB / 1.248 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of [INI] Simplify: time 0.008883/0.1111, allocations: 3.89 MB / 1.252 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of [INI] Inline: time 0.01012/0.1212, allocations: 11.33 MB / 1.263 GB, free: 268 kB / 0.9512 GB Notification: Performance of [INI] Partitioning: time 0.0003878/0.1216, allocations: 177.8 kB / 1.263 GB, free: 52 kB / 0.9512 GB Notification: Performance of [INI] Cleanup: time 0.001499/0.1231, allocations: 1.647 MB / 1.265 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of [INI] Causalize: time 0.03611/0.1592, allocations: 27.07 MB / 1.291 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of [INI] Tearing: time 0.009158/0.1683, allocations: 6.638 MB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.1683, allocations: 0 / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of [SIM] Remove Dummies: time 2.764e-05/0.1683, allocations: 2 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of [SIM] Tearing: time 0.003206/0.1716, allocations: 2.168 MB / 1.3 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of [SIM] Categorize: time 1.765e-05/0.1716, allocations: 11.98 kB / 1.3 GB, free: 9.945 MB / 0.9981 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_24[$i1] ### Equation: [FOR-] (2) ($RES_SIM_226) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_23[$i1] then con.staBy.localActive else $SEV_24[$i1] ($RES_SIM_227) [----] 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_372) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_47 ### Equation: [SCAL] (1) $SEV_47 = (con.runSig and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_704) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean con.transition2.enableFire ### Equation: [SCAL] (1) con.transition2.enableFire = $SEV_47 ($RES_SIM_138) 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_627) 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_371) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_24[$i1] ### Equation: [FOR-] (2) ($RES_SIM_226) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_23[$i1] then con.staBy.localActive else $SEV_24[$i1] ($RES_SIM_227) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.630628073588014] Failed to read output from testmodel.py, exit status != 0: 0.18377906270325184 0.19694699300000001 0.159201756 Calling exit ...