Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.538/2.538, allocations: 252.6 MB / 265.2 MB, free: 5.68 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001938/0.001938, allocations: 181.6 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 102.6 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.631e-05, allocations: 0 / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/1.116, allocations: 137.7 MB / 1.029 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.117, allocations: 85.89 kB / 1.029 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08945/1.206, allocations: 22.56 MB / 1.051 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.574e-06/1.206, allocations: 0 / 1.051 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001548/1.206, allocations: 72 kB / 1.051 GB, free: 8.656 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1085 * Number of variables: 1085 Notification: Performance of Generate backend data structure: time 0.008452/1.215, allocations: 3.51 MB / 1.055 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.215, allocations: 12.03 kB / 1.055 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/1.216, allocations: 355.7 kB / 1.055 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/1.22, allocations: 1.099 MB / 1.056 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/1.22, allocations: 244.7 kB / 1.057 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007756/1.221, allocations: 360.2 kB / 1.057 GB, free: 3.652 MB / 0.6667 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001214/1.222, allocations: 413.5 kB / 1.057 GB, free: 3.281 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.