Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 109.1 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 191.8 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.331/2.331, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.055e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002793/0.002821, allocations: 2.049 MB / 1.057 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003921, allocations: 0.6662 MB / 1.057 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.004018, allocations: 8 kB / 1.057 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.668e-05/0.00408, allocations: 19.73 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.004206, allocations: 39.58 kB / 1.057 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.004551, allocations: 126.9 kB / 1.057 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006638/0.005223, allocations: 0.7422 MB / 1.058 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.005506, allocations: 221.7 kB / 1.058 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.005724, allocations: 179.5 kB / 1.059 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.005906, allocations: 167.5 kB / 1.059 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.005968, allocations: 32 kB / 1.059 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.127e-05/0.006027, allocations: 36 kB / 1.059 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002722/0.006304, allocations: 396.2 kB / 1.059 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001278/0.006438, allocations: 240.9 kB / 1.059 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.006484, allocations: 35.88 kB / 1.059 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.927e-05/0.006517, allocations: 7.938 kB / 1.059 GB, free: 2.766 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 (54) * Number of variables: 84 (32) Notification: Performance of Bindings: time 0.001281/0.007802, allocations: 1.457 MB / 1.061 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001065/0.007915, allocations: 82.08 kB / 1.061 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0007076/0.008629, allocations: 0.831 MB / 1.062 GB, free: 272 kB / 0.8262 GB Notification: Performance of simplify1: time 3.518e-05/0.008671, allocations: 35.95 kB / 1.062 GB, free: 236 kB / 0.8262 GB Notification: Performance of Alias: time 0.0002158/0.008893, allocations: 222.7 kB / 1.062 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simplify2: time 3.733e-05/0.008936, allocations: 31.95 kB / 1.062 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Events: time 0.0002492/0.009191, allocations: 232.8 kB / 1.062 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000347/0.009546, allocations: 378.6 kB / 1.063 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003681/0.009922, allocations: 381.9 kB / 1.063 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00232/0.01225, allocations: 2.382 MB / 1.065 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000891/0.01315, allocations: 1.051 MB / 1.066 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of Inline: time 0.001451/0.01461, allocations: 1.642 MB / 1.068 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.121e-05/0.01469, allocations: 65.27 kB / 1.068 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001638/0.01486, allocations: 187.6 kB / 1.068 GB, free: 9.574 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(9) {triAndRes[1].sam.y, triAndRes[2].sam.y, triAndRes[3].sam.y}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: triAndRes.sam.y. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_29) [----] for $i1 in 1:3 loop [----] [ALGO] (3) ($RES_SIM_30) [----] [----] triAndRes[$i1].sam.y := triAndRes[$i1].sam.u; [----] end for; Error: Internal error NBInitialization.main failed to apply modules!