Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008251/0.008251, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001794/0.001794, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6347/0.6347, allocations: 95.47 MB / 365.4 MB, free: 9.793 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 74.08 kB / 0.5036 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.166, allocations: 69.09 MB / 0.5711 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003656/0.1697, allocations: 1.645 MB / 0.5727 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.1706, allocations: 439.3 kB / 0.5731 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1708, allocations: 4 kB / 0.5731 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.1714, allocations: 178.4 kB / 0.5733 GB, free: 6.078 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.1719, allocations: 156.1 kB / 0.5734 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1724, allocations: 158.7 kB / 0.5736 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1728, allocations: 199.6 kB / 0.5737 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1729, allocations: 45.47 kB / 0.5738 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1731, allocations: 79.67 kB / 0.5739 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1734, allocations: 163.6 kB / 0.574 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.1735, allocations: 15.94 kB / 0.574 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1736, allocations: 32 kB / 0.5741 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1737, allocations: 79.69 kB / 0.5741 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1738, allocations: 95.28 kB / 0.5742 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.1743, allocations: 259.1 kB / 0.5745 GB, free: 4.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1743, allocations: 0 / 0.5745 GB, free: 4.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1743, allocations: 4 kB / 0.5745 GB, free: 4.816 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1743, allocations: 0 / 0.5745 GB, free: 4.816 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00109/0.1754, allocations: 0.5952 MB / 0.5751 GB, free: 4.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1755, allocations: 11.98 kB / 0.5751 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.1756, allocations: 28.56 kB / 0.5751 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.1762, allocations: 366.3 kB / 0.5755 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1762, allocations: 4.375 kB / 0.5755 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1762, allocations: 4.375 kB / 0.5755 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1765, allocations: 85.72 kB / 0.5755 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1765, allocations: 3.984 kB / 0.5755 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1765, allocations: 0 / 0.5755 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1765, allocations: 0 / 0.5755 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.1767, allocations: 55.94 kB / 0.5756 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.1774, allocations: 428.5 kB / 0.576 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1776, allocations: 46.56 kB / 0.5761 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.05e-05/0.1777, allocations: 28.89 kB / 0.5761 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1777, allocations: 0 / 0.5761 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1778, allocations: 34.56 kB / 0.5761 GB, free: 2.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1778, allocations: 3.938 kB / 0.5761 GB, free: 2.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004517/0.1782, allocations: 117.4 kB / 0.5762 GB, free: 2.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1783, allocations: 51.41 kB / 0.5763 GB, free: 2.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.1789, allocations: 0.5133 MB / 0.5768 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.179, allocations: 25.7 kB / 0.5768 GB, free: 2.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1791, allocations: 168 kB / 0.577 GB, free: 2.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1792, allocations: 11.81 kB / 0.577 GB, free: 2.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.1792, allocations: 17.7 kB / 0.577 GB, free: 2.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1794, allocations: 346.8 kB / 0.5773 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.1795, allocations: 19.98 kB / 0.5773 GB, free: 1.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-05/0.1796, allocations: 19.97 kB / 0.5774 GB, free: 1.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1798, allocations: 44.83 kB / 0.5774 GB, free: 1.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1798, allocations: 3.938 kB / 0.5774 GB, free: 1.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002516/0.18, allocations: 97.31 kB / 0.5775 GB, free: 1.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1801, allocations: 4 kB / 0.5775 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1801, allocations: 0 / 0.5775 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1801, allocations: 4 kB / 0.5775 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.1802, allocations: 11.98 kB / 0.5775 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1802, allocations: 4 kB / 0.5775 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.1803, allocations: 11.92 kB / 0.5775 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1803, allocations: 0 / 0.5775 GB, free: 1.461 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1805, allocations: 169.8 kB / 0.5777 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1806, allocations: 27.62 kB / 0.5777 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.1807, allocations: 38.41 kB / 0.5778 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1807, allocations: 0 / 0.5778 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1807, allocations: 0 / 0.5778 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1807, allocations: 3.938 kB / 0.5778 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.181, allocations: 261.5 kB / 0.578 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.181, allocations: 0 / 0.578 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.1811, allocations: 15.92 kB / 0.578 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1811, allocations: 4.328 kB / 0.578 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1812, allocations: 4 kB / 0.578 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1812, allocations: 0 / 0.578 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1812, allocations: 0 / 0.578 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1815, allocations: 199.1 kB / 0.5782 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1816, allocations: 116.7 kB / 0.5783 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1816, allocations: 4 kB / 0.5783 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.1817, allocations: 7.984 kB / 0.5783 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1818, allocations: 4 kB / 0.5784 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.1818, allocations: 7.938 kB / 0.5784 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004031/0.1822, allocations: 383.1 kB / 0.5787 GB, free: 152 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1822, allocations: 0 / 0.5787 GB, free: 152 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1825, allocations: 24 kB / 0.5787 GB, free: 128 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009417/0.1834, allocations: 360.8 kB / 0.5791 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1837, allocations: 43.89 kB / 0.5791 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1837, allocations: 0 / 0.5791 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.1838, allocations: 27.98 kB / 0.5792 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1843, allocations: 49.66 kB / 0.5792 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.1853, allocations: 456.8 kB / 0.5796 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.186, allocations: 0.7749 MB / 0.5804 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1861, allocations: 45.92 kB / 0.5804 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.1862, allocations: 19.44 kB / 0.5805 GB, free: 14.45 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1862, allocations: 3.938 kB / 0.5805 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Templates: time 0.00705/0.1932, allocations: 2.274 MB / 0.5827 GB, free: 12.17 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)