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.001108/0.001108, allocations: 108 kB / 15.61 MB, free: 152 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.00109/0.00109, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.114/1.114, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.456/1.456, 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.001284/0.001284, allocations: 66.16 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00157/0.1628, allocations: 0.5822 MB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.1631, allocations: 111.6 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.495e-05/0.1632, allocations: 0 / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1632, allocations: 0 / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.1632, allocations: 0 / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1635, allocations: 43.83 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.1636, allocations: 63.92 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.1636, allocations: 8 kB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.1637, allocations: 27.97 kB / 0.7842 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.1637, allocations: 19.97 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1637, allocations: 4 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.1638, allocations: 39.95 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1639, allocations: 27.92 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.1639, allocations: 19.91 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.164, allocations: 71.83 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.164, allocations: 4 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.164, allocations: 0 / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.164, allocations: 0 / 0.7844 GB, free: 12.42 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.0003855/0.1644, allocations: 367.8 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.1644, allocations: 8.031 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1645, allocations: 12.84 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.1646, allocations: 164.3 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.1648, allocations: 281.5 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1648, allocations: 4.375 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.165, allocations: 90.12 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.165, allocations: 3.938 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.165, allocations: 0 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.165, allocations: 4 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.1653, allocations: 131.8 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.1655, allocations: 173.6 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.1657, allocations: 98.45 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1659, allocations: 52.77 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1659, allocations: 7.984 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.1659, allocations: 30.89 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.1659, allocations: 0 / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000444/0.1664, allocations: 157.3 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.1664, allocations: 51.41 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.989e-05/0.1664, allocations: 89.86 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1665, allocations: 29.7 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.807e-05/0.1665, allocations: 88.14 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.1665, allocations: 31.55 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1666, allocations: 29.7 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.1667, allocations: 314.8 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1668, allocations: 27.98 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1669, allocations: 43.84 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1671, allocations: 72.81 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1671, allocations: 0 / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002857/0.1674, allocations: 117.5 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1675, allocations: 8.875 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1675, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1675, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1676, allocations: 39.84 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.1676, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.1677, allocations: 7.938 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1677, allocations: 11.97 kB / 0.7868 GB, free: 9.637 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.31e-05/0.1678, allocations: 118.5 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1678, allocations: 7.844 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.1678, allocations: 11.97 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1678, allocations: 4 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1678, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1678, allocations: 3.984 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.168, allocations: 177.6 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.168, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1681, allocations: 19.98 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1681, allocations: 3.938 kB / 0.7871 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1681, allocations: 15.92 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1681, allocations: 0 / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1681, allocations: 0 / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.1684, allocations: 140.9 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.1685, allocations: 89.03 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1685, allocations: 7.875 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.1685, allocations: 8 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1686, allocations: 7.984 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1686, allocations: 11.98 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.1686, allocations: 75.28 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1686, allocations: 0 / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001943/0.1688, allocations: 24 kB / 0.7875 GB, free: 8.824 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.0001369/0.169, allocations: 119.2 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1693, allocations: 96.75 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1693, allocations: 0 / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1694, allocations: 59.89 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.1695, allocations: 4.438 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.1698, allocations: 159 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.17, allocations: 0.6875 MB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.1701, allocations: 35.97 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.1702, allocations: 23.42 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1702, allocations: 0 / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of Templates: time 0.002558/0.1727, allocations: 1.019 MB / 0.7896 GB, free: 6.578 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)