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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001155/0.001155, allocations: 192.1 kB / 16.13 MB, free: 6.668 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 281.7 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8906/0.8906, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 87.59 kB / 0.5946 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1799, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003383/0.1834, allocations: 1.591 MB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.1839, allocations: 180.8 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.184, allocations: 0.5625 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.184, allocations: 12.58 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.1841, allocations: 3.938 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.1844, allocations: 36.8 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.1845, allocations: 35.92 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1846, allocations: 9.875 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.1847, allocations: 16.42 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.1847, allocations: 19.91 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1847, allocations: 5.906 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1849, allocations: 39.97 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.1849, allocations: 7.984 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1849, allocations: 15.88 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1851, allocations: 71.77 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1851, allocations: 4 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1851, allocations: 0 / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1851, allocations: 0 / 0.6815 GB, free: 15.06 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.0005202/0.1856, allocations: 351.5 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1857, allocations: 8.031 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1857, allocations: 34.75 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1858, allocations: 4.938 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1859, allocations: 172.2 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.1859, allocations: 8.375 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.186, allocations: 384 / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1862, allocations: 66.22 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1862, allocations: 7.875 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1862, allocations: 4 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1862, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.1864, allocations: 39.95 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1868, allocations: 284.8 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1872, allocations: 54.55 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1873, allocations: 28.89 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.1875, allocations: 166.2 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1876, allocations: 38.56 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 3.046e-06/0.1876, allocations: 0 / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003938/0.188, allocations: 97.47 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.188, allocations: 51.41 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1881, allocations: 109.8 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1882, allocations: 29.7 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.1882, allocations: 88.22 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1883, allocations: 7.891 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1883, allocations: 17.7 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1884, allocations: 322.8 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.1885, allocations: 15.98 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.1886, allocations: 23.91 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1888, allocations: 52.75 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1888, allocations: 4 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002185/0.189, allocations: 73.56 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.189, allocations: 8 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1891, allocations: 0 / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1891, allocations: 336 / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.1892, allocations: 11.98 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1892, allocations: 4 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.1892, allocations: 7.984 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1893, allocations: 0 / 0.6836 GB, free: 12.64 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 8.906e-05/0.1894, allocations: 118.4 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1894, allocations: 3.984 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1897, allocations: 85.48 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1897, allocations: 4 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1897, allocations: 3.938 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1897, allocations: 0 / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.1899, allocations: 173.5 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1899, allocations: 4 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.19, allocations: 11.98 kB / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.19, allocations: 0 / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.19, allocations: 0 / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.19, allocations: 7.984 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.19, allocations: 0 / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1903, allocations: 183.3 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.1904, allocations: 77.11 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1904, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.1905, allocations: 7.984 kB / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.1905, allocations: 7.984 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1905, allocations: 0 / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.1906, allocations: 91.28 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1906, allocations: 0 / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1908, allocations: 15.98 kB / 0.6844 GB, free: 11.75 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.0006742/0.1915, allocations: 0.7279 MB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.1918, allocations: 47.95 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1918, allocations: 0 / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.1919, allocations: 27.97 kB / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1922, allocations: 0 / 0.6852 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1937, allocations: 1.301 MB / 0.6864 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.194, allocations: 0.6848 MB / 0.6871 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.1941, allocations: 4.547 kB / 0.6871 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1941, allocations: 7.438 kB / 0.6871 GB, free: 8.824 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1941, allocations: 4 kB / 0.6871 GB, free: 8.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.2063, allocations: 1.729 MB / 0.6888 GB, free: 7.188 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/0.2067, allocations: 194 kB / 0.689 GB, free: 6.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.87, allocations: 0 / 0.689 GB, free: 6.938 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)