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.006841/0.006841, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001834/0.001834, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8286/0.8286, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 72.8 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1632, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.1651, allocations: 0.5824 MB / 0.6598 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004258/0.1655, allocations: 106.5 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.1655, allocations: 4 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.1656, allocations: 4 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/0.1656, allocations: 0 / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.166, allocations: 39.89 kB / 0.6599 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1662, allocations: 59.94 kB / 0.66 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.286e-05/0.1662, allocations: 7.984 kB / 0.66 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.1663, allocations: 31.92 kB / 0.66 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.1663, allocations: 23.95 kB / 0.6601 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1664, allocations: 4 kB / 0.6601 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1665, allocations: 39.97 kB / 0.6601 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.1666, allocations: 23.95 kB / 0.6601 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1666, allocations: 23.92 kB / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1668, allocations: 79.97 kB / 0.6602 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1669, allocations: 0 / 0.6602 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1669, allocations: 0 / 0.6602 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1669, allocations: 0 / 0.6602 GB, free: 9.695 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.0006205/0.1675, allocations: 367.4 kB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1676, allocations: 11.97 kB / 0.6606 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.1676, allocations: 46.73 kB / 0.6606 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1677, allocations: 8.891 kB / 0.6606 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.1678, allocations: 172.3 kB / 0.6608 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.1681, allocations: 281.6 kB / 0.6611 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1682, allocations: 4.375 kB / 0.6611 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1685, allocations: 85.94 kB / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1685, allocations: 0 / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1685, allocations: 0 / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1685, allocations: 0 / 0.6612 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.1689, allocations: 135.8 kB / 0.6613 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.1691, allocations: 177.6 kB / 0.6615 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1695, allocations: 98.52 kB / 0.6616 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1696, allocations: 40.83 kB / 0.6616 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.1697, allocations: 4 kB / 0.6616 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1697, allocations: 38.5 kB / 0.6616 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1697, allocations: 0 / 0.6616 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005967/0.1703, allocations: 159.9 kB / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1704, allocations: 55.41 kB / 0.6618 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.1704, allocations: 89.86 kB / 0.6619 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1704, allocations: 29.7 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.1705, allocations: 80.14 kB / 0.662 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.1706, allocations: 39.69 kB / 0.6621 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.1706, allocations: 25.7 kB / 0.6621 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1708, allocations: 314.8 kB / 0.6624 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1709, allocations: 31.97 kB / 0.6624 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1711, allocations: 35.97 kB / 0.6625 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1714, allocations: 72.81 kB / 0.6625 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1714, allocations: 0 / 0.6625 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003455/0.1717, allocations: 118.6 kB / 0.6626 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1718, allocations: 7.938 kB / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1718, allocations: 0 / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1718, allocations: 0 / 0.6627 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.172, allocations: 27.97 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.172, allocations: 0 / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.172, allocations: 15.89 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1721, allocations: 7.984 kB / 0.6627 GB, free: 6.871 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.0001061/0.1722, allocations: 122.7 kB / 0.6628 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1722, allocations: 3.938 kB / 0.6628 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.1723, allocations: 15.91 kB / 0.6628 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1723, allocations: 4 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1723, allocations: 0 / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1723, allocations: 3.984 kB / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.1725, allocations: 177.6 kB / 0.663 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1725, allocations: 4 kB / 0.663 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1726, allocations: 23.98 kB / 0.663 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1726, allocations: 3.938 kB / 0.663 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1726, allocations: 7.984 kB / 0.6631 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1727, allocations: 4 kB / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1727, allocations: 0 / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.173, allocations: 141 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1731, allocations: 88.98 kB / 0.6633 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1731, allocations: 8 kB / 0.6633 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.1732, allocations: 4 kB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.1733, allocations: 11.98 kB / 0.6633 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1733, allocations: 3.984 kB / 0.6633 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.49e-05/0.1733, allocations: 79.28 kB / 0.6634 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1733, allocations: 0 / 0.6634 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.1736, allocations: 23.94 kB / 0.6634 GB, free: 6.047 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.0008215/0.1744, allocations: 0.6953 MB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1748, allocations: 89.41 kB / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1748, allocations: 4 kB / 0.6642 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.175, allocations: 47.91 kB / 0.6642 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1751, allocations: 0 / 0.6642 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.1757, allocations: 202.4 kB / 0.6644 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1761, allocations: 0.6846 MB / 0.6651 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001934/0.1763, allocations: 39.95 kB / 0.6651 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.1763, allocations: 23.42 kB / 0.6651 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1763, allocations: 0 / 0.6651 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.199, allocations: 2.007 MB / 0.6671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.169, allocations: 4 kB / 0.6671 GB, free: 2.254 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)