Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.Validation.SineInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 180.3 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 97.02 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.174e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1822, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6604/0.8427, allocations: 139.3 MB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.8429, allocations: 74.22 kB / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0506/0.8935, allocations: 23.1 MB / 1.044 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8936, allocations: 0 / 1.044 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.867e-05/0.8937, allocations: 68 kB / 1.044 GB, free: 9.863 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: 1093 * Number of variables: 1093 Notification: Performance of Generate backend data structure: time 0.005793/0.8995, allocations: 3.571 MB / 1.048 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8996, allocations: 15.97 kB / 1.048 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.9003, allocations: 359.6 kB / 1.048 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.9025, allocations: 1.113 MB / 1.049 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.9026, allocations: 11.5 kB / 1.049 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.903, allocations: 212 kB / 1.049 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003952/0.9034, allocations: 209 kB / 1.049 GB, free: 4.777 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.000515/0.9039, allocations: 369.2 kB / 1.05 GB, free: 4.438 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.