Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_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.001495/0.001495, 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.001801/0.001802, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9187/0.9187, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 65.84 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1711, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001758/0.1729, allocations: 0.5624 MB / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.1733, allocations: 103.6 kB / 0.5851 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.1733, allocations: 0 / 0.5851 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1734, allocations: 0 / 0.5851 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.1734, allocations: 3.938 kB / 0.5851 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1737, allocations: 47.88 kB / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1739, allocations: 63.94 kB / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.1739, allocations: 0 / 0.5852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.1739, allocations: 23.98 kB / 0.5853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.174, allocations: 31.89 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.174, allocations: 0 / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1741, allocations: 47.95 kB / 0.5853 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.1742, allocations: 19.97 kB / 0.5854 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1742, allocations: 19.92 kB / 0.5854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1744, allocations: 71.81 kB / 0.5855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1744, allocations: 0 / 0.5855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1744, allocations: 0 / 0.5855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1744, allocations: 0 / 0.5855 GB, free: 3.438 MB / 494.1 MB 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.0005324/0.175, allocations: 379.4 kB / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.175, allocations: 12.03 kB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.1751, allocations: 50.67 kB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.1751, allocations: 4.938 kB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.1752, allocations: 164.6 kB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.1755, allocations: 281.6 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1755, allocations: 384 / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1757, allocations: 85.94 kB / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1757, allocations: 0 / 0.5864 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1758, allocations: 8 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.1758, allocations: 4 kB / 0.5864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.1761, allocations: 135.8 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1763, allocations: 173.6 kB / 0.5867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1766, allocations: 94.53 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1768, allocations: 41.16 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1768, allocations: 3.938 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1768, allocations: 46.5 kB / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1768, allocations: 0 / 0.5869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005218/0.1774, allocations: 145.5 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1774, allocations: 55.41 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.1775, allocations: 89.86 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1775, allocations: 29.7 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.1775, allocations: 80.14 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.1776, allocations: 39.44 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.1776, allocations: 29.7 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1778, allocations: 326.8 kB / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1779, allocations: 27.92 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.178, allocations: 38.27 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1783, allocations: 68.81 kB / 0.5878 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1783, allocations: 0 / 0.5878 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000331/0.1787, allocations: 121.5 kB / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1787, allocations: 7.938 kB / 0.5879 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1787, allocations: 8 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1787, allocations: 0 / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1789, allocations: 23.97 kB / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1789, allocations: 0 / 0.5879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1789, allocations: 11.94 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.179, allocations: 7.984 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB 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 9.35e-05/0.1791, allocations: 117.8 kB / 0.588 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1791, allocations: 11.84 kB / 0.5881 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.1791, allocations: 15.97 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1791, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1792, allocations: 0 / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1792, allocations: 3.984 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1793, allocations: 173.7 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1793, allocations: 0 / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1794, allocations: 19.98 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1794, allocations: 7.938 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1795, allocations: 3.984 kB / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1795, allocations: 0 / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1795, allocations: 0 / 0.5883 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.1798, allocations: 152.6 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1799, allocations: 92.97 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1799, allocations: 0 / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.019e-05/0.18, allocations: 8 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.18, allocations: 11.98 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1801, allocations: 7.984 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.1801, allocations: 75.28 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.1801, allocations: 4 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002322/0.1803, allocations: 20 kB / 0.5886 GB, free: 15.79 MB / 0.4981 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.0007569/0.1811, allocations: 0.702 MB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1814, allocations: 91.94 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1814, allocations: 4 kB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1816, allocations: 47.91 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1818, allocations: 11.94 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.1824, allocations: 206.4 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1826, allocations: 0.6852 MB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.1828, allocations: 35.95 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.1829, allocations: 27.42 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1829, allocations: 4 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.2014, allocations: 1.986 MB / 0.5923 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.473, allocations: 6.406 kB / 0.5923 GB, free: 11.98 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)