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.007979/0.007979, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.001258/0.001258, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.6993/0.6993, allocations: 95.48 MB / 365.4 MB, free: 9.797 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.001463/0.001463, allocations: 78.08 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1582, allocations: 69.08 MB / 0.5711 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002885/0.1611, allocations: 1.641 MB / 0.5727 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.1619, allocations: 443.3 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.162, allocations: 3.938 kB / 0.5731 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1625, allocations: 174.3 kB / 0.5733 GB, free: 6.086 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.0003658/0.1629, allocations: 164 kB / 0.5734 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1633, allocations: 163.2 kB / 0.5736 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.1635, allocations: 199.5 kB / 0.5738 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1637, allocations: 41.52 kB / 0.5738 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1638, allocations: 79.73 kB / 0.5739 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.164, allocations: 163.5 kB / 0.574 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.164, allocations: 12 kB / 0.574 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.1641, allocations: 39.98 kB / 0.5741 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1642, allocations: 71.81 kB / 0.5741 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.1643, allocations: 99.27 kB / 0.5742 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.1646, allocations: 270.7 kB / 0.5745 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1647, allocations: 4 kB / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1647, allocations: 0 / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1647, allocations: 0 / 0.5745 GB, free: 4.805 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.0007829/0.1655, allocations: 0.5912 MB / 0.5751 GB, free: 4.164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1655, allocations: 11.98 kB / 0.5751 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.1656, allocations: 28.75 kB / 0.5751 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.166, allocations: 382.6 kB / 0.5755 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.166, allocations: 4.375 kB / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1661, allocations: 384 / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1663, allocations: 81.78 kB / 0.5756 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1663, allocations: 0 / 0.5756 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1663, allocations: 0 / 0.5756 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1663, allocations: 0 / 0.5756 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1665, allocations: 55.89 kB / 0.5756 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.167, allocations: 424.6 kB / 0.576 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1672, allocations: 54.58 kB / 0.5761 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.1673, allocations: 20.91 kB / 0.5761 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1673, allocations: 4 kB / 0.5761 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.1673, allocations: 34.55 kB / 0.5761 GB, free: 2.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1673, allocations: 4 kB / 0.5761 GB, free: 2.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000382/0.1677, allocations: 113.5 kB / 0.5762 GB, free: 2.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1678, allocations: 55.34 kB / 0.5763 GB, free: 2.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.1683, allocations: 0.5132 MB / 0.5768 GB, free: 2.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1683, allocations: 25.7 kB / 0.5768 GB, free: 2.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1685, allocations: 179.9 kB / 0.577 GB, free: 2.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1685, allocations: 7.906 kB / 0.577 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1685, allocations: 21.72 kB / 0.577 GB, free: 2.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1687, allocations: 342.8 kB / 0.5773 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.1688, allocations: 19.97 kB / 0.5774 GB, free: 1.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1688, allocations: 16.17 kB / 0.5774 GB, free: 1.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.169, allocations: 52.89 kB / 0.5774 GB, free: 1.578 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.169, allocations: 4 kB / 0.5774 GB, free: 1.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000237/0.1693, allocations: 97.47 kB / 0.5775 GB, free: 1.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1693, allocations: 4 kB / 0.5775 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1693, allocations: 4 kB / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1693, allocations: 0 / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.1694, allocations: 15.92 kB / 0.5776 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1694, allocations: 0 / 0.5776 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.1695, allocations: 7.938 kB / 0.5776 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1695, allocations: 7.984 kB / 0.5776 GB, free: 1.434 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.0001551/0.1697, allocations: 169.8 kB / 0.5777 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.1697, allocations: 27.81 kB / 0.5778 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.1698, allocations: 34.42 kB / 0.5778 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1698, allocations: 0 / 0.5778 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1698, allocations: 4 kB / 0.5778 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1698, allocations: 3.938 kB / 0.5778 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1701, allocations: 257.5 kB / 0.578 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1701, allocations: 0 / 0.578 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.1702, allocations: 19.98 kB / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1702, allocations: 0 / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1702, allocations: 0 / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1702, allocations: 0 / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1702, allocations: 0 / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1705, allocations: 203.2 kB / 0.5783 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.1706, allocations: 116.9 kB / 0.5784 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1706, allocations: 4 kB / 0.5784 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1707, allocations: 3.984 kB / 0.5784 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1708, allocations: 11.94 kB / 0.5784 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1708, allocations: 3.938 kB / 0.5784 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003733/0.1712, allocations: 383.1 kB / 0.5788 GB, free: 128 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1712, allocations: 0 / 0.5788 GB, free: 128 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1715, allocations: 27.98 kB / 0.5788 GB, free: 100 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.0007759/0.1722, allocations: 353 kB / 0.5791 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1725, allocations: 47.95 kB / 0.5792 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1725, allocations: 4 kB / 0.5792 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.1726, allocations: 23.91 kB / 0.5792 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.173, allocations: 53.72 kB / 0.5792 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.1738, allocations: 464.3 kB / 0.5797 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1742, allocations: 0.7749 MB / 0.5804 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.924e-05/0.1743, allocations: 37.94 kB / 0.5805 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.1743, allocations: 19.44 kB / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1743, allocations: 0 / 0.5805 GB, free: 14.42 MB / 462.1 MB Notification: Performance of Templates: time 0.00557/0.1799, allocations: 2.285 MB / 0.5827 GB, free: 12.14 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)