Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_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.007365/0.007365, allocations: 97.95 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.001333/0.001333, allocations: 193.2 kB / 16.68 MB, free: 5.969 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.481/1.481, 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-master/package.mo): time 0.844/0.844, allocations: 135.6 MB / 426.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 77.77 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 81.02 MB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001714/0.1646, allocations: 0.5682 MB / 0.6655 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.165, allocations: 110.5 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.1651, allocations: 0 / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.1651, allocations: 0 / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1651, allocations: 0 / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1655, allocations: 43.89 kB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1656, allocations: 55.94 kB / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.1657, allocations: 8 kB / 0.6657 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.1657, allocations: 27.97 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.1658, allocations: 23.97 kB / 0.6657 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1658, allocations: 0 / 0.6657 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.166, allocations: 51.94 kB / 0.6658 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.166, allocations: 23.91 kB / 0.6658 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.166, allocations: 19.92 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1662, allocations: 72.05 kB / 0.6659 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1662, allocations: 0 / 0.6659 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1662, allocations: 3.938 kB / 0.6659 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1662, allocations: 0 / 0.6659 GB, free: 4.566 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.0005453/0.1668, allocations: 375.4 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1668, allocations: 13.11 kB / 0.6663 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1669, allocations: 38.75 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.1669, allocations: 8.891 kB / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1671, allocations: 172.2 kB / 0.6665 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.1674, allocations: 281.6 kB / 0.6667 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1674, allocations: 8.312 kB / 0.6667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1676, allocations: 81.94 kB / 0.6668 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1677, allocations: 0 / 0.6668 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1677, allocations: 15.98 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1677, allocations: 0 / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.1681, allocations: 127.8 kB / 0.667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.1683, allocations: 173.7 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1686, allocations: 102.4 kB / 0.6672 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1688, allocations: 44.83 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1688, allocations: 0 / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1688, allocations: 42.5 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1688, allocations: 0 / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005674/0.1694, allocations: 153.8 kB / 0.6674 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1694, allocations: 55.41 kB / 0.6675 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.1695, allocations: 89.86 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1695, allocations: 25.7 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.1696, allocations: 80.14 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1696, allocations: 39.67 kB / 0.6677 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1697, allocations: 33.7 kB / 0.6678 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1698, allocations: 314.8 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.17, allocations: 31.97 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1701, allocations: 35.91 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.1704, allocations: 72.81 kB / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1704, allocations: 0 / 0.6682 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000336/0.1708, allocations: 113.6 kB / 0.6683 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1708, allocations: 7.938 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1708, allocations: 8 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1708, allocations: 0 / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.171, allocations: 19.98 kB / 0.6683 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.171, allocations: 0 / 0.6683 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.171, allocations: 19.81 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1711, allocations: 15.94 kB / 0.6684 GB, free: 1.723 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.724e-05/0.1712, allocations: 113.8 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.1712, allocations: 7.938 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.1712, allocations: 15.97 kB / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1712, allocations: 0 / 0.6685 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1712, allocations: 3.938 kB / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1713, allocations: 0 / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1714, allocations: 177.6 kB / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1714, allocations: 0 / 0.6687 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1715, allocations: 23.97 kB / 0.6687 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1716, allocations: 7.938 kB / 0.6687 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1716, allocations: 4 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1716, allocations: 0 / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1716, allocations: 0 / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.172, allocations: 141.8 kB / 0.6688 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.172, allocations: 89 kB / 0.6689 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.172, allocations: 7.938 kB / 0.6689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.1721, allocations: 7.984 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.1722, allocations: 7.984 kB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1722, allocations: 8 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.1722, allocations: 75.28 kB / 0.669 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1722, allocations: 4 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002133/0.1724, allocations: 27.92 kB / 0.6691 GB, free: 0.918 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.0007742/0.1732, allocations: 0.6974 MB / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1736, allocations: 83.88 kB / 0.6698 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1736, allocations: 4 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1738, allocations: 55.89 kB / 0.6699 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1739, allocations: 5.719 kB / 0.6699 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1745, allocations: 202.7 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1748, allocations: 0.6846 MB / 0.6707 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.1749, allocations: 39.95 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.175, allocations: 19.42 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.175, allocations: 0 / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.1965, allocations: 2.021 MB / 0.6728 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.058, allocations: 4.578 kB / 0.6728 GB, free: 13.09 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)