Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00105/0.00105, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.264/1.264, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.646/1.646, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001379/0.001379, allocations: 74.16 kB / 0.6722 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1902, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002536/0.1928, allocations: 1.532 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.1932, allocations: 172.3 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.1933, allocations: 4 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1933, allocations: 3.938 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.1933, allocations: 7.922 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1936, allocations: 47.89 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.1937, allocations: 39.84 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.1938, allocations: 19.98 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.1938, allocations: 11.98 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.1939, allocations: 19.92 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1939, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.194, allocations: 51.95 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.194, allocations: 11.92 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.1941, allocations: 15.94 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1942, allocations: 59.84 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1942, allocations: 0 / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1942, allocations: 3.938 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1942, allocations: 3.938 kB / 0.7861 GB, free: 10.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004378/0.1947, allocations: 363.4 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.1947, allocations: 8.031 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.1947, allocations: 8.844 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1948, allocations: 172.3 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1949, allocations: 384 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.1949, allocations: 384 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.195, allocations: 70.2 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1951, allocations: 4.188 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1951, allocations: 3.938 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1951, allocations: 0 / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1953, allocations: 43.95 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1956, allocations: 284.6 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.1959, allocations: 62.53 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.196, allocations: 28.89 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.1962, allocations: 162.2 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1962, allocations: 38.56 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1962, allocations: 0 / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003573/0.1966, allocations: 97.56 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1967, allocations: 51.41 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.1967, allocations: 113.8 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1968, allocations: 25.7 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.1968, allocations: 80.14 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1968, allocations: 7.906 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.1969, allocations: 17.66 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.197, allocations: 334.8 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.1971, allocations: 11.98 kB / 0.788 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.1971, allocations: 23.97 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1973, allocations: 48.77 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1973, allocations: 0 / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002028/0.1975, allocations: 85.86 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1975, allocations: 8.938 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1976, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1976, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.1977, allocations: 11.98 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1977, allocations: 0 / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1977, allocations: 4 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1977, allocations: 0 / 0.7881 GB, free: 8.34 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: 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 6.775e-05/0.1978, allocations: 125.8 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.1978, allocations: 0 / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1981, allocations: 85.48 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1981, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1981, allocations: 3.938 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1981, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1983, allocations: 173.5 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1983, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.1984, allocations: 11.98 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1984, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1984, allocations: 4 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1984, allocations: 4 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1984, allocations: 0 / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1986, allocations: 175.4 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1987, allocations: 77.11 kB / 0.7888 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1987, allocations: 8 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.1988, allocations: 7.984 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1988, allocations: 4 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1988, allocations: 3.984 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.1989, allocations: 91.34 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1989, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002329/0.1991, allocations: 23.88 kB / 0.7889 GB, free: 7.445 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: 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.0001497/0.1993, allocations: 115.2 kB / 0.789 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1995, allocations: 47.95 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1995, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.1996, allocations: 27.91 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1999, allocations: 12.48 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.2001, allocations: 121.4 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2004, allocations: 0.6846 MB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2004, allocations: 3.984 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2004, allocations: 15.44 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2005, allocations: 0 / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.00286/0.2033, allocations: 0.9833 MB / 0.7909 GB, free: 5.387 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)