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.007228/0.007229, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001647/0.001647, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 68.75 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1616, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001777/0.1635, allocations: 0.5798 MB / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004054/0.1639, allocations: 111.9 kB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1639, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.164, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.164, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1644, allocations: 43.88 kB / 0.66 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1646, allocations: 59.94 kB / 0.66 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1646, allocations: 11.94 kB / 0.66 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.1647, allocations: 23.98 kB / 0.66 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1647, allocations: 23.95 kB / 0.6601 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1647, allocations: 4 kB / 0.6601 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1649, allocations: 51.94 kB / 0.6601 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1649, allocations: 23.92 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.165, allocations: 15.92 kB / 0.6602 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1651, allocations: 81.38 kB / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1651, allocations: 0 / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1651, allocations: 0 / 0.6602 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.1652, allocations: 0 / 0.6602 GB, free: 12.98 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.0005214/0.1657, allocations: 375.4 kB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1657, allocations: 8.031 kB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.1658, allocations: 42.75 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1658, allocations: 12.89 kB / 0.6607 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.737e-05/0.1659, allocations: 164.3 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.1662, allocations: 281.6 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1662, allocations: 4.375 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1665, allocations: 81.89 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1665, allocations: 0 / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1665, allocations: 8 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1665, allocations: 4 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.1669, allocations: 135.8 kB / 0.6613 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.1671, allocations: 173.6 kB / 0.6615 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1675, allocations: 92.81 kB / 0.6616 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1676, allocations: 44.83 kB / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1677, allocations: 0 / 0.6616 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1677, allocations: 42.44 kB / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.1677, allocations: 0 / 0.6616 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005741/0.1683, allocations: 157.7 kB / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1683, allocations: 51.41 kB / 0.6618 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.333e-05/0.1684, allocations: 93.8 kB / 0.6619 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1684, allocations: 33.69 kB / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1685, allocations: 80.14 kB / 0.662 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.1685, allocations: 39.69 kB / 0.6621 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.1686, allocations: 29.7 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1687, allocations: 318.8 kB / 0.6624 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1689, allocations: 31.97 kB / 0.6624 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.169, allocations: 27.98 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1693, allocations: 76.75 kB / 0.6625 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1693, allocations: 0 / 0.6625 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003449/0.1697, allocations: 113.6 kB / 0.6626 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.1697, allocations: 13.8 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1697, allocations: 4 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1698, allocations: 0 / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1699, allocations: 23.98 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1699, allocations: 3.938 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.17, allocations: 15.89 kB / 0.6627 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.17, allocations: 7.984 kB / 0.6627 GB, free: 10.15 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 8.493e-05/0.1701, allocations: 114.5 kB / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.1702, allocations: 7.922 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.1702, allocations: 11.97 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1702, allocations: 4 kB / 0.6628 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1702, allocations: 0 / 0.6628 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1702, allocations: 0 / 0.6628 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1704, allocations: 177.6 kB / 0.663 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1704, allocations: 4 kB / 0.663 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1705, allocations: 27.97 kB / 0.663 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1705, allocations: 3.938 kB / 0.663 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1705, allocations: 4 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1706, allocations: 0 / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1706, allocations: 0 / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.1709, allocations: 148.9 kB / 0.6632 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.171, allocations: 89 kB / 0.6633 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.171, allocations: 0 / 0.6633 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.1711, allocations: 4 kB / 0.6633 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.1711, allocations: 19.95 kB / 0.6633 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1712, allocations: 4 kB / 0.6633 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.1712, allocations: 75.28 kB / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1712, allocations: 4 kB / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1714, allocations: 23.94 kB / 0.6634 GB, free: 9.332 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.0007777/0.1722, allocations: 0.7053 MB / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1726, allocations: 87.88 kB / 0.6642 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1726, allocations: 4 kB / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1728, allocations: 43.91 kB / 0.6642 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1729, allocations: 8 kB / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.1735, allocations: 198.4 kB / 0.6644 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1738, allocations: 0.6807 MB / 0.6651 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.174, allocations: 39.95 kB / 0.6651 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.174, allocations: 23.42 kB / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.624e-06/0.174, allocations: 0 / 0.6651 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1932, allocations: 2.011 MB / 0.6671 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.668, allocations: 7.938 kB / 0.6671 GB, free: 5.543 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)