Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.001388/0.001388, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001501/0.001501, allocations: 211.1 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.265/1.265, 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.721/2.721, allocations: 0.49 GB / 0.7958 GB, free: 35.43 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.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.793e-05, allocations: 2.281 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.004483/0.004501, allocations: 4.201 MB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.008376, allocations: 3.079 MB / 1.162 GB, free: 20.22 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.008722, allocations: 32.34 kB / 1.162 GB, free: 20.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.01005, allocations: 0.6841 MB / 1.163 GB, free: 19.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007949/0.01084, allocations: 496.9 kB / 1.163 GB, free: 19.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.01215, allocations: 0.8596 MB / 1.164 GB, free: 19.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.01397, allocations: 2.338 MB / 1.166 GB, free: 18.06 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.01506, allocations: 1.083 MB / 1.167 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/0.0158, allocations: 0.8892 MB / 1.168 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.0164, allocations: 0.7734 MB / 1.169 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.01659, allocations: 177.6 kB / 1.169 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.01714, allocations: 354.7 kB / 1.17 GB, free: 16.64 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.001206/0.01835, allocations: 2.784 MB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0005725/0.01892, allocations: 1.696 MB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.01909, allocations: 89.09 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001854/0.01927, allocations: 149.7 kB / 1.174 GB, free: 13.37 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: 285 (277) * Number of variables: 285 (269) Notification: Performance of [SIM] Bindings: time 0.004414/0.02369, allocations: 6.615 MB / 1.181 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006982/0.02438, allocations: 0.8956 MB / 1.182 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.003034/0.02742, allocations: 4.213 MB / 1.186 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0009138/0.02833, allocations: 0.6409 MB / 1.186 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.005316/0.03365, allocations: 5.231 MB / 1.191 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0005893/0.03424, allocations: 469.4 kB / 1.192 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0002782/0.03452, allocations: 323.2 kB / 1.192 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0009452/0.03546, allocations: 1.047 MB / 1.193 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0005429/0.036, allocations: 0.4896 MB / 1.194 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.001199/0.0372, allocations: 1.193 MB / 1.195 GB, free: 15.91 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.004213/0.04142, allocations: 3.341 MB / 1.198 GB, free: 15.09 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002682/0.0441, allocations: 2.844 MB / 1.201 GB, free: 13.47 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.006037/0.05013, allocations: 2.087 MB / 1.203 GB, free: 12.25 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.004223/0.05436, allocations: 4.439 MB / 1.207 GB, free: 9.602 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0002281/0.05458, allocations: 103.1 kB / 1.207 GB, free: 9.527 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0006289/0.05521, allocations: 0.6385 MB / 1.208 GB, free: 9.102 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01319/0.06841, allocations: 10.03 MB / 1.218 GB, free: 6.398 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.004327/0.07274, allocations: 3.343 MB / 1.221 GB, free: 5.395 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 2.024e-06/0.07274, allocations: 5.125 kB / 1.221 GB, free: 5.391 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 2.003e-05/0.07276, allocations: 1.312 kB / 1.221 GB, free: 5.387 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 0.002429/0.07519, allocations: 1.633 MB / 1.223 GB, free: 4.965 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 2.171e-05/0.07521, allocations: 13.94 kB / 1.223 GB, free: 4.957 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_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_205) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_3[$i1] then con.staBy.localActive else $SEV_4[$i1] ($RES_SIM_206) [----] 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_259) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_27 ### Equation: [SCAL] (1) $SEV_27 = (con.runSig and con.transition2.inPort.available) and not con.transition2.outPort.occupied ($RES_EVT_414) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean con.transition2.enableFire ### Equation: [SCAL] (1) con.transition2.enableFire = $SEV_27 ($RES_SIM_117) 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_360) 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_258) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_205) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.staBy.outPort[$i1].available = if $SEV_3[$i1] then con.staBy.localActive else $SEV_4[$i1] ($RES_SIM_206) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.51140739582479] Failed to read output from testmodel.py, exit status != 0: 0.08271885756403208 0.09595374499999994 0.073961024 Calling exit ...