Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.5/1.5, allocations: 288.4 MB / 303.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009572/0.0009573, allocations: 182 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006542/0.0006542, allocations: 92.25 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 12.53 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001227/0.1987, allocations: 1.244 MB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.199, allocations: 173.2 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.199, allocations: 0 / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.199, allocations: 3.938 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.1991, allocations: 0 / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1993, allocations: 47.89 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.1993, allocations: 31.91 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.1994, allocations: 8 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.1994, allocations: 11.97 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.1995, allocations: 19.92 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1995, allocations: 0 / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.1996, allocations: 39.91 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1996, allocations: 19.92 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.1996, allocations: 33.62 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.327e-05/0.1997, allocations: 43.92 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1997, allocations: 4 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1997, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1997, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 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.0003053/0.2, allocations: 351.7 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.2001, allocations: 8.031 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.012e-05/0.2001, allocations: 38.75 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.2001, allocations: 4.922 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.8e-05/0.2002, allocations: 172.3 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.2002, allocations: 4.375 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2002, allocations: 4.375 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.2004, allocations: 74.14 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2004, allocations: 3.938 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2004, allocations: 4 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2004, allocations: 4 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2006, allocations: 51.95 kB / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.2009, allocations: 280.7 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.2012, allocations: 70.47 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.2013, allocations: 32.84 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.2014, allocations: 170.2 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.2014, allocations: 34.55 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2015, allocations: 0 / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000328/0.2018, allocations: 113.6 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.373e-05/0.2018, allocations: 51.41 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.43e-05/0.2019, allocations: 105.8 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.2019, allocations: 29.7 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.2019, allocations: 92.14 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.2019, allocations: 7.891 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.2019, allocations: 0 / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.202, allocations: 326.8 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.2021, allocations: 19.98 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.2021, allocations: 23.97 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.2023, allocations: 60.81 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2023, allocations: 0 / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001933/0.2025, allocations: 97.5 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.2025, allocations: 4 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.2025, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2025, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.2026, allocations: 15.98 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2026, allocations: 0 / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.2027, allocations: 7.984 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.2027, allocations: 4 kB / 0.984 GB, free: 23.08 MB / 0.6198 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.2027, allocations: 123.5 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.2028, allocations: 4 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.203, allocations: 93.81 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.203, allocations: 8.031 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.203, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.203, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2031, allocations: 169.6 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2031, allocations: 4 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.2032, allocations: 15.98 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2032, allocations: 0 / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2032, allocations: 7.922 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2032, allocations: 0 / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2032, allocations: 0 / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.2034, allocations: 187.4 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.2035, allocations: 81.05 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2035, allocations: 3.984 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.2036, allocations: 16 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2036, allocations: 3.984 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2036, allocations: 7.938 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.2037, allocations: 87.27 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2037, allocations: 0 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002081/0.2039, allocations: 16 kB / 0.9848 GB, free: 22.17 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000383/0.2043, allocations: 0.728 MB / 0.9855 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.2045, allocations: 59.95 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2045, allocations: 7.875 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.2046, allocations: 31.97 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.2048, allocations: 6.234 kB / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.2054, allocations: 466.4 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.2055, allocations: 0.6809 MB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.2056, allocations: 4 kB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2056, allocations: 15.42 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2056, allocations: 4 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/0.6127, allocations: 1.63 MB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.613, allocations: 185 kB / 0.9885 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.536, allocations: 0 / 0.9885 GB, free: 18.34 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)