Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 172.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000721/0.0007212, allocations: 86.25 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 16.64 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006907/0.1836, allocations: 315.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.1839, allocations: 99.72 kB / 0.9801 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.184, allocations: 0 / 0.9801 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.184, allocations: 0 / 0.9801 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.184, allocations: 0 / 0.9801 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.1843, allocations: 31.89 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.239e-05/0.1845, allocations: 59.94 kB / 0.9801 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.1845, allocations: 4 kB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.1845, allocations: 23.98 kB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.1846, allocations: 23.95 kB / 0.9802 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1846, allocations: 4 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1847, allocations: 39.97 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1848, allocations: 23.95 kB / 0.9803 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.1848, allocations: 33.64 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.1849, allocations: 43.92 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1849, allocations: 4 kB / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1849, allocations: 0 / 0.9803 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1849, allocations: 4 kB / 0.9803 GB, free: 26.85 MB / 0.6198 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.0004248/0.1854, allocations: 359.5 kB / 0.9807 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1854, allocations: 12.02 kB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.1855, allocations: 42.56 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.1855, allocations: 4 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.335e-05/0.1856, allocations: 167 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.1858, allocations: 281 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1858, allocations: 7.938 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.186, allocations: 81.58 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.186, allocations: 3.984 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1861, allocations: 4 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1861, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1864, allocations: 131.8 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1865, allocations: 177.6 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1868, allocations: 98.56 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1869, allocations: 36.84 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.187, allocations: 7.984 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.187, allocations: 38.5 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.187, allocations: 0 / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005005/0.1875, allocations: 145.5 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1876, allocations: 55.62 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.319e-05/0.1876, allocations: 89.86 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1876, allocations: 29.64 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.1876, allocations: 84.33 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.1877, allocations: 39.45 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.1877, allocations: 0 / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.1877, allocations: 318.8 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1879, allocations: 31.97 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.188, allocations: 31.92 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1881, allocations: 36.62 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1882, allocations: 3.953 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002995/0.1885, allocations: 113.5 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1885, allocations: 13.41 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1885, allocations: 3.984 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1885, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1887, allocations: 23.97 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1887, allocations: 4 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.1887, allocations: 7.938 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1888, allocations: 7.984 kB / 0.9827 GB, free: 24.12 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/0.1888, allocations: 113.8 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.1889, allocations: 19.86 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1889, allocations: 7.969 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1889, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1889, allocations: 4 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1889, allocations: 3.984 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.189, allocations: 169.7 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.189, allocations: 7.938 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1892, allocations: 27.94 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1892, allocations: 0 / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1892, allocations: 7.984 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1892, allocations: 4 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1892, allocations: 4 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1896, allocations: 140.9 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.1896, allocations: 85.03 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1896, allocations: 7.953 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.9e-05/0.1897, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1897, allocations: 15.97 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1898, allocations: 4 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.375e-05/0.1898, allocations: 79.28 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1898, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002141/0.19, allocations: 20 kB / 0.9834 GB, free: 23.32 MB / 0.6198 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 (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.0005814/0.1906, allocations: 0.702 MB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.1909, allocations: 83.94 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1909, allocations: 0 / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1911, allocations: 47.91 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1912, allocations: 13.78 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.1917, allocations: 204.3 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.1918, allocations: 0.6848 MB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.192, allocations: 39.95 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1921, allocations: 23.42 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1921, allocations: 0 / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.2033, allocations: 1.779 MB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.2035, allocations: 195.4 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.789, allocations: 0 / 0.9871 GB, free: 19.57 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)