Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.704/4.704, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002638/0.002638, allocations: 363 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.287/4.287, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001776/0.001776, allocations: 182.6 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005105, allocations: 8 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7253, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.9293, allocations: 144.1 MB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.9297, allocations: 83.89 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.07547/1.005, allocations: 22.45 MB / 1.624 GB, free: 118 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.254e-06/1.005, allocations: 7.938 kB / 1.624 GB, free: 118 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.259e-05/1.005, allocations: 75.94 kB / 1.624 GB, free: 117.9 MB / 0.8542 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.006924/1.012, allocations: 3.554 MB / 1.628 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.012, allocations: 11.62 kB / 1.628 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008321/1.013, allocations: 347.8 kB / 1.628 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/1.016, allocations: 1.109 MB / 1.629 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/1.016, allocations: 240.3 kB / 1.629 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/1.017, allocations: 356 kB / 1.63 GB, free: 112.2 MB / 0.8542 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.001015/1.018, allocations: 430.6 kB / 1.63 GB, free: 111.8 MB / 0.8542 GB Error: pre-optimization module clockPartitioning (simulation) failed.