Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001078/0.001078, allocations: 101.7 kB / 16.37 MB, free: 6.363 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.001125/0.001125, allocations: 195.1 kB / 17.31 MB, free: 5.91 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.122/1.122, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.503/1.503, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.244e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002864/0.002899, allocations: 2.047 MB / 0.6749 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.003866, allocations: 0.706 MB / 0.6755 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.00395, allocations: 4 kB / 0.6756 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.004005, allocations: 19.73 kB / 0.6756 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.004115, allocations: 47.58 kB / 0.6756 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.00445, allocations: 119.7 kB / 0.6757 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.005048, allocations: 0.7306 MB / 0.6764 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.005314, allocations: 225.7 kB / 0.6767 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.005508, allocations: 183.5 kB / 0.6768 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.005676, allocations: 167.5 kB / 0.677 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.005734, allocations: 36 kB / 0.677 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.245e-05/0.005782, allocations: 36 kB / 0.6771 GB, free: 1.629 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002522/0.006038, allocations: 404.2 kB / 0.6774 GB, free: 1.23 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001154/0.006159, allocations: 236.8 kB / 0.6777 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.006209, allocations: 35.94 kB / 0.6777 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.97e-05/0.006243, allocations: 11.88 kB / 0.6777 GB, free: 0.9492 MB / 0.545 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.001171/0.007418, allocations: 1.453 MB / 0.6791 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001125/0.007537, allocations: 101.9 kB / 0.6792 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0006573/0.008201, allocations: 0.8272 MB / 0.68 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simplify1: time 3.27e-05/0.008241, allocations: 35.95 kB / 0.6801 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002044/0.008451, allocations: 222.7 kB / 0.6803 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simplify2: time 2.643e-05/0.008484, allocations: 35.95 kB / 0.6803 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of Events: time 0.0002415/0.00873, allocations: 231.8 kB / 0.6805 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0003842/0.009123, allocations: 380.7 kB / 0.6809 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003551/0.009486, allocations: 385.8 kB / 0.6813 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002653/0.01215, allocations: 3.173 MB / 0.6844 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0008426/0.013, allocations: 1.047 MB / 0.6854 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of Inline: time 0.001403/0.01442, allocations: 1.629 MB / 0.687 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of Partitioning: time 6.879e-05/0.01449, allocations: 68.97 kB / 0.6871 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0001447/0.01465, allocations: 195.6 kB / 0.6872 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of Causalize: time 0.008922/0.02357, allocations: 11.12 MB / 0.6981 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of Tearing: time 9.788e-06/0.0236, allocations: 4 kB / 0.6981 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of Initialization: time 3.61e-07/0.0236, allocations: 0 / 0.6981 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of Tearing: time 3.787e-06/0.02361, allocations: 0 / 0.6981 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of Categorize: time 9.137e-06/0.02362, allocations: 0 / 0.6981 GB, free: 12.36 MB / 0.5762 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (3) ($RES_SIM_30) [----] triAndRes[$i1].sam.y := triAndRes[$i1].sam.u;