Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0009549/0.0009549, allocations: 107.1 kB / 16.42 MB, free: 6.531 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.001004/0.001004, allocations: 183.2 kB / 17.35 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.104/1.104, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.031/2.031, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.028e-05, allocations: 4.812 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.00237/0.002388, allocations: 2.043 MB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.003264, allocations: 0.6623 MB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.003347, allocations: 7.938 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.81e-05/0.0034, allocations: 15.8 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.003509, allocations: 43.58 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.003823, allocations: 127.7 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006225/0.004453, allocations: 0.7422 MB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.004721, allocations: 233.7 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.004905, allocations: 171.5 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005075, allocations: 171.5 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.005138, allocations: 32 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.005192, allocations: 36 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002712/0.005467, allocations: 400.2 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001222/0.005595, allocations: 237 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.005638, allocations: 35.88 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.339e-05/0.005666, allocations: 11.88 kB / 1.024 GB, free: 4.5 MB / 0.795 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.001201/0.006871, allocations: 1.449 MB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001028/0.006979, allocations: 78.16 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0006729/0.007658, allocations: 0.8271 MB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simplify1: time 3.957e-05/0.007706, allocations: 43.94 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of Alias: time 0.0001923/0.007903, allocations: 214.7 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of simplify2: time 2.693e-05/0.007935, allocations: 35.95 kB / 1.027 GB, free: 1.684 MB / 0.795 GB Notification: Performance of Detect States: time 0.0002932/0.008233, allocations: 341.2 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of Events: time 0.0002312/0.008472, allocations: 221.7 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0003349/0.008817, allocations: 382 kB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of Causalize: time 0.002159/0.01098, allocations: 2.389 MB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.0008458/0.01184, allocations: 1.047 MB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of Inline: time 0.001411/0.01326, allocations: 1.66 MB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of Partitioning: time 6.341e-05/0.01333, allocations: 68.92 kB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of Cleanup: time 0.0001582/0.01349, allocations: 187.6 kB / 1.033 GB, free: 11.34 MB / 0.8106 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!