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.00767/0.00767, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001866/0.001866, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4078, allocations: 80.92 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001432/0.4093, allocations: 0.5771 MB / 0.6648 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.4096, allocations: 110.5 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.4097, allocations: 0 / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.4097, allocations: 0 / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.4097, allocations: 1.156 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.41, allocations: 40.73 kB / 0.6649 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4101, allocations: 64.27 kB / 0.665 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.4102, allocations: 1.438 kB / 0.665 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.4102, allocations: 21.83 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.4103, allocations: 32.55 kB / 0.665 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4103, allocations: 3.625 kB / 0.665 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.4104, allocations: 42.36 kB / 0.6651 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.4105, allocations: 24.31 kB / 0.6651 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.4105, allocations: 22.11 kB / 0.6651 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.4106, allocations: 74.25 kB / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4106, allocations: 0 / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4107, allocations: 0 / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.4107, allocations: 0 / 0.6652 GB, free: 6.578 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.0004096/0.4111, allocations: 375 kB / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4111, allocations: 9.562 kB / 0.6655 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.4112, allocations: 45.83 kB / 0.6656 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4112, allocations: 14.39 kB / 0.6656 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.9e-05/0.4112, allocations: 161.5 kB / 0.6658 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.4114, allocations: 283.3 kB / 0.666 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.4115, allocations: 8.109 kB / 0.666 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.4117, allocations: 84.7 kB / 0.6661 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4117, allocations: 0 / 0.6661 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4117, allocations: 1.5 kB / 0.6661 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4117, allocations: 5.344 kB / 0.6661 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.4121, allocations: 140.5 kB / 0.6663 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.4122, allocations: 173.7 kB / 0.6664 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4125, allocations: 95.19 kB / 0.6665 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.4126, allocations: 46 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4127, allocations: 5.484 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.4127, allocations: 47.53 kB / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.4127, allocations: 0 / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005109/0.4132, allocations: 152.5 kB / 0.6668 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4132, allocations: 53.12 kB / 0.6668 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.694e-05/0.4133, allocations: 89.86 kB / 0.6669 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.4133, allocations: 25.7 kB / 0.6669 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-06/0.4133, allocations: 80.14 kB / 0.667 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.4133, allocations: 40.94 kB / 0.667 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.4134, allocations: 29.7 kB / 0.6671 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.4134, allocations: 321.3 kB / 0.6674 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4136, allocations: 26.95 kB / 0.6674 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4137, allocations: 35.16 kB / 0.6674 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.414, allocations: 73.66 kB / 0.6675 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.414, allocations: 0 / 0.6675 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004049/0.4144, allocations: 112 kB / 0.6676 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4144, allocations: 9.625 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4144, allocations: 4 kB / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4144, allocations: 1.344 kB / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4146, allocations: 25.44 kB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4146, allocations: 5.375 kB / 0.6676 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.4147, allocations: 14.61 kB / 0.6677 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.4147, allocations: 6.859 kB / 0.6677 GB, free: 4.227 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 6.156e-05/0.4148, allocations: 119.1 kB / 0.6678 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.4148, allocations: 5.094 kB / 0.6678 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.4148, allocations: 13.31 kB / 0.6678 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4148, allocations: 5.391 kB / 0.6678 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4148, allocations: 0 / 0.6678 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4149, allocations: 0 / 0.6678 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.4149, allocations: 192.6 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.415, allocations: 0 / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.4151, allocations: 20.98 kB / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4151, allocations: 5.188 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4151, allocations: 5.141 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4151, allocations: 1.281 kB / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4151, allocations: 0 / 0.668 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.4155, allocations: 147.1 kB / 0.6682 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.4155, allocations: 86.38 kB / 0.6682 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.4155, allocations: 1.312 kB / 0.6682 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.4156, allocations: 3.75 kB / 0.6682 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4156, allocations: 16.06 kB / 0.6683 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.4156, allocations: 3.406 kB / 0.6683 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.239e-05/0.4157, allocations: 75.28 kB / 0.6683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 7.938 kB / 0.6683 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002357/0.4159, allocations: 25.81 kB / 0.6684 GB, free: 3.539 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.0006026/0.4165, allocations: 0.6942 MB / 0.669 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.4169, allocations: 88.56 kB / 0.6691 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4169, allocations: 4 kB / 0.6691 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.417, allocations: 46.22 kB / 0.6692 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.4172, allocations: 7.344 kB / 0.6692 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.4177, allocations: 202.9 kB / 0.6694 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4178, allocations: 0.6832 MB / 0.67 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.4179, allocations: 39.2 kB / 0.6701 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.418, allocations: 22.45 kB / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.418, allocations: 0 / 0.6701 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4376, allocations: 2.02 MB / 0.6721 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.174, allocations: 3.594 kB / 0.6721 GB, free: 0.8047 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)