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.005067/0.005066, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001234/0.001235, allocations: 195 kB / 16.67 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.19 kB / 0.5809 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 80.21 MB / 0.6592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001846/0.163, allocations: 0.572 MB / 0.6598 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.1635, allocations: 106.4 kB / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1636, allocations: 0 / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.1636, allocations: 0 / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.739e-06/0.1637, allocations: 3.938 kB / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1641, allocations: 43.88 kB / 0.6599 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1643, allocations: 67.92 kB / 0.66 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.1644, allocations: 4 kB / 0.66 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1644, allocations: 27.92 kB / 0.66 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.1645, allocations: 19.97 kB / 0.6601 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1645, allocations: 8 kB / 0.6601 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.1647, allocations: 51.94 kB / 0.6601 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1648, allocations: 15.98 kB / 0.6601 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1648, allocations: 23.91 kB / 0.6602 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1651, allocations: 75.77 kB / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1651, allocations: 4 kB / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1651, allocations: 0 / 0.6602 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.1651, allocations: 0 / 0.6602 GB, free: 12.89 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.0006254/0.1657, allocations: 363.6 kB / 0.6606 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1658, allocations: 16.02 kB / 0.6606 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.289e-05/0.1659, allocations: 42.75 kB / 0.6606 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1659, allocations: 8.844 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.166, allocations: 163.2 kB / 0.6608 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.1664, allocations: 285.6 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1664, allocations: 8.312 kB / 0.6611 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.1667, allocations: 81.95 kB / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1667, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1667, allocations: 3.984 kB / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1667, allocations: 0 / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.1671, allocations: 139.8 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1673, allocations: 178.2 kB / 0.6615 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1676, allocations: 94.47 kB / 0.6615 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1678, allocations: 40.83 kB / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1678, allocations: 11.98 kB / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.1679, allocations: 34.5 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.1679, allocations: 4 kB / 0.6616 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005102/0.1684, allocations: 149 kB / 0.6618 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1684, allocations: 55.41 kB / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.793e-05/0.1685, allocations: 89.86 kB / 0.6619 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1685, allocations: 29.7 kB / 0.6619 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1685, allocations: 80.14 kB / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.1686, allocations: 35.73 kB / 0.6621 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1687, allocations: 33.64 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1688, allocations: 322.8 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1689, allocations: 31.98 kB / 0.6624 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.169, allocations: 27.97 kB / 0.6625 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1694, allocations: 76.81 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1694, allocations: 0 / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003142/0.1697, allocations: 117 kB / 0.6626 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1697, allocations: 11.94 kB / 0.6626 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1697, allocations: 3.984 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1698, allocations: 4 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1699, allocations: 23.92 kB / 0.6627 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1699, allocations: 4 kB / 0.6627 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/0.17, allocations: 7.938 kB / 0.6627 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.17, allocations: 3.984 kB / 0.6627 GB, free: 10.07 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.584e-05/0.1701, allocations: 114.5 kB / 0.6628 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1701, allocations: 7.938 kB / 0.6628 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1702, allocations: 15.95 kB / 0.6628 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1702, allocations: 0 / 0.6628 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1702, allocations: 8 kB / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1702, allocations: 0 / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1704, allocations: 177.5 kB / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1704, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1705, allocations: 27.92 kB / 0.663 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1705, allocations: 7.922 kB / 0.663 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1705, allocations: 0 / 0.663 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1706, allocations: 4 kB / 0.663 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.1706, allocations: 4 kB / 0.663 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.1709, allocations: 145 kB / 0.6632 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.171, allocations: 88.89 kB / 0.6633 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.171, allocations: 0 / 0.6633 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.1711, allocations: 8 kB / 0.6633 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1711, allocations: 15.97 kB / 0.6633 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1712, allocations: 0 / 0.6633 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.1712, allocations: 75.28 kB / 0.6634 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1712, allocations: 0 / 0.6634 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1714, allocations: 32 kB / 0.6634 GB, free: 9.25 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.000765/0.1722, allocations: 0.6981 MB / 0.6641 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1726, allocations: 87.81 kB / 0.6642 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1726, allocations: 0 / 0.6642 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1727, allocations: 51.97 kB / 0.6642 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1729, allocations: 4 kB / 0.6642 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.1734, allocations: 206.4 kB / 0.6644 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1737, allocations: 0.6846 MB / 0.6651 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.1738, allocations: 39.95 kB / 0.6651 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.1739, allocations: 19.42 kB / 0.6651 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1739, allocations: 0 / 0.6651 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.1925, allocations: 2.025 MB / 0.6671 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.664, allocations: 14.36 kB / 0.6671 GB, free: 5.441 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)