Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007345/0.0007346, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004892/0.004892, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 270.2 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 13.97 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.172, allocations: 88.53 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001591/0.1737, allocations: 1.254 MB / 0.6863 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005094/0.1742, allocations: 177.9 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.1742, allocations: 4 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.1742, allocations: 1.938 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.1743, allocations: 3.938 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1746, allocations: 31.97 kB / 0.6866 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.1747, allocations: 39.91 kB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.1748, allocations: 14.48 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.1749, allocations: 11.94 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.1749, allocations: 15.92 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1749, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1751, allocations: 47.95 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1751, allocations: 9.109 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1751, allocations: 41.58 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1753, allocations: 52.12 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1754, allocations: 1.531 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1754, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1754, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB 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.0004869/0.1759, allocations: 364.7 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1759, allocations: 10.75 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1759, allocations: 0.9375 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1761, allocations: 168.3 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1761, allocations: 384 / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1761, allocations: 8.375 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1763, allocations: 72.02 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1763, allocations: 4.188 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1764, allocations: 7.938 kB / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1764, allocations: 0 / 0.6874 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1766, allocations: 62.47 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.177, allocations: 286.8 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1773, allocations: 59.81 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1774, allocations: 36.89 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.1777, allocations: 170.2 kB / 0.688 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1777, allocations: 34.56 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1777, allocations: 0 / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.1781, allocations: 113.5 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1781, allocations: 59.41 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.1782, allocations: 105.8 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1782, allocations: 25.7 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.1783, allocations: 92.14 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1783, allocations: 3.906 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.1783, allocations: 9.719 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.1784, allocations: 326.8 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.1785, allocations: 19.98 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.1786, allocations: 23.98 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1788, allocations: 56.81 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1788, allocations: 4 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002219/0.179, allocations: 89.59 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1791, allocations: 7.984 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1791, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.1791, allocations: 0 / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.1792, allocations: 15.98 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1792, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/0.1792, allocations: 12 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1793, allocations: 0 / 0.6889 GB, free: 10.94 MB / 494.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: 2 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.1793, allocations: 115.1 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1794, allocations: 11.89 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.1796, allocations: 97.48 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1796, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1797, allocations: 0 / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1797, allocations: 3.938 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1798, allocations: 177.6 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1798, allocations: 3.938 kB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.1799, allocations: 15.98 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1799, allocations: 4 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1799, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1799, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.18, allocations: 384 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1803, allocations: 191.4 kB / 0.6895 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.1803, allocations: 84.95 kB / 0.6896 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1804, allocations: 4 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.1804, allocations: 11.98 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1805, allocations: 4 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1805, allocations: 0 / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.643e-05/0.1806, allocations: 87.27 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1806, allocations: 0 / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1808, allocations: 24 kB / 0.6897 GB, free: 10.02 MB / 494.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: 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 (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.0001665/0.181, allocations: 115.2 kB / 0.6898 GB, free: 9.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1813, allocations: 51.95 kB / 0.6899 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1813, allocations: 4 kB / 0.6899 GB, free: 9.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1814, allocations: 35.91 kB / 0.6899 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1816, allocations: 9.812 kB / 0.6899 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.1819, allocations: 124.6 kB / 0.6901 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1821, allocations: 0.6848 MB / 0.6907 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.883e-05/0.1822, allocations: 4 kB / 0.6907 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.1822, allocations: 15.42 kB / 0.6907 GB, free: 8.926 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1822, allocations: 0 / 0.6907 GB, free: 8.926 MB / 494.1 MB Notification: Performance of Templates: time 0.002995/0.1852, allocations: 0.8817 MB / 0.6916 GB, free: 8.051 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)