Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl.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.001622/0.001622, 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.001781/0.001781, allocations: 213.6 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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 3.538/3.538, allocations: 0.49 GB / 0.7958 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.SOC|con.y|con.isDay.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.384e-05, allocations: 4.109 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.BatteryControl): time 0.003847/0.003881, allocations: 2.233 MB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.005837, allocations: 0.9742 MB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.006055, allocations: 16.44 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.006254, allocations: 63.02 kB / 1.158 GB, free: 23.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.006507, allocations: 51.14 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.00723, allocations: 304.7 kB / 1.159 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008932/0.008123, allocations: 0.7382 MB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/0.008752, allocations: 407.1 kB / 1.16 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.009163, allocations: 286.5 kB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.009482, allocations: 264.8 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.009601, allocations: 71.5 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.009795, allocations: 98.42 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005787/0.01037, allocations: 0.9012 MB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000296/0.01067, allocations: 0.5332 MB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.01076, allocations: 30.31 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001268/0.01088, allocations: 72.94 kB / 1.162 GB, free: 20.86 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: 128 (125) * Number of variables: 128 (122) Notification: Performance of [SIM] Bindings: time 0.002044/0.01293, allocations: 2.085 MB / 1.164 GB, free: 19.37 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004486/0.01337, allocations: 415.8 kB / 1.164 GB, free: 19.08 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001742/0.01512, allocations: 1.814 MB / 1.166 GB, free: 17.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004954/0.01561, allocations: 302.6 kB / 1.166 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003064/0.01868, allocations: 2.28 MB / 1.169 GB, free: 16.24 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003132/0.01899, allocations: 227.2 kB / 1.169 GB, free: 16.07 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.000158/0.01915, allocations: 150.8 kB / 1.169 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005578/0.0197, allocations: 469.8 kB / 1.169 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002897/0.01999, allocations: 194.6 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0006883/0.02068, allocations: 0.5489 MB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.002445/0.02313, allocations: 1.581 MB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001089/0.02422, allocations: 1.162 MB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008713/0.02509, allocations: 0.5139 MB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001801/0.02689, allocations: 1.778 MB / 1.175 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.798e-05/0.02699, allocations: 40.92 kB / 1.175 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.000225/0.02721, allocations: 258 kB / 1.175 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004939/0.03215, allocations: 3.202 MB / 1.178 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0004976/0.03265, allocations: 347.3 kB / 1.179 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 2.295e-06/0.03265, allocations: 0 / 1.179 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.248e-05/0.03268, allocations: 2.281 kB / 1.179 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.0007474/0.03343, allocations: 320.2 kB / 1.179 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.799e-05/0.03346, allocations: 4.062 kB / 1.179 GB, free: 11.49 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_9[$i1] ### Equation: [FOR-] (2) ($RES_SIM_64) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.alternative.split[$i1].available = if $SEV_8[$i1] then con.alternative.inPort.available else $SEV_9[$i1] ($RES_SIM_65) [----] 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 = 8) ---------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [DISC] (2) Boolean[2] con.alternative.split.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean con.t1.inPort.available ### Equation: [SCAL] (1) con.t1.inPort.available = con.alternative.split[1].available ($RES_SIM_97) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_11 ### Equation: [SCAL] (1) $SEV_11 = (con.t1.localCondition and con.t1.inPort.available) and not con.t1.outPort.occupied ($RES_EVT_182) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean con.t1.enableFire ### Equation: [SCAL] (1) con.t1.enableFire = $SEV_11 ($RES_SIM_56) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_10 ### Equation: [SCAL] (1) $SEV_10 = con.t1.enableFire and time >= (con.t1.t_start + con.t1.waitTime) ($RES_EVT_181) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean con.t1.fire ### Equation: [SCAL] (1) con.t1.fire = $SEV_10 ($RES_SIM_57) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: con.alternative.split[1].reset ### Equation: [SCAL] (1) con.t1.fire = con.alternative.split[1].reset ($RES_SIM_96) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_9[$i1] ### Equation: [FOR-] (2) ($RES_SIM_64) [----] for $i1 in 1:2 loop [----] [SCAL] (1) con.alternative.split[$i1].available = if $SEV_8[$i1] then con.alternative.inPort.available else $SEV_9[$i1] ($RES_SIM_65) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.366995437070727] Failed to read output from testmodel.py, exit status != 0: 0.04342563729733229 0.06098718 0.046719058 Calling exit ...