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.004799/0.004799, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001325/0.001325, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8707/0.8707, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 70.89 kB / 0.5858 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 81.03 MB / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001585/0.1942, allocations: 0.5682 MB / 0.6655 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003713/0.1946, allocations: 106.6 kB / 0.6656 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.1946, allocations: 0 / 0.6656 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.1946, allocations: 3.938 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.1947, allocations: 0 / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.195, allocations: 43.89 kB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1951, allocations: 63.92 kB / 0.6657 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1952, allocations: 8 kB / 0.6657 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.1953, allocations: 27.92 kB / 0.6657 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.1953, allocations: 27.95 kB / 0.6657 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1953, allocations: 0 / 0.6657 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1955, allocations: 43.95 kB / 0.6658 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.1955, allocations: 23.97 kB / 0.6658 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1956, allocations: 23.91 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1957, allocations: 64.06 kB / 0.6659 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1957, allocations: 7.938 kB / 0.6659 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1957, allocations: 0 / 0.6659 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1957, allocations: 4 kB / 0.6659 GB, free: 4.551 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.000538/0.1963, allocations: 371.4 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1963, allocations: 9.109 kB / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1964, allocations: 42.75 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.1964, allocations: 8.891 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1965, allocations: 176.2 kB / 0.6665 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.1968, allocations: 281.6 kB / 0.6667 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1969, allocations: 4.375 kB / 0.6667 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.1971, allocations: 81.94 kB / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1971, allocations: 4 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1971, allocations: 4 kB / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1972, allocations: 0 / 0.6668 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.1975, allocations: 131.8 kB / 0.667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1977, allocations: 177.6 kB / 0.6671 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1981, allocations: 98.45 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1982, allocations: 40.83 kB / 0.6673 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1982, allocations: 11.98 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1983, allocations: 34.5 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1983, allocations: 0 / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005487/0.1988, allocations: 146.2 kB / 0.6674 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1989, allocations: 63.28 kB / 0.6675 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.426e-05/0.199, allocations: 89.86 kB / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.199, allocations: 25.7 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.199, allocations: 80.14 kB / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.1991, allocations: 43.69 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.1991, allocations: 25.7 kB / 0.6678 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1994, allocations: 318.8 kB / 0.6681 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1995, allocations: 31.97 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1996, allocations: 36.02 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1999, allocations: 72.81 kB / 0.6682 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1999, allocations: 0 / 0.6682 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003444/0.2003, allocations: 113.6 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.2003, allocations: 17.59 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2003, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2003, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2005, allocations: 19.98 kB / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2005, allocations: 4 kB / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.2006, allocations: 19.88 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2006, allocations: 0 / 0.6684 GB, free: 1.727 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 9.494e-05/0.2007, allocations: 117.8 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.2007, allocations: 11.94 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.2008, allocations: 7.969 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2008, allocations: 0 / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2008, allocations: 0 / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2008, allocations: 7.938 kB / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.201, allocations: 181.6 kB / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.201, allocations: 0 / 0.6687 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2011, allocations: 35.91 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2011, allocations: 3.938 kB / 0.6687 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2012, allocations: 3.984 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2012, allocations: 4 kB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2012, allocations: 0 / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.2016, allocations: 145 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2016, allocations: 85 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2016, allocations: 0 / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.2017, allocations: 7.984 kB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.2018, allocations: 15.98 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2018, allocations: 0 / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.2018, allocations: 83.22 kB / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2018, allocations: 0 / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002323/0.2021, allocations: 31.92 kB / 0.6691 GB, free: 0.9023 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.0007658/0.2028, allocations: 0.6826 MB / 0.6697 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.2032, allocations: 96.36 kB / 0.6698 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2032, allocations: 7.938 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2034, allocations: 47.89 kB / 0.6699 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.2035, allocations: 4 kB / 0.6699 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.2041, allocations: 202.4 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2045, allocations: 0.6807 MB / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.2047, allocations: 39.95 kB / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.2048, allocations: 19.42 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.2048, allocations: 8 kB / 0.6708 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2266, allocations: 2.013 MB / 0.6728 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.25, allocations: 0.5938 kB / 0.6728 GB, free: 13.09 MB / 0.5137 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)