Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.000989, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0008838/0.0008838, allocations: 191 kB / 16.25 MB, free: 6.617 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.126/1.126, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.475/1.475, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001223/0.001223, allocations: 70.81 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001593/0.1657, allocations: 0.6587 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002927/0.166, allocations: 103.7 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.3e-05/0.166, allocations: 0 / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.166, allocations: 0 / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-06/0.1661, allocations: 0 / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1663, allocations: 35.95 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.1664, allocations: 55.94 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.1665, allocations: 8 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1665, allocations: 27.97 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.1665, allocations: 19.97 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1665, allocations: 4 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.1666, allocations: 55.94 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.1667, allocations: 23.86 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1667, allocations: 19.92 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1668, allocations: 75.81 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1668, allocations: 0 / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1668, allocations: 0 / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1668, allocations: 0 / 0.7839 GB, free: 12.81 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004101/0.1673, allocations: 375.8 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.1673, allocations: 8.031 kB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1673, allocations: 12.84 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.466e-05/0.1674, allocations: 164.3 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.1676, allocations: 285.5 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1677, allocations: 4.375 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1679, allocations: 78.19 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1679, allocations: 7.875 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1679, allocations: 7.938 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1679, allocations: 4 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.1682, allocations: 135.8 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1684, allocations: 169.7 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1686, allocations: 94.52 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1688, allocations: 44.83 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1688, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1688, allocations: 34.56 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.1688, allocations: 4.266 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004695/0.1693, allocations: 161.3 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.1693, allocations: 51.41 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.1694, allocations: 89.86 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1694, allocations: 25.7 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.936e-05/0.1694, allocations: 84.14 kB / 0.7857 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1695, allocations: 39.53 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1695, allocations: 25.7 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.1696, allocations: 318.8 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1697, allocations: 31.97 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1698, allocations: 35.91 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.1701, allocations: 76.75 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1701, allocations: 0 / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002886/0.1704, allocations: 113.5 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1704, allocations: 7.938 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1704, allocations: 0 / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.1704, allocations: 4 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1705, allocations: 27.97 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1706, allocations: 3.938 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1706, allocations: 11.94 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1706, allocations: 7.984 kB / 0.7863 GB, free: 10.03 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.827e-05/0.1707, allocations: 117.8 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.1707, allocations: 7.844 kB / 0.7865 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.1708, allocations: 7.969 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1708, allocations: 8 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.1708, allocations: 0 / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1708, allocations: 3.984 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1709, allocations: 169.7 kB / 0.7866 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1709, allocations: 4 kB / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.171, allocations: 23.98 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.171, allocations: 7.875 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.171, allocations: 11.98 kB / 0.7867 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.171, allocations: 0 / 0.7867 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.171, allocations: 0 / 0.7867 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1714, allocations: 148.9 kB / 0.7868 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1714, allocations: 89.03 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1714, allocations: 3.938 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.1715, allocations: 4 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1715, allocations: 11.98 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1715, allocations: 7.984 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.1716, allocations: 75.28 kB / 0.787 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1716, allocations: 4 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001939/0.1718, allocations: 24 kB / 0.787 GB, free: 9.211 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001429/0.1719, allocations: 115.2 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1722, allocations: 96.75 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1722, allocations: 3.938 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1724, allocations: 51.91 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1725, allocations: 4.438 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.1728, allocations: 188.1 kB / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.173, allocations: 0.6836 MB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.1731, allocations: 39.95 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1732, allocations: 19.42 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.1732, allocations: 0 / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of Templates: time 0.002331/0.1755, allocations: 0.9958 MB / 0.7892 GB, free: 6.973 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)