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.008243/0.008243, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.002569/0.002569, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9143/0.9143, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.388, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001391/0.3895, allocations: 0.5841 MB / 0.6648 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.3898, allocations: 105.6 kB / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.3898, allocations: 1.094 kB / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.3898, allocations: 0 / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.3899, allocations: 0 / 0.6649 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.3902, allocations: 45.34 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3903, allocations: 63.88 kB / 0.665 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.3904, allocations: 2.75 kB / 0.665 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.3904, allocations: 20.48 kB / 0.665 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.3904, allocations: 25.83 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3905, allocations: 6.219 kB / 0.665 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3906, allocations: 46.52 kB / 0.6651 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.3906, allocations: 20.81 kB / 0.6651 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.3906, allocations: 21.86 kB / 0.6651 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3908, allocations: 81.97 kB / 0.6652 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3908, allocations: 1.188 kB / 0.6652 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3908, allocations: 0 / 0.6652 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3908, allocations: 0 / 0.6652 GB, free: 6.586 MB / 0.4981 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.0003964/0.3912, allocations: 372.3 kB / 0.6655 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3912, allocations: 12.81 kB / 0.6656 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.3913, allocations: 38.09 kB / 0.6656 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.3913, allocations: 6.656 kB / 0.6656 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.289e-05/0.3914, allocations: 162.6 kB / 0.6657 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.3916, allocations: 283.1 kB / 0.666 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3916, allocations: 8.609 kB / 0.666 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3918, allocations: 85.14 kB / 0.6661 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3918, allocations: 7.875 kB / 0.6661 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3918, allocations: 1.406 kB / 0.6661 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3918, allocations: 1.5 kB / 0.6661 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.3922, allocations: 140.1 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.3923, allocations: 177.8 kB / 0.6664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3926, allocations: 92.41 kB / 0.6665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.3927, allocations: 44.91 kB / 0.6666 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3927, allocations: 5.25 kB / 0.6666 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3928, allocations: 43.62 kB / 0.6666 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3928, allocations: 4 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004993/0.3933, allocations: 144 kB / 0.6667 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3933, allocations: 52.81 kB / 0.6668 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.64e-05/0.3933, allocations: 91.3 kB / 0.6669 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3933, allocations: 33.69 kB / 0.6669 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-06/0.3933, allocations: 80.14 kB / 0.667 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.3934, allocations: 36.48 kB / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3934, allocations: 26.33 kB / 0.667 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.3935, allocations: 323.8 kB / 0.6674 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3936, allocations: 30.69 kB / 0.6674 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3937, allocations: 36.77 kB / 0.6674 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.394, allocations: 81.69 kB / 0.6675 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.394, allocations: 0 / 0.6675 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002838/0.3943, allocations: 104 kB / 0.6676 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3943, allocations: 15.61 kB / 0.6676 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3943, allocations: 0 / 0.6676 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3943, allocations: 5.062 kB / 0.6676 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3945, allocations: 25.98 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3945, allocations: 0 / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.3945, allocations: 7.469 kB / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3946, allocations: 10.92 kB / 0.6677 GB, free: 4.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.3946, allocations: 115.4 kB / 0.6678 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.3946, allocations: 9.578 kB / 0.6678 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.3947, allocations: 11.97 kB / 0.6678 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3947, allocations: 5.062 kB / 0.6678 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3947, allocations: 1.281 kB / 0.6678 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3947, allocations: 0 / 0.6678 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.3948, allocations: 183.2 kB / 0.668 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3948, allocations: 1.469 kB / 0.668 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3949, allocations: 28.81 kB / 0.668 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3949, allocations: 8.938 kB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3949, allocations: 1.219 kB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3949, allocations: 1.688 kB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3949, allocations: 0 / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3953, allocations: 145.5 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.3953, allocations: 86.58 kB / 0.6682 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3953, allocations: 0.625 kB / 0.6682 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.3954, allocations: 8 kB / 0.6682 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3954, allocations: 12.25 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.3954, allocations: 4.312 kB / 0.6683 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.184e-05/0.3955, allocations: 75.28 kB / 0.6683 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3955, allocations: 3.938 kB / 0.6683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002116/0.3957, allocations: 24.53 kB / 0.6684 GB, free: 3.562 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.0005447/0.3962, allocations: 0.699 MB / 0.669 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.3966, allocations: 84.86 kB / 0.6691 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3966, allocations: 0 / 0.6691 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3967, allocations: 53.88 kB / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3969, allocations: 1.531 kB / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.3973, allocations: 210.2 kB / 0.6694 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.3975, allocations: 0.6842 MB / 0.67 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.3976, allocations: 39.17 kB / 0.6701 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.3976, allocations: 20.33 kB / 0.6701 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3977, allocations: 1.5 kB / 0.6701 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.4136, allocations: 2.024 MB / 0.6721 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.729, allocations: 1.125 kB / 0.6721 GB, free: 0.8242 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)