Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.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.00119/0.00119, 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.001271/0.001271, allocations: 214.4 kB / 23 MB, free: 4.969 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.291/1.291, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.818/2.818, allocations: 0.49 GB / 0.7958 GB, free: 35.59 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.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_12_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.031e-05, allocations: 3.969 kB / 1.155 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage): time 0.003169/0.003189, allocations: 2.359 MB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.005085, allocations: 1.4 MB / 1.159 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.005231, allocations: 10.97 kB / 1.159 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.00554, allocations: 114.2 kB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.005919, allocations: 161.5 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.006554, allocations: 360.7 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007334/0.007287, allocations: 0.8288 MB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.007746, allocations: 419 kB / 1.16 GB, free: 21.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.008102, allocations: 338.6 kB / 1.161 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.008371, allocations: 300.4 kB / 1.161 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.008463, allocations: 73.88 kB / 1.161 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.008635, allocations: 112.7 kB / 1.161 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005026/0.009138, allocations: 1.024 MB / 1.162 GB, free: 20.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.000233/0.009371, allocations: 0.6054 MB / 1.163 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.009435, allocations: 30.38 kB / 1.163 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.921e-05/0.009524, allocations: 65.02 kB / 1.163 GB, free: 20.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: 117 (113) * Number of variables: 117 (111) Notification: Performance of [SIM] Bindings: time 0.001866/0.01139, allocations: 2.303 MB / 1.165 GB, free: 18.78 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003506/0.01174, allocations: 376.2 kB / 1.166 GB, free: 18.54 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001451/0.01319, allocations: 1.877 MB / 1.167 GB, free: 17.36 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004066/0.0136, allocations: 321.2 kB / 1.168 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002428/0.01603, allocations: 2.214 MB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002878/0.01631, allocations: 254.6 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001542/0.01647, allocations: 182.6 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0005096/0.01698, allocations: 0.4973 MB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0003038/0.01728, allocations: 250.5 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0006258/0.01791, allocations: 0.6042 MB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001872/0.01978, allocations: 1.566 MB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001038/0.02082, allocations: 1.388 MB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002465/0.02328, allocations: 0.8206 MB / 1.175 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001595/0.02488, allocations: 2.091 MB / 1.177 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.169e-05/0.02496, allocations: 53.23 kB / 1.177 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002018/0.02516, allocations: 304.9 kB / 1.178 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00424/0.0294, allocations: 3.532 MB / 1.181 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.0007845/0.03019, allocations: 0.6303 MB / 1.182 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.03019, allocations: 0 / 1.182 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.573e-05/0.0302, allocations: 8.438 kB / 1.182 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.001032/0.03123, allocations: 0.6811 MB / 1.182 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.257e-05/0.03125, allocations: 4.406 kB / 1.182 GB, free: 10.23 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_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_70) [----] for $i1 in 1:2 loop [----] [SCAL] (1) varSpePumSta.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then varSpePumSta.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_71) [----] 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] (1) Boolean varSpePumSta.con1.outPort.occupied; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_1 ### Equation: [SCAL] (1) $SEV_1 = (varSpePumSta.con1.localCondition and varSpePumSta.con1.inPort.available) and not varSpePumSta.con1.outPort.occupied ($RES_EVT_154) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean varSpePumSta.con1.enableFire ### Equation: [SCAL] (1) varSpePumSta.con1.enableFire = $SEV_1 ($RES_SIM_79) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_0 ### Equation: [SCAL] (1) $SEV_0 = varSpePumSta.con1.enableFire and time >= (varSpePumSta.con1.t_start + varSpePumSta.con1.waitTime) ($RES_EVT_153) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean varSpePumSta.con1.fire ### Equation: [SCAL] (1) varSpePumSta.con1.fire = $SEV_0 ($RES_SIM_80) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: varSpePumSta.oneOn.inPort[1].occupied ### Equation: [SCAL] (1) varSpePumSta.con1.outPort.occupied = varSpePumSta.oneOn.inPort[1].occupied ($RES_SIM_108) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: varSpePumSta.oneOn.inPort[1].set ### Equation: [SCAL] (1) varSpePumSta.con1.fire = varSpePumSta.oneOn.inPort[1].set ($RES_SIM_107) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_4[$i1] ### Equation: [FOR-] (2) ($RES_SIM_70) [----] for $i1 in 1:2 loop [----] [SCAL] (1) varSpePumSta.oneOn.inPort[$i1].occupied = if $SEV_3[$i1] then varSpePumSta.oneOn.localActive else $SEV_4[$i1] ($RES_SIM_71) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.661491751670837] Failed to read output from testmodel.py, exit status != 0: 0.03835696494206786 0.048894599000000004 0.037079929000000005 Calling exit ...