Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009746/0.0009743, allocations: 179.3 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 93.41 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 19.97 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.172, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001602/0.1737, allocations: 1.252 MB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.1741, allocations: 168.4 kB / 0.9022 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.1741, allocations: 0 / 0.9022 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.1741, allocations: 7.922 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.1742, allocations: 4 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1744, allocations: 43.89 kB / 0.9023 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.1745, allocations: 27.92 kB / 0.9023 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.1746, allocations: 11.98 kB / 0.9023 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.1746, allocations: 7.938 kB / 0.9023 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.1747, allocations: 19.97 kB / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1747, allocations: 0 / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.1748, allocations: 35.97 kB / 0.9024 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1748, allocations: 11.92 kB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.1748, allocations: 33.7 kB / 0.9024 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.1749, allocations: 39.92 kB / 0.9024 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1749, allocations: 0 / 0.9024 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.175, allocations: 0 / 0.9024 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.175, allocations: 0 / 0.9024 GB, free: 62.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003921/0.1754, allocations: 355.5 kB / 0.9028 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.1754, allocations: 8.031 kB / 0.9028 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.1755, allocations: 7.906 kB / 0.9028 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.1756, allocations: 182.8 kB / 0.903 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1756, allocations: 7.984 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1756, allocations: 4 kB / 0.903 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1758, allocations: 73.64 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1758, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1758, allocations: 0 / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1759, allocations: 4 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.176, allocations: 55.95 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1764, allocations: 284.7 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1767, allocations: 66.53 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.1768, allocations: 28.91 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.177, allocations: 170.2 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.177, allocations: 30.56 kB / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.177, allocations: 0 / 0.9037 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003723/0.1774, allocations: 117.6 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1774, allocations: 55.36 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.1775, allocations: 109.8 kB / 0.9039 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.1775, allocations: 25.7 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.1775, allocations: 88.05 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1775, allocations: 11.92 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-06/0.1775, allocations: 0 / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.1776, allocations: 314.8 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.1777, allocations: 27.98 kB / 0.9044 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.1778, allocations: 23.97 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.1779, allocations: 27.98 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1779, allocations: 0 / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.1781, allocations: 97.42 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1781, allocations: 4 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1781, allocations: 0 / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1781, allocations: 0 / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.1782, allocations: 19.98 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1782, allocations: 0 / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.1783, allocations: 11.95 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1783, allocations: 0 / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.1784, allocations: 117.8 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.1784, allocations: 0 / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1786, allocations: 101.4 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1787, allocations: 384 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1787, allocations: 0 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1787, allocations: 0 / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1788, allocations: 169.6 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1788, allocations: 3.984 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.1789, allocations: 23.92 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1789, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1789, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1789, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1789, allocations: 0 / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1791, allocations: 191.5 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.1791, allocations: 77.11 kB / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1792, allocations: 0 / 0.9052 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.1793, allocations: 11.98 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1793, allocations: 4 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1793, allocations: 7.984 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.1794, allocations: 91.22 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1794, allocations: 0 / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002292/0.1796, allocations: 19.91 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.1797, allocations: 123.2 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.18, allocations: 51.95 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.18, allocations: 4 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.1801, allocations: 27.97 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1803, allocations: 11.95 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.1806, allocations: 154.2 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.606e-05/0.1807, allocations: 0.6809 MB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.1808, allocations: 7.438 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1808, allocations: 0 / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.001953/0.1827, allocations: 0.9775 MB / 0.9073 GB, free: 57.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)