Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000927/0.0009271, allocations: 105.4 kB / 16.42 MB, free: 6.523 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.0008686/0.0008686, allocations: 185.9 kB / 17.36 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.14/1.14, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.219/1.219, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.698e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002558/0.002583, allocations: 2.047 MB / 0.7284 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.003565, allocations: 0.7137 MB / 0.7291 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.003657, allocations: 4 kB / 0.7291 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.177e-05/0.003713, allocations: 19.73 kB / 0.7291 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.003822, allocations: 39.59 kB / 0.7291 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.004149, allocations: 123.7 kB / 0.7292 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.004786, allocations: 0.75 MB / 0.73 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.005056, allocations: 225.7 kB / 0.7302 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.005253, allocations: 175.5 kB / 0.7304 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.005428, allocations: 167.5 kB / 0.7305 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.005484, allocations: 35.94 kB / 0.7306 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.005532, allocations: 32 kB / 0.7306 GB, free: 412 kB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0002786/0.005816, allocations: 404.2 kB / 0.731 GB, free: 4 kB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0001362/0.00596, allocations: 244.8 kB / 0.7312 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.006009, allocations: 35.88 kB / 0.7312 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.19e-05/0.006036, allocations: 11.88 kB / 0.7313 GB, free: 15.71 MB / 0.5762 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.001245/0.007286, allocations: 1.449 MB / 0.7327 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001124/0.007406, allocations: 90.08 kB / 0.7328 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.0006934/0.008107, allocations: 0.8388 MB / 0.7336 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simplify1: time 3.355e-05/0.008148, allocations: 35.89 kB / 0.7336 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of Alias: time 0.000202/0.008355, allocations: 218.8 kB / 0.7338 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of simplify2: time 2.857e-05/0.008389, allocations: 35.95 kB / 0.7338 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of Events: time 0.0002429/0.008636, allocations: 231.7 kB / 0.7341 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0003565/0.009001, allocations: 382.6 kB / 0.7344 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0003587/0.009368, allocations: 374.1 kB / 0.7348 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Causalize: time 0.00272/0.0121, allocations: 3.176 MB / 0.7379 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0008644/0.01297, allocations: 1.043 MB / 0.7389 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of Inline: time 0.001434/0.01441, allocations: 1.652 MB / 0.7405 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of Partitioning: time 6.566e-05/0.01449, allocations: 80.91 kB / 0.7406 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.00016/0.01465, allocations: 187.7 kB / 0.7408 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of Causalize: time 0.008946/0.0236, allocations: 11.07 MB / 0.7516 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of Tearing: time 9.087e-06/0.02363, allocations: 0 / 0.7516 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of Initialization: time 4.61e-07/0.02363, allocations: 0 / 0.7516 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of Tearing: time 3.246e-06/0.02364, allocations: 0 / 0.7516 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of Categorize: time 2.155e-05/0.02367, allocations: 7.938 kB / 0.7516 GB, free: 11.17 MB / 0.5919 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (3) ($RES_SIM_30) [----] triAndRes[$i1].sam.y := triAndRes[$i1].sam.u;