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.0009511/0.0009508, allocations: 108 kB / 15.6 MB, free: 132 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.0009839/0.0009839, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.4 MB, free: 4.586 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.612/1.612, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001385/0.001385, allocations: 76.66 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1945, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002532/0.1971, allocations: 1.524 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.1975, allocations: 176.3 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1975, allocations: 4 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.1976, allocations: 3.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.1976, allocations: 3.984 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1979, allocations: 51.83 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.198, allocations: 39.91 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.198, allocations: 19.92 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.1981, allocations: 8 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.1981, allocations: 19.92 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1981, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1983, allocations: 47.94 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.1983, allocations: 7.938 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1983, allocations: 15.92 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1984, allocations: 63.86 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1984, allocations: 0 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1984, allocations: 3.984 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1985, allocations: 3.938 kB / 0.7853 GB, free: 11.48 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.000413/0.1989, allocations: 355.6 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1989, allocations: 12.03 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.199, allocations: 12.84 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1991, allocations: 168.4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1991, allocations: 4.375 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1991, allocations: 384 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1993, allocations: 62.22 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1993, allocations: 4.188 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1993, allocations: 7.875 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1993, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1995, allocations: 47.95 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1999, allocations: 280.7 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.2001, allocations: 62.53 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.2002, allocations: 28.84 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.2004, allocations: 166.2 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2005, allocations: 30.56 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2005, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003505/0.2008, allocations: 97.62 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2009, allocations: 55.41 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.2009, allocations: 105.8 kB / 0.7867 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.201, allocations: 29.7 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.201, allocations: 88.08 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.201, allocations: 3.906 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.201, allocations: 21.7 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.2011, allocations: 318.8 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.2012, allocations: 23.97 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.2013, allocations: 19.98 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.2015, allocations: 53.08 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2015, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002067/0.2017, allocations: 77.56 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2017, allocations: 14.59 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2017, allocations: 4 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2018, allocations: 0 / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.2018, allocations: 15.92 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2018, allocations: 320 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.2019, allocations: 7.984 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.2019, allocations: 0 / 0.7874 GB, free: 9.09 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.23e-05/0.202, allocations: 113.8 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.202, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.2023, allocations: 89.55 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2023, allocations: 0 / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2023, allocations: 3.938 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2023, allocations: 0 / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2024, allocations: 177.5 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2024, allocations: 0 / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.2025, allocations: 11.94 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2025, allocations: 3.984 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2025, allocations: 4 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2025, allocations: 4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2025, allocations: 0 / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.2028, allocations: 167.5 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.2028, allocations: 81.11 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2029, allocations: 3.984 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.2029, allocations: 8 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.203, allocations: 11.98 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.203, allocations: 0 / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.2031, allocations: 95.31 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2031, allocations: 4 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002285/0.2033, allocations: 15.94 kB / 0.7881 GB, free: 8.203 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.000147/0.2035, allocations: 123.2 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2037, allocations: 47.89 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2037, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.2038, allocations: 23.98 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2041, allocations: 15.92 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.2043, allocations: 121.4 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.2045, allocations: 0.6768 MB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.2045, allocations: 4.328 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.2046, allocations: 19.38 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2046, allocations: 0 / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Templates: time 0.002827/0.2074, allocations: 0.9737 MB / 0.7901 GB, free: 6.145 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)