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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001069/0.001069, allocations: 196.3 kB / 16.14 MB, free: 6.734 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.255/1.255, allocations: 205.1 MB / 222 MB, free: 5.008 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.596/1.596, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001341/0.001342, allocations: 77.59 kB / 0.6709 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1762, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00157/0.1778, allocations: 0.6616 MB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003446/0.1782, allocations: 103.7 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.113e-05/0.1782, allocations: 0 / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.1782, allocations: 0 / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.1782, allocations: 0 / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1785, allocations: 39.89 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.1786, allocations: 59.94 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.905e-05/0.1786, allocations: 0 / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.1786, allocations: 27.97 kB / 0.7837 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.1787, allocations: 27.91 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1787, allocations: 4 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1788, allocations: 43.94 kB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.1789, allocations: 19.98 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.1789, allocations: 19.92 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.179, allocations: 75.81 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.179, allocations: 0 / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.12e-07/0.179, allocations: 0 / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.906e-06/0.179, allocations: 0 / 0.7839 GB, free: 12.82 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.0004318/0.1795, allocations: 387.6 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1795, allocations: 12.03 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.1796, allocations: 42.69 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.1796, allocations: 8.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/0.1797, allocations: 160.4 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.1799, allocations: 281.6 kB / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1799, allocations: 8.312 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1802, allocations: 77.95 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1802, allocations: 0 / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1802, allocations: 4 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1802, allocations: 8 kB / 0.7848 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.1805, allocations: 135.8 kB / 0.7849 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1807, allocations: 173.6 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.181, allocations: 98.52 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1811, allocations: 48.83 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1812, allocations: 0 / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1812, allocations: 38.5 kB / 0.7853 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 8.31e-07/0.1812, allocations: 0 / 0.7853 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004967/0.1817, allocations: 149.9 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.1817, allocations: 51.41 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.358e-05/0.1818, allocations: 89.86 kB / 0.7855 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1818, allocations: 29.7 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.1818, allocations: 84.34 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.1819, allocations: 39.45 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1819, allocations: 33.64 kB / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.182, allocations: 322.8 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1822, allocations: 31.97 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1823, allocations: 36.03 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1826, allocations: 68.81 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1826, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000323/0.1829, allocations: 113.6 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1829, allocations: 11.92 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1829, allocations: 4 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.1829, allocations: 0 / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1831, allocations: 27.92 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1831, allocations: 0 / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1832, allocations: 15.84 kB / 0.7863 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1832, allocations: 7.984 kB / 0.7863 GB, free: 9.977 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 7.165e-05/0.1833, allocations: 113.8 kB / 0.7864 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.1833, allocations: 3.938 kB / 0.7864 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.1833, allocations: 11.95 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1833, allocations: 11.94 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1833, allocations: 0 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1833, allocations: 0 / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1835, allocations: 173.7 kB / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1835, allocations: 0 / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1836, allocations: 31.91 kB / 0.7867 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1836, allocations: 3.938 kB / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1836, allocations: 4 kB / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1836, allocations: 0 / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1836, allocations: 0 / 0.7867 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.184, allocations: 148.9 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.184, allocations: 88.98 kB / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1841, allocations: 0 / 0.7869 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.1841, allocations: 4 kB / 0.7869 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.1842, allocations: 15.97 kB / 0.7869 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1842, allocations: 4 kB / 0.7869 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.1842, allocations: 75.28 kB / 0.787 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1842, allocations: 4 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002131/0.1844, allocations: 20 kB / 0.787 GB, free: 9.176 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.0006635/0.1851, allocations: 0.7059 MB / 0.7877 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.1854, allocations: 84.42 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1855, allocations: 8 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1856, allocations: 44.12 kB / 0.7878 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1857, allocations: 8 kB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.1863, allocations: 216.2 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.1865, allocations: 0.6848 MB / 0.7887 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.1866, allocations: 43.95 kB / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.1867, allocations: 19.42 kB / 0.7888 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.1867, allocations: 4 kB / 0.7888 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.1974, allocations: 1.846 MB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.1976, allocations: 209.1 kB / 0.7908 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.818, allocations: 0 / 0.7908 GB, free: 5.254 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)