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.0009392/0.0009392, allocations: 104.5 kB / 16.29 MB, free: 6.43 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.000888/0.000888, allocations: 184.5 kB / 17.22 MB, free: 5.934 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.214/1.214, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.558/1.558, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001459/0.001459, allocations: 76.31 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1887, allocations: 114.5 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002537/0.1912, allocations: 1.522 MB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.1917, allocations: 180.3 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.1917, allocations: 0 / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.1918, allocations: 0 / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.1918, allocations: 11.91 kB / 0.7857 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1921, allocations: 47.89 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.1922, allocations: 43.84 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.1923, allocations: 12 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.1923, allocations: 15.98 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.1924, allocations: 19.86 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.1924, allocations: 4 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1925, allocations: 51.94 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.1925, allocations: 7.938 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1926, allocations: 15.92 kB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1927, allocations: 67.8 kB / 0.786 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1927, allocations: 3.984 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1927, allocations: 7.938 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1928, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 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.0004653/0.1932, allocations: 351.7 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1933, allocations: 8.031 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1933, allocations: 4.938 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1934, allocations: 168.3 kB / 0.7865 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1935, allocations: 8.375 kB / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1935, allocations: 384 / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1937, allocations: 66.22 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1937, allocations: 8.125 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1937, allocations: 3.938 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1937, allocations: 0 / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1939, allocations: 43.95 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1943, allocations: 280.7 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.1946, allocations: 66.47 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/0.1947, allocations: 24.91 kB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.1949, allocations: 166.2 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1949, allocations: 38.56 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 3.828e-06/0.1949, allocations: 0 / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.00035/0.1953, allocations: 105.6 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1953, allocations: 51.41 kB / 0.7874 GB, free: 232 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.1954, allocations: 109.8 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1954, allocations: 25.7 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3075/0.5029, allocations: 83.77 kB / 0.7876 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.503, allocations: 9.656 kB / 0.7876 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.503, allocations: 18.95 kB / 0.7876 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.5031, allocations: 319.4 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5032, allocations: 20.11 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.5033, allocations: 24.84 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.5035, allocations: 45.47 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5035, allocations: 0 / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002125/0.5037, allocations: 76.92 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5037, allocations: 5.75 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5038, allocations: 3 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5038, allocations: 0 / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.5039, allocations: 12.27 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5039, allocations: 0 / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.5039, allocations: 7.078 kB / 0.7881 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.504, allocations: 2.812 kB / 0.7881 GB, free: 48.47 MB / 0.6544 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.035e-05/0.504, allocations: 112.3 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5041, allocations: 6.438 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.5043, allocations: 86.94 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.5043, allocations: 11.2 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5043, allocations: 0 / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5043, allocations: 0 / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5045, allocations: 160.7 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5045, allocations: 0 / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.5046, allocations: 16.16 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5046, allocations: 0.8438 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.5046, allocations: 2.344 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5046, allocations: 7.125 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5046, allocations: 2.188 kB / 0.7885 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.5048, allocations: 172.4 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.5048, allocations: 82.77 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5049, allocations: 3.094 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.5049, allocations: 6.688 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.505, allocations: 8.531 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.505, allocations: 5.703 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.5051, allocations: 88.02 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5051, allocations: 0 / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002623/0.5053, allocations: 21.02 kB / 0.7888 GB, free: 47.83 MB / 0.6544 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.000171/0.5055, allocations: 121.1 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.5057, allocations: 50.3 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5057, allocations: 0 / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.5058, allocations: 28.89 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.5062, allocations: 6.281 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.5064, allocations: 115.3 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.5065, allocations: 0.68 MB / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.71e-05/0.5066, allocations: 4.906 kB / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.5066, allocations: 10.12 kB / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5066, allocations: 0 / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.002816/0.5094, allocations: 0.9812 MB / 0.7908 GB, free: 46.93 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)