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.004876/0.004876, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.001311/0.001311, allocations: 196.3 kB / 16.68 MB, free: 5.871 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8698/0.8698, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.39 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002848/0.169, allocations: 1.528 MB / 0.6607 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.1696, allocations: 176.3 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.1696, allocations: 0 / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.1696, allocations: 3.938 kB / 0.6609 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.1697, allocations: 7.922 kB / 0.6609 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.17, allocations: 47.89 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.1701, allocations: 39.91 kB / 0.661 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1702, allocations: 15.98 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.1703, allocations: 19.92 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.1703, allocations: 19.86 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1704, allocations: 4 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1705, allocations: 51.94 kB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1705, allocations: 4 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1706, allocations: 23.86 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1707, allocations: 60.08 kB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.1707, allocations: 0 / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.346e-06/0.1707, allocations: 7.938 kB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.1707, allocations: 0 / 0.6612 GB, free: 8.723 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.0005429/0.1713, allocations: 359.3 kB / 0.6615 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1713, allocations: 12.03 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.1714, allocations: 30.75 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1714, allocations: 8.891 kB / 0.6615 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1716, allocations: 168.4 kB / 0.6617 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1716, allocations: 8.312 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1716, allocations: 4.375 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1719, allocations: 62.23 kB / 0.6618 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1719, allocations: 11.92 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.1719, allocations: 0 / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1719, allocations: 0 / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1721, allocations: 47.89 kB / 0.6618 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1725, allocations: 280.7 kB / 0.6621 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1729, allocations: 62.53 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.173, allocations: 28.84 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.1732, allocations: 166.2 kB / 0.6623 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1732, allocations: 30.56 kB / 0.6624 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.1732, allocations: 0 / 0.6624 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004054/0.1737, allocations: 101.6 kB / 0.6625 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1737, allocations: 51.41 kB / 0.6625 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1738, allocations: 105.8 kB / 0.6626 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1738, allocations: 25.7 kB / 0.6626 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.1739, allocations: 92.09 kB / 0.6627 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1739, allocations: 7.938 kB / 0.6627 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1739, allocations: 17.72 kB / 0.6628 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1741, allocations: 318.8 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1742, allocations: 27.91 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.1743, allocations: 19.98 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1745, allocations: 45.08 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1745, allocations: 0 / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002331/0.1747, allocations: 77.66 kB / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1747, allocations: 4 kB / 0.6632 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1748, allocations: 4 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1748, allocations: 3.938 kB / 0.6632 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.1749, allocations: 11.98 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1749, allocations: 0 / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.1749, allocations: 11.92 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.175, allocations: 0 / 0.6633 GB, free: 6.289 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 9.473e-05/0.1751, allocations: 122.7 kB / 0.6634 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.1751, allocations: 7.891 kB / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1754, allocations: 81.55 kB / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1754, allocations: 0 / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1754, allocations: 3.984 kB / 0.6635 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1754, allocations: 0 / 0.6635 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1756, allocations: 169.6 kB / 0.6636 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1756, allocations: 0 / 0.6636 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.1757, allocations: 15.98 kB / 0.6636 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1757, allocations: 0 / 0.6636 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1757, allocations: 0 / 0.6636 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1757, allocations: 4 kB / 0.6636 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1757, allocations: 3.938 kB / 0.6637 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.176, allocations: 171.5 kB / 0.6638 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1761, allocations: 93.05 kB / 0.6639 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1761, allocations: 0 / 0.6639 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.1762, allocations: 4 kB / 0.6639 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1763, allocations: 11.98 kB / 0.6639 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1763, allocations: 0 / 0.6639 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.1763, allocations: 83.27 kB / 0.664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1763, allocations: 4 kB / 0.664 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002472/0.1766, allocations: 19.94 kB / 0.664 GB, free: 5.398 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.0006794/0.1773, allocations: 0.7241 MB / 0.6647 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1775, allocations: 43.94 kB / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1775, allocations: 0 / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1777, allocations: 27.98 kB / 0.6648 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1779, allocations: 9.562 kB / 0.6648 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.1795, allocations: 1.3 MB / 0.6661 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1799, allocations: 0.6807 MB / 0.6667 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1799, allocations: 4 kB / 0.6667 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.18, allocations: 23.42 kB / 0.6668 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.18, allocations: 0 / 0.6668 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2023, allocations: 1.911 MB / 0.6686 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.042, allocations: 4.062 kB / 0.6686 GB, free: 0.625 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)