Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 250.1 MB, free: 3.105 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 496.2 MB / 0.7826 GB, free: 12.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.775e-05, allocations: 8.188 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.002413/0.002441, allocations: 1.042 MB / 1.138 GB, free: 11.4 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.005239, allocations: 1.836 MB / 1.139 GB, free: 9.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.00537, allocations: 4 kB / 1.139 GB, free: 9.539 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.005929, allocations: 227.3 kB / 1.14 GB, free: 9.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.006101, allocations: 119.5 kB / 1.14 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.00707, allocations: 343 kB / 1.14 GB, free: 8.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.007778, allocations: 0.5699 MB / 1.141 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.008102, allocations: 120.6 kB / 1.141 GB, free: 8.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.008417, allocations: 251.5 kB / 1.141 GB, free: 7.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.008761, allocations: 271.2 kB / 1.141 GB, free: 7.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.008844, allocations: 44 kB / 1.141 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.009063, allocations: 91.95 kB / 1.141 GB, free: 7.535 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0005612/0.009625, allocations: 0.5811 MB / 1.142 GB, free: 6.949 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001985/0.009823, allocations: 272.1 kB / 1.142 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.009898, allocations: 39.88 kB / 1.142 GB, free: 6.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.753e-05/0.009976, allocations: 23.75 kB / 1.142 GB, free: 6.617 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 (62) * Number of variables: 82 (53) Notification: Performance of Bindings: time 0.001705/0.01168, allocations: 1.296 MB / 1.143 GB, free: 5.199 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0002025/0.01188, allocations: 155.2 kB / 1.144 GB, free: 5.055 MB / 0.92 GB Notification: Performance of Early Inline: time 0.00125/0.01313, allocations: 1.036 MB / 1.145 GB, free: 3.988 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0003989/0.01353, allocations: 285.9 kB / 1.145 GB, free: 3.684 MB / 0.92 GB Notification: Performance of Alias: time 0.00166/0.01519, allocations: 1.076 MB / 1.146 GB, free: 2.438 MB / 0.92 GB Notification: Performance of Simplify 2: time 0.0003405/0.01553, allocations: 273.9 kB / 1.146 GB, free: 2.145 MB / 0.92 GB Notification: Performance of Remove Stream: time 0.0002715/0.0158, allocations: 242.2 kB / 1.146 GB, free: 1.879 MB / 0.92 GB Notification: Performance of Detect States: time 0.0006459/0.01645, allocations: 488.4 kB / 1.147 GB, free: 1.363 MB / 0.92 GB Notification: Performance of Events: time 0.0003894/0.01684, allocations: 257.4 kB / 1.147 GB, free: 1.113 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0004832/0.01732, allocations: 378.8 kB / 1.147 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of Causalize: time 0.002017/0.01934, allocations: 1.459 MB / 1.149 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of After Index Reduction Inline: time 0.001026/0.02037, allocations: 0.8895 MB / 1.15 GB, free: 14.41 MB / 0.9356 GB Error: Internal error NBEquation.Iterator.createReplacement could not create replacements for replacor: {$f1 in 1:7, $f2 in 1:4} and replacee: {$i2 in 1:4, $i1 in 1:7} Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 6.760986419394612]