Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput") translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.6 MB / 307.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 185 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.4 MB / 0.6367 GB, free: 8.578 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008895, allocations: 95.31 kB / 0.751 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004029, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9067/1.236, allocations: 145.2 MB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.237, allocations: 83.3 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05203/1.289, allocations: 22.45 MB / 1.152 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.275e-06/1.289, allocations: 0 / 1.152 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.218e-05/1.289, allocations: 71.94 kB / 1.152 GB, free: 14.52 MB / 0.7292 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.004988/1.294, allocations: 3.555 MB / 1.156 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.294, allocations: 16.02 kB / 1.156 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/1.294, allocations: 349.8 kB / 1.156 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/1.297, allocations: 1.102 MB / 1.157 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/1.297, allocations: 243.7 kB / 1.157 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/1.297, allocations: 356 kB / 1.158 GB, free: 9.164 MB / 0.7292 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.0007583/1.298, allocations: 425.4 kB / 1.158 GB, free: 8.711 MB / 0.7292 GB Error: pre-optimization module clockPartitioning (simulation) failed.