Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001044/0.001044, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.254/1.254, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 74.58 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1859, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001744/0.1877, allocations: 0.6549 MB / 0.7836 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.188, allocations: 99.64 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.1881, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.1881, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1881, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1884, allocations: 39.95 kB / 0.7838 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1885, allocations: 63.94 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1886, allocations: 7.938 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.1886, allocations: 27.98 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1887, allocations: 23.95 kB / 0.7839 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1887, allocations: 4 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1888, allocations: 39.97 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1889, allocations: 27.89 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.1889, allocations: 19.92 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.189, allocations: 71.83 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.189, allocations: 0 / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1891, allocations: 0 / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.1891, allocations: 0 / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004707/0.1895, allocations: 379.7 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1896, allocations: 12.03 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1896, allocations: 42.73 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1897, allocations: 12.94 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.1898, allocations: 168.3 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.19, allocations: 277.6 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.19, allocations: 8.359 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.1903, allocations: 85.89 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1903, allocations: 0 / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1903, allocations: 4 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1903, allocations: 4 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1907, allocations: 131.8 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1908, allocations: 177.6 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1911, allocations: 94.47 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1913, allocations: 48.77 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1913, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1914, allocations: 42.83 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/0.1914, allocations: 0 / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004997/0.1919, allocations: 153.7 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1919, allocations: 51.41 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.192, allocations: 89.86 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.192, allocations: 29.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.192, allocations: 84.14 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.1921, allocations: 35.45 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1921, allocations: 29.7 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.1922, allocations: 318.8 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1924, allocations: 27.98 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1925, allocations: 43.84 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1928, allocations: 68.81 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1928, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003144/0.1931, allocations: 109.6 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1931, allocations: 7.938 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1931, allocations: 4 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1931, allocations: 7.938 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1933, allocations: 27.91 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1933, allocations: 0 / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.1934, allocations: 11.94 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.1934, allocations: 7.984 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.496e-05/0.1935, allocations: 114.5 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1935, allocations: 7.844 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.1935, allocations: 15.97 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1935, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1935, allocations: 3.984 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1936, allocations: 0 / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1937, allocations: 181.6 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1937, allocations: 0 / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1938, allocations: 19.98 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1938, allocations: 3.938 kB / 0.7868 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1938, allocations: 11.92 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1938, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1939, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1942, allocations: 152.9 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1943, allocations: 88.98 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1943, allocations: 3.938 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.686e-05/0.1943, allocations: 4 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.1944, allocations: 11.98 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1944, allocations: 7.984 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.1945, allocations: 75.28 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1945, allocations: 4 kB / 0.7872 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002142/0.1947, allocations: 20 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006589/0.1953, allocations: 0.6986 MB / 0.7879 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1957, allocations: 103.9 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1957, allocations: 4 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1959, allocations: 47.91 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.196, allocations: 4 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.1965, allocations: 220.7 kB / 0.7882 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1967, allocations: 0.6846 MB / 0.7889 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.1969, allocations: 39.95 kB / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1969, allocations: 19.42 kB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.1969, allocations: 4 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.2138, allocations: 1.901 MB / 0.7908 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.2141, allocations: 202.4 kB / 0.791 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.209, allocations: 0 / 0.791 GB, free: 5.113 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)