Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.008084/0.008089, allocations: 95.3 kB / 15.73 MB, free: 6.484 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.001337/0.001336, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8059/0.8059, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 63.89 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4848, allocations: 80.2 MB / 0.6592 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002484/0.4873, allocations: 1.527 MB / 0.6607 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.4878, allocations: 191.6 kB / 0.6609 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.4878, allocations: 1.375 kB / 0.6609 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.4878, allocations: 4.547 kB / 0.6609 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.4879, allocations: 5.922 kB / 0.6609 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.4882, allocations: 50.86 kB / 0.6609 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.4883, allocations: 34.66 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4884, allocations: 12.8 kB / 0.661 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.4885, allocations: 20.06 kB / 0.661 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.4885, allocations: 21.67 kB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.4885, allocations: 2.906 kB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.4887, allocations: 46.16 kB / 0.6611 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.4887, allocations: 6.859 kB / 0.6611 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.4887, allocations: 17.81 kB / 0.6611 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.4889, allocations: 67.89 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4889, allocations: 0 / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4889, allocations: 0 / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4889, allocations: 1.469 kB / 0.6611 GB, free: 8.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004181/0.4894, allocations: 358.8 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4894, allocations: 8.875 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.4894, allocations: 40.84 kB / 0.6615 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.4895, allocations: 6.828 kB / 0.6615 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.4895, allocations: 168.6 kB / 0.6617 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4896, allocations: 5.75 kB / 0.6617 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.4896, allocations: 3.125 kB / 0.6617 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.4898, allocations: 61.11 kB / 0.6618 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4898, allocations: 7.938 kB / 0.6618 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.4898, allocations: 2.297 kB / 0.6618 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4898, allocations: 0 / 0.6618 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.49, allocations: 44.36 kB / 0.6618 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.4903, allocations: 281 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.4907, allocations: 60.91 kB / 0.6621 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.4908, allocations: 26.48 kB / 0.6622 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.491, allocations: 165.6 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.491, allocations: 35.81 kB / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.491, allocations: 0 / 0.6624 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003645/0.4913, allocations: 97.39 kB / 0.6625 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.4914, allocations: 52.44 kB / 0.6625 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.4914, allocations: 116 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.4915, allocations: 25.7 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.4915, allocations: 90.94 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.4915, allocations: 14.31 kB / 0.6627 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.4915, allocations: 15.36 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.4916, allocations: 324 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.4917, allocations: 21.09 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.939e-05/0.4918, allocations: 16.39 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.492, allocations: 50.81 kB / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.492, allocations: 0 / 0.6632 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002062/0.4922, allocations: 82.44 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.4922, allocations: 4.375 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4922, allocations: 1.531 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4922, allocations: 0.75 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.4923, allocations: 10.42 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4923, allocations: 9.375 kB / 0.6633 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.4924, allocations: 6.25 kB / 0.6633 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4924, allocations: 1.844 kB / 0.6633 GB, free: 6.473 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.829e-05/0.4925, allocations: 120.4 kB / 0.6634 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.4925, allocations: 7.062 kB / 0.6634 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.4927, allocations: 83.52 kB / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4928, allocations: 1.375 kB / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4928, allocations: 0 / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4928, allocations: 0.5625 kB / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4929, allocations: 170.7 kB / 0.6636 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4929, allocations: 0.75 kB / 0.6636 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.493, allocations: 14.3 kB / 0.6636 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.493, allocations: 4.969 kB / 0.6636 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.493, allocations: 0.6562 kB / 0.6636 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.493, allocations: 1.188 kB / 0.6636 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.493, allocations: 0.5625 kB / 0.6636 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4933, allocations: 174.4 kB / 0.6638 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.4933, allocations: 86.98 kB / 0.6639 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.4933, allocations: 4.609 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.4934, allocations: 6.156 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.4935, allocations: 5.156 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.4935, allocations: 1.672 kB / 0.6639 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.4935, allocations: 88.5 kB / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4936, allocations: 0 / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002471/0.4938, allocations: 18 kB / 0.664 GB, free: 5.746 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005359/0.4943, allocations: 0.7183 MB / 0.6647 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.4946, allocations: 50.64 kB / 0.6648 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4946, allocations: 0 / 0.6648 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4947, allocations: 29.56 kB / 0.6648 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.495, allocations: 6.984 kB / 0.6648 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4963, allocations: 1.292 MB / 0.6661 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4965, allocations: 0.6801 MB / 0.6667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.4965, allocations: 7.062 kB / 0.6667 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.4966, allocations: 22.55 kB / 0.6668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4966, allocations: 1.219 kB / 0.6668 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.5163, allocations: 1.913 MB / 0.6686 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.991, allocations: 7 kB / 0.6686 GB, free: 2.094 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)