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.008027/0.008027, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.001821/0.001821, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8066/0.8066, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 72.17 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1616, allocations: 80.21 MB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001787/0.1634, allocations: 0.5806 MB / 0.6598 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004112/0.1639, allocations: 110.5 kB / 0.6599 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1639, allocations: 0 / 0.6599 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.164, allocations: 0 / 0.6599 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-06/0.164, allocations: 0 / 0.6599 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1644, allocations: 35.89 kB / 0.6599 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1645, allocations: 67.88 kB / 0.66 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.1646, allocations: 4 kB / 0.66 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1646, allocations: 35.89 kB / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1647, allocations: 23.98 kB / 0.6601 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1647, allocations: 0 / 0.6601 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.1649, allocations: 55.94 kB / 0.6601 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.165, allocations: 19.97 kB / 0.6601 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.165, allocations: 19.92 kB / 0.6601 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1652, allocations: 71.77 kB / 0.6602 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1653, allocations: 0 / 0.6602 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1653, allocations: 0 / 0.6602 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1653, allocations: 0 / 0.6602 GB, free: 9.863 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.0006562/0.1659, allocations: 371.5 kB / 0.6606 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.166, allocations: 12.03 kB / 0.6606 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.1661, allocations: 42.75 kB / 0.6606 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1661, allocations: 8.844 kB / 0.6606 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1663, allocations: 167.2 kB / 0.6608 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.1666, allocations: 281.6 kB / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1666, allocations: 384 / 0.6611 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1669, allocations: 89.88 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1669, allocations: 0 / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1669, allocations: 7.938 kB / 0.6612 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1669, allocations: 4 kB / 0.6612 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.1673, allocations: 131.8 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.1675, allocations: 174.2 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1678, allocations: 98.52 kB / 0.6615 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.168, allocations: 44.77 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.168, allocations: 0 / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.1681, allocations: 46.5 kB / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1681, allocations: 0 / 0.6616 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005658/0.1686, allocations: 148.6 kB / 0.6618 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1687, allocations: 55.41 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.1687, allocations: 89.86 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1688, allocations: 29.7 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.1688, allocations: 80.14 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.1689, allocations: 35.81 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.1689, allocations: 29.7 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1691, allocations: 318.8 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1692, allocations: 31.91 kB / 0.6624 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1693, allocations: 35.97 kB / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1696, allocations: 68.81 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1696, allocations: 4 kB / 0.6625 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003153/0.1699, allocations: 113.5 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1699, allocations: 11.94 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.17, allocations: 4 kB / 0.6626 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.17, allocations: 0 / 0.6626 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1701, allocations: 27.91 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1702, allocations: 0 / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1702, allocations: 15.94 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1702, allocations: 4 kB / 0.6627 GB, free: 7.043 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.932e-05/0.1703, allocations: 118.7 kB / 0.6628 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1704, allocations: 11.84 kB / 0.6628 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1704, allocations: 11.97 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1704, allocations: 0 / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1704, allocations: 0 / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1704, allocations: 0 / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1706, allocations: 177.7 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.1706, allocations: 3.984 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1707, allocations: 19.98 kB / 0.663 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1707, allocations: 11.88 kB / 0.663 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1707, allocations: 7.922 kB / 0.663 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1707, allocations: 3.984 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1708, allocations: 0 / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1711, allocations: 148.3 kB / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1711, allocations: 88.89 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1712, allocations: 0 / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.1712, allocations: 11.98 kB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.1713, allocations: 7.984 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1713, allocations: 7.984 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.1713, allocations: 75.28 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1713, allocations: 4 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.1716, allocations: 24 kB / 0.6634 GB, free: 6.219 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.0006873/0.1723, allocations: 0.6943 MB / 0.6641 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1726, allocations: 91.81 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1726, allocations: 4 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1728, allocations: 51.95 kB / 0.6642 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1729, allocations: 2.031 kB / 0.6642 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.1735, allocations: 202.4 kB / 0.6644 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1737, allocations: 0.6884 MB / 0.6651 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.1739, allocations: 39.95 kB / 0.6651 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.174, allocations: 19.42 kB / 0.6651 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.174, allocations: 0 / 0.6651 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1954, allocations: 2.011 MB / 0.6671 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.565, allocations: 9.188 kB / 0.6671 GB, free: 2.414 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)