Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_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.007396/0.007396, allocations: 95.56 kB / 15.73 MB, free: 6.062 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.001974/0.001974, allocations: 197.9 kB / 16.68 MB, free: 5.984 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.5/1.5, 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/package.mo): time 0.8277/0.8277, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 68.5 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0017/0.1684, allocations: 0.5681 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004159/0.1689, allocations: 107.9 kB / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1689, allocations: 0 / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.169, allocations: 0 / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-06/0.169, allocations: 0 / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1694, allocations: 47.88 kB / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1695, allocations: 67.86 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1696, allocations: 8 kB / 0.66 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.1696, allocations: 23.92 kB / 0.66 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.1697, allocations: 23.97 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1697, allocations: 3.984 kB / 0.6601 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1699, allocations: 47.97 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1699, allocations: 19.97 kB / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.17, allocations: 23.91 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1702, allocations: 73.39 kB / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1702, allocations: 0 / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.1702, allocations: 4 kB / 0.6602 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1703, allocations: 0 / 0.6602 GB, free: 12.94 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.0006398/0.1709, allocations: 371.4 kB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.171, allocations: 8.031 kB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.171, allocations: 46.73 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.1711, allocations: 8.938 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1712, allocations: 164.3 kB / 0.6608 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/0.1717, allocations: 285.6 kB / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.1717, allocations: 4.375 kB / 0.6611 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.172, allocations: 81.89 kB / 0.6611 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.172, allocations: 7.984 kB / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.172, allocations: 0 / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.172, allocations: 0 / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1724, allocations: 139 kB / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.1727, allocations: 177.6 kB / 0.6615 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.173, allocations: 96.81 kB / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1732, allocations: 48.77 kB / 0.6616 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1732, allocations: 3.984 kB / 0.6616 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.1733, allocations: 42.5 kB / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1733, allocations: 0 / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005733/0.1739, allocations: 149.8 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.174, allocations: 55.41 kB / 0.6618 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.174, allocations: 89.86 kB / 0.6619 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1741, allocations: 29.7 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.1741, allocations: 84.08 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.1742, allocations: 35.69 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.1743, allocations: 25.7 kB / 0.6621 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1744, allocations: 322.8 kB / 0.6624 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1746, allocations: 31.92 kB / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1747, allocations: 35.97 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.175, allocations: 72.81 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.175, allocations: 0 / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003449/0.1754, allocations: 117.4 kB / 0.6626 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1754, allocations: 11.94 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1755, allocations: 0 / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1755, allocations: 0 / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1756, allocations: 31.91 kB / 0.6627 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1757, allocations: 8 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.1757, allocations: 3.938 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1757, allocations: 7.984 kB / 0.6627 GB, free: 10.11 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 0.0001058/0.1759, allocations: 114.5 kB / 0.6628 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1759, allocations: 7.938 kB / 0.6628 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.1759, allocations: 11.97 kB / 0.6628 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.176, allocations: 3.984 kB / 0.6628 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.176, allocations: 0 / 0.6628 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.176, allocations: 8 kB / 0.6628 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.1762, allocations: 177.6 kB / 0.663 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1762, allocations: 0 / 0.663 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.1763, allocations: 23.98 kB / 0.663 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1763, allocations: 7.875 kB / 0.663 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1763, allocations: 3.984 kB / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1763, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1763, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1768, allocations: 149 kB / 0.6632 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.1769, allocations: 85 kB / 0.6633 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1769, allocations: 0 / 0.6633 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.177, allocations: 8 kB / 0.6633 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.1771, allocations: 7.984 kB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1771, allocations: 7.984 kB / 0.6633 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.1772, allocations: 75.28 kB / 0.6634 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1772, allocations: 0 / 0.6634 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1774, allocations: 27.94 kB / 0.6634 GB, free: 9.297 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.0009196/0.1783, allocations: 0.6943 MB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.1787, allocations: 91.81 kB / 0.6642 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1787, allocations: 3.938 kB / 0.6642 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.1789, allocations: 47.97 kB / 0.6642 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1791, allocations: 4 kB / 0.6642 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1797, allocations: 202.1 kB / 0.6644 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1801, allocations: 0.6884 MB / 0.6651 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.1803, allocations: 43.95 kB / 0.6651 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.1804, allocations: 19.42 kB / 0.6651 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1804, allocations: 0 / 0.6651 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.2091, allocations: 2.009 MB / 0.6671 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.017, allocations: 16.2 kB / 0.6671 GB, free: 5.496 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)