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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001296/0.001296, allocations: 107.3 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.001446/0.001446, allocations: 186.2 kB / 16.25 MB, free: 6.145 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.31/1.31, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.606/1.606, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001296/0.001296, allocations: 73.73 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 114.6 MB / 0.783 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002186/0.18, allocations: 1.59 MB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003576/0.1804, allocations: 177.3 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1804, allocations: 0 / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.1804, allocations: 3.984 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.416e-05/0.1805, allocations: 3.938 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1807, allocations: 43.95 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.1808, allocations: 39.86 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.1809, allocations: 19.97 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.124e-05/0.1809, allocations: 12 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.255e-05/0.1809, allocations: 15.92 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.181, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.1811, allocations: 51.94 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1811, allocations: 7.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1811, allocations: 11.94 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1812, allocations: 63.84 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1812, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1812, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1812, allocations: 0 / 0.785 GB, free: 11.79 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.0003915/0.1816, allocations: 367.5 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1817, allocations: 8.031 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.1817, allocations: 34.75 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.1817, allocations: 12.83 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.1818, allocations: 164.4 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1818, allocations: 4.375 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.1818, allocations: 384 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.182, allocations: 62.23 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.182, allocations: 7.938 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.182, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.182, allocations: 0 / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1822, allocations: 51.88 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.1825, allocations: 288.7 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1828, allocations: 62.53 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.1829, allocations: 24.91 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.1831, allocations: 162.2 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1831, allocations: 38.5 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1831, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000321/0.1835, allocations: 97.62 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1835, allocations: 51.41 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.1836, allocations: 105.8 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1836, allocations: 37.64 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.1836, allocations: 84.05 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.1836, allocations: 4 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1837, allocations: 21.7 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.1838, allocations: 322.8 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.1839, allocations: 15.97 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.1839, allocations: 27.86 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1841, allocations: 48.81 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1841, allocations: 0 / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001851/0.1843, allocations: 77.56 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1843, allocations: 8 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.1843, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.1843, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.1844, allocations: 11.98 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1844, allocations: 320 / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.1845, allocations: 7.984 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1845, allocations: 0 / 0.7871 GB, free: 9.352 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.968e-05/0.1845, allocations: 122.4 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1846, allocations: 4.328 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1848, allocations: 89.44 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1848, allocations: 0 / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1848, allocations: 0 / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1848, allocations: 0 / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.185, allocations: 173.6 kB / 0.7874 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.185, allocations: 4 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.185, allocations: 11.98 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1851, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1851, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1851, allocations: 4 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1851, allocations: 0 / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1853, allocations: 175.4 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.1853, allocations: 85.03 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1854, allocations: 0 / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1854, allocations: 8 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1855, allocations: 11.98 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1855, allocations: 0 / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.1855, allocations: 95.25 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1855, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002202/0.1858, allocations: 15.91 kB / 0.7878 GB, free: 8.461 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.0004989/0.1863, allocations: 0.7358 MB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1865, allocations: 47.89 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1865, allocations: 4 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.1866, allocations: 27.97 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1868, allocations: 0 / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.188, allocations: 1.296 MB / 0.7899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1882, allocations: 0.6846 MB / 0.7906 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.1882, allocations: 4 kB / 0.7906 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.1883, allocations: 11.44 kB / 0.7906 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1883, allocations: 0 / 0.7906 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/1.346, allocations: 1.757 MB / 0.7923 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.346, allocations: 190.8 kB / 0.7925 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/3.004, allocations: 0 / 0.7925 GB, free: 3.602 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)