Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7916/0.7916, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 187.3 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008691, allocations: 123.4 kB / 0.5211 GB, free: 1.648 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 282.6 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006847/0.0006847, allocations: 20.53 kB / 0.6948 GB, free: 59.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1855, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002199/0.1877, allocations: 1.241 MB / 0.7765 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.1884, allocations: 414.8 kB / 0.7769 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.1884, allocations: 4 kB / 0.7769 GB, free: 12.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.1885, allocations: 3.938 kB / 0.7769 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.1885, allocations: 0 / 0.7769 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1888, allocations: 43.89 kB / 0.777 GB, free: 12.58 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.1889, allocations: 35.92 kB / 0.777 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.189, allocations: 7.984 kB / 0.777 GB, free: 12.54 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.1891, allocations: 8 kB / 0.777 GB, free: 12.53 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.938e-05/0.1891, allocations: 23.91 kB / 0.777 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1892, allocations: 7.938 kB / 0.777 GB, free: 12.5 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1893, allocations: 35.97 kB / 0.7771 GB, free: 12.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.1893, allocations: 7.922 kB / 0.7771 GB, free: 12.46 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.1894, allocations: 37.64 kB / 0.7771 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1896, allocations: 64.12 kB / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1896, allocations: 0 / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1896, allocations: 0 / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1896, allocations: 0 / 0.7772 GB, free: 12.35 MB / 458.7 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.0005283/0.1902, allocations: 363.4 kB / 0.7775 GB, free: 11.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1902, allocations: 8.031 kB / 0.7775 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1902, allocations: 4.938 kB / 0.7775 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1904, allocations: 168.3 kB / 0.7777 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1904, allocations: 4.375 kB / 0.7777 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1904, allocations: 384 / 0.7777 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1907, allocations: 74.22 kB / 0.7778 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1907, allocations: 192 / 0.7778 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1908, allocations: 3.938 kB / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1908, allocations: 0 / 0.7778 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.1911, allocations: 59.89 kB / 0.7778 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.1915, allocations: 276.8 kB / 0.7781 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.192, allocations: 66.59 kB / 0.7782 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1922, allocations: 40.77 kB / 0.7782 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1925, allocations: 166.2 kB / 0.7784 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1925, allocations: 34.56 kB / 0.7784 GB, free: 10.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1925, allocations: 0 / 0.7784 GB, free: 10.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005334/0.193, allocations: 113.5 kB / 0.7785 GB, free: 10.79 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1931, allocations: 51.41 kB / 0.7786 GB, free: 10.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1932, allocations: 113.8 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1932, allocations: 25.7 kB / 0.7787 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.1933, allocations: 88.08 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1933, allocations: 11.98 kB / 0.7788 GB, free: 10.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.1933, allocations: 0 / 0.7788 GB, free: 10.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1935, allocations: 322.7 kB / 0.7791 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1936, allocations: 23.97 kB / 0.7791 GB, free: 10.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1938, allocations: 23.98 kB / 0.7791 GB, free: 10.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.1941, allocations: 56.81 kB / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1941, allocations: 0 / 0.7792 GB, free: 10.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003501/0.1944, allocations: 93.56 kB / 0.7793 GB, free: 9.945 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1945, allocations: 7.938 kB / 0.7793 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1945, allocations: 336 / 0.7793 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1945, allocations: 0 / 0.7793 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1946, allocations: 15.98 kB / 0.7793 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1946, allocations: 3.938 kB / 0.7793 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.1947, allocations: 11.98 kB / 0.7793 GB, free: 9.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1948, allocations: 4 kB / 0.7793 GB, free: 9.902 MB / 458.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/0.1949, allocations: 117.8 kB / 0.7794 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1949, allocations: 4 kB / 0.7794 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.1953, allocations: 97.55 kB / 0.7795 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1953, allocations: 0 / 0.7795 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1953, allocations: 3.984 kB / 0.7795 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1953, allocations: 0 / 0.7795 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1956, allocations: 173.5 kB / 0.7797 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1956, allocations: 0 / 0.7797 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1957, allocations: 19.98 kB / 0.7797 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1957, allocations: 0 / 0.7797 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1957, allocations: 0 / 0.7797 GB, free: 9.426 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1958, allocations: 7.938 kB / 0.7797 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1958, allocations: 0 / 0.7797 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1962, allocations: 183.4 kB / 0.7799 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1962, allocations: 89.09 kB / 0.78 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1963, allocations: 0 / 0.78 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1964, allocations: 8 kB / 0.78 GB, free: 9.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1965, allocations: 3.984 kB / 0.78 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.1965, allocations: 8 kB / 0.78 GB, free: 9.098 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.083e-05/0.1966, allocations: 83.27 kB / 0.7801 GB, free: 9.016 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1966, allocations: 0 / 0.7801 GB, free: 9.016 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.197, allocations: 20 kB / 0.7801 GB, free: 8.996 MB / 458.7 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.0001969/0.1972, allocations: 123.2 kB / 0.7802 GB, free: 8.867 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1975, allocations: 59.89 kB / 0.7803 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1975, allocations: 0 / 0.7803 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1977, allocations: 35.97 kB / 0.7803 GB, free: 8.773 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1981, allocations: 7.875 kB / 0.7803 GB, free: 8.766 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.1984, allocations: 131.1 kB / 0.7804 GB, free: 8.613 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1988, allocations: 0.6808 MB / 0.7811 GB, free: 7.906 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.1988, allocations: 12 kB / 0.7811 GB, free: 7.895 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1989, allocations: 11.44 kB / 0.7811 GB, free: 7.883 MB / 458.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1989, allocations: 0 / 0.7811 GB, free: 7.883 MB / 458.7 MB Notification: Performance of Templates: time 0.003881/0.2028, allocations: 0.8775 MB / 0.782 GB, free: 7.012 MB / 458.7 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)