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.001289/0.001289, allocations: 100 kB / 15.05 MB, free: 1.105 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.001527/0.001527, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.458/2.458, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.676/1.676, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 12 kB / 0.5069 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2679, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0008019/0.2688, allocations: 303.1 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.2692, allocations: 99.77 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.2692, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.2693, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.2693, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2697, allocations: 35.83 kB / 0.5877 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.2699, allocations: 43.94 kB / 0.5877 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.2699, allocations: 0 / 0.5877 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.27, allocations: 23.98 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.2701, allocations: 27.95 kB / 0.5878 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.2701, allocations: 4 kB / 0.5878 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.2703, allocations: 35.97 kB / 0.5878 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.2703, allocations: 27.89 kB / 0.5879 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.2704, allocations: 37.64 kB / 0.5879 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2705, allocations: 35.94 kB / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2705, allocations: 0 / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2706, allocations: 0 / 0.5879 GB, free: 2.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2706, allocations: 4 kB / 0.5879 GB, free: 2.32 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.0007136/0.2713, allocations: 359.2 kB / 0.5883 GB, free: 1.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2714, allocations: 8.031 kB / 0.5883 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.351e-05/0.2714, allocations: 46.55 kB / 0.5883 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.2715, allocations: 4 kB / 0.5883 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2717, allocations: 171.2 kB / 0.5885 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.2721, allocations: 281 kB / 0.5888 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2721, allocations: 0 / 0.5888 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.2725, allocations: 85.56 kB / 0.5888 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2726, allocations: 0 / 0.5888 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.2726, allocations: 4 kB / 0.5889 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2726, allocations: 4 kB / 0.5889 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.2732, allocations: 131.8 kB / 0.589 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.2736, allocations: 181.5 kB / 0.5892 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.2739, allocations: 94.58 kB / 0.5892 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.274, allocations: 4 kB / 0.5892 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2741, allocations: 34.5 kB / 0.5893 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.2741, allocations: 4 kB / 0.5893 GB, free: 0.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008533/0.2749, allocations: 141.6 kB / 0.5894 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.275, allocations: 55.41 kB / 0.5895 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.2751, allocations: 89.86 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.2751, allocations: 29.69 kB / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.2752, allocations: 80.55 kB / 0.5897 GB, free: 284 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.2753, allocations: 35.45 kB / 0.5897 GB, free: 248 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.2753, allocations: 7.938 kB / 0.5897 GB, free: 240 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003494/0.2757, allocations: 322.8 kB / 0.59 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2759, allocations: 27.98 kB / 0.59 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.276, allocations: 39.62 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2762, allocations: 35.97 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2762, allocations: 3.953 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004724/0.2766, allocations: 105.6 kB / 0.5902 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.2767, allocations: 11.94 kB / 0.5902 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2767, allocations: 4 kB / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2767, allocations: 0 / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.277, allocations: 31.91 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.2771, allocations: 4 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2772, allocations: 11.84 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.2772, allocations: 0 / 0.5903 GB, free: 15.64 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.2774, allocations: 121.8 kB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.2774, allocations: 7.953 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.2775, allocations: 11.97 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2775, allocations: 0 / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2775, allocations: 4 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2775, allocations: 4 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2778, allocations: 169.7 kB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2778, allocations: 3.984 kB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.278, allocations: 27.94 kB / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.278, allocations: 0 / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.2781, allocations: 4 kB / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2781, allocations: 3.984 kB / 0.5906 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2781, allocations: 4 kB / 0.5906 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.2787, allocations: 144.9 kB / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2788, allocations: 81.05 kB / 0.5908 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.2789, allocations: 7.953 kB / 0.5908 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.279, allocations: 7.984 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.2791, allocations: 7.984 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2791, allocations: 11.98 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.2791, allocations: 75.28 kB / 0.5909 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2792, allocations: 0 / 0.5909 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004152/0.2796, allocations: 16 kB / 0.591 GB, free: 14.84 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 (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.001221/0.2808, allocations: 0.7099 MB / 0.5917 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.2813, allocations: 83.11 kB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2814, allocations: 0 / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.2816, allocations: 47.91 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.2818, allocations: 7.953 kB / 0.5918 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.2826, allocations: 212.2 kB / 0.592 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.283, allocations: 0.6848 MB / 0.5927 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000229/0.2832, allocations: 39.95 kB / 0.5927 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.2833, allocations: 19.42 kB / 0.5927 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2833, allocations: 0 / 0.5927 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.3026, allocations: 1.738 MB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/0.3031, allocations: 174.6 kB / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.104, allocations: 4.062 kB / 0.5946 GB, free: 11.11 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/linux/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) Environment - environmentSimulation: