Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.001345/0.001345, 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.001451/0.001451, allocations: 214.7 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.266/1.266, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.748/2.748, allocations: 0.49 GB / 0.7958 GB, free: 35.48 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.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.728e-05, allocations: 4.672 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003085/0.003102, allocations: 2.709 MB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.00526, allocations: 1.737 MB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.005414, allocations: 12.06 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.00618, allocations: 310.5 kB / 1.16 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.006616, allocations: 228.2 kB / 1.16 GB, free: 21.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.007208, allocations: 365.8 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006863/0.007894, allocations: 0.8597 MB / 1.161 GB, free: 21.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.008328, allocations: 423.6 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.008605, allocations: 356.3 kB / 1.162 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.008861, allocations: 310 kB / 1.162 GB, free: 20.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.008943, allocations: 57.19 kB / 1.162 GB, free: 20.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.009238, allocations: 168.6 kB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005238/0.009762, allocations: 1.107 MB / 1.163 GB, free: 20.1 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002587/0.01002, allocations: 0.6889 MB / 1.164 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.0101, allocations: 37.97 kB / 1.164 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.624e-05/0.01019, allocations: 72.69 kB / 1.164 GB, free: 19.57 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: 127 (123) * Number of variables: 127 (119) Notification: Performance of [SIM] Bindings: time 0.001949/0.01214, allocations: 2.717 MB / 1.167 GB, free: 17.73 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002992/0.01243, allocations: 361.3 kB / 1.167 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001091/0.01353, allocations: 1.425 MB / 1.169 GB, free: 16.67 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003729/0.0139, allocations: 299.3 kB / 1.169 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002108/0.01601, allocations: 2.091 MB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002369/0.01624, allocations: 228.9 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001237/0.01637, allocations: 148 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004177/0.01678, allocations: 451.7 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002358/0.01702, allocations: 213.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004925/0.01751, allocations: 0.4981 MB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001656/0.01917, allocations: 1.447 MB / 1.174 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000808/0.01998, allocations: 1.128 MB / 1.175 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002499/0.02248, allocations: 0.822 MB / 1.176 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001106/0.02358, allocations: 1.533 MB / 1.177 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.218e-05/0.02365, allocations: 46.41 kB / 1.177 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001608/0.02381, allocations: 243.3 kB / 1.177 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.00401/0.02783, allocations: 3.566 MB / 1.181 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 0.001081/0.02891, allocations: 0.9216 MB / 1.182 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.91e-07/0.02891, allocations: 1.344 kB / 1.182 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 8.275e-06/0.02892, allocations: 0.6875 kB / 1.182 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 0.0009686/0.02988, allocations: 0.749 MB / 1.183 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.788e-06/0.02989, allocations: 3.469 kB / 1.183 GB, free: 10.46 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_7[$i1] ### Equation: [FOR-] (2) ($RES_SIM_80) [----] for $i1 in 1:2 loop [----] [SCAL] (1) cooDow.outPort[$i1].available = if $SEV_5[$i1] then cooDow.localActive else $SEV_7[$i1] ($RES_SIM_81) [----] 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] cooDow.outPort.available; ### Residual Equations: ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean transition2.inPort.available ### Equation: [SCAL] (1) cooDow.outPort[1].available = transition2.inPort.available ($RES_SIM_107) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Boolean $SEV_11 ### Equation: [SCAL] (1) $SEV_11 = (transition2.localCondition and transition2.inPort.available) and not transition2.outPort.occupied ($RES_EVT_184) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean transition2.enableFire ### Equation: [SCAL] (1) transition2.enableFire = $SEV_11 ($RES_SIM_62) BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: protected Boolean transition2.fire ### Equation: [SCAL] (1) transition2.enableFire = transition2.fire ($RES_SIM_161) BLOCK: Sliced Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------- ### Variable: cooDow.outPort[1].reset ### Equation: [SCAL] (1) cooDow.outPort[1].reset = transition2.fire ($RES_SIM_106) BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 2) ------------------------------------------------------------------- ### Variable: $SEV_7[$i1] ### Equation: [FOR-] (2) ($RES_SIM_80) [----] for $i1 in 1:2 loop [----] [SCAL] (1) cooDow.outPort[$i1].available = if $SEV_5[$i1] then cooDow.localActive else $SEV_7[$i1] ($RES_SIM_81) [----] end for; " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.485475476831198] Failed to read output from testmodel.py, exit status != 0: 0.036157425958663225 0.046125194 0.033703135 Calling exit ...