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.0008012/0.0008013, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008756/0.0008758, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 282.2 kB / 291.4 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9068/0.9068, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 14.12 kB / 0.598 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.001634/0.1862, allocations: 1.232 MB / 0.6857 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.1866, allocations: 172.9 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1866, allocations: 0 / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1867, allocations: 4.719 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.1867, allocations: 0 / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.187, allocations: 44.45 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.187, allocations: 30.33 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.1871, allocations: 11.98 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.1872, allocations: 4 kB / 0.6859 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.1872, allocations: 19.92 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1872, allocations: 3.281 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.1873, allocations: 43.89 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1873, allocations: 7.922 kB / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.1874, allocations: 33.7 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.1875, allocations: 40.2 kB / 0.6861 GB, free: 13.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1875, allocations: 0 / 0.6861 GB, free: 13.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1875, allocations: 0 / 0.6861 GB, free: 13.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1875, allocations: 0 / 0.6861 GB, free: 13.78 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.0003961/0.1879, allocations: 360.3 kB / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1879, allocations: 8.625 kB / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1879, allocations: 0.5625 kB / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1881, allocations: 171 kB / 0.6866 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1881, allocations: 6.219 kB / 0.6866 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1881, allocations: 8 kB / 0.6866 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1883, allocations: 66.16 kB / 0.6867 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1883, allocations: 0 / 0.6867 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1883, allocations: 4.75 kB / 0.6867 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1883, allocations: 0 / 0.6867 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1885, allocations: 54.33 kB / 0.6867 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1889, allocations: 290.3 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1892, allocations: 65.97 kB / 0.6871 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.1893, allocations: 25.42 kB / 0.6871 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.1895, allocations: 178.8 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1895, allocations: 31.34 kB / 0.6873 GB, free: 12.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1895, allocations: 1.688 kB / 0.6873 GB, free: 12.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003613/0.1899, allocations: 117.5 kB / 0.6874 GB, free: 12.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.1899, allocations: 51.41 kB / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.19, allocations: 109.8 kB / 0.6876 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.19, allocations: 25.7 kB / 0.6876 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.1901, allocations: 92.03 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1901, allocations: 11.91 kB / 0.6877 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1901, allocations: 0 / 0.6877 GB, free: 11.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1902, allocations: 314.8 kB / 0.688 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.1903, allocations: 23.97 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1904, allocations: 23.98 kB / 0.688 GB, free: 11.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.1905, allocations: 27.98 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1905, allocations: 0 / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001937/0.1907, allocations: 89.58 kB / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1907, allocations: 8 kB / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1907, allocations: 0 / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1907, allocations: 0 / 0.6882 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.1908, allocations: 19.94 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1908, allocations: 0 / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.1909, allocations: 12 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1909, allocations: 3.984 kB / 0.6882 GB, free: 11.39 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 (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 6.865e-05/0.1909, allocations: 118.5 kB / 0.6883 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.191, allocations: 3.906 kB / 0.6883 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1912, allocations: 93.86 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1912, allocations: 3.938 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1912, allocations: 7.953 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1912, allocations: 0 / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1914, allocations: 165.7 kB / 0.6886 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1914, allocations: 0 / 0.6886 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1915, allocations: 19.92 kB / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1915, allocations: 0 / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1915, allocations: 0 / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1915, allocations: 3.938 kB / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1915, allocations: 0 / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1918, allocations: 187.5 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1918, allocations: 84.95 kB / 0.6888 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1918, allocations: 0 / 0.6888 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.1919, allocations: 19.98 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.192, allocations: 7.984 kB / 0.6889 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.192, allocations: 0 / 0.6889 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.815e-05/0.192, allocations: 87.22 kB / 0.689 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.192, allocations: 4 kB / 0.689 GB, free: 10.49 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1923, allocations: 15.95 kB / 0.689 GB, free: 10.48 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 (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.0001469/0.1924, allocations: 119.2 kB / 0.6891 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1926, allocations: 55.95 kB / 0.6891 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1926, allocations: 0 / 0.6891 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.1927, allocations: 31.97 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.193, allocations: 10.03 kB / 0.6892 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.1932, allocations: 120.6 kB / 0.6893 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1935, allocations: 0.6848 MB / 0.69 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1935, allocations: 4 kB / 0.69 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1935, allocations: 15.38 kB / 0.69 GB, free: 9.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1935, allocations: 0 / 0.69 GB, free: 9.387 MB / 494.1 MB Notification: Performance of Templates: time 0.002729/0.1963, allocations: 0.8561 MB / 0.6908 GB, free: 8.535 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)