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.001108/0.001108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001086/0.001086, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.151/1.151, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9838/0.9838, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 68.3 kB / 0.505 GB, free: 5.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1563, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001882/0.1582, allocations: 0.6388 MB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004016/0.1586, allocations: 99.64 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.1587, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.1587, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.1587, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1591, allocations: 39.91 kB / 0.5848 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1592, allocations: 63.92 kB / 0.5848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.1593, allocations: 11.98 kB / 0.5848 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.1593, allocations: 19.98 kB / 0.5849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1594, allocations: 31.91 kB / 0.5849 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1594, allocations: 0 / 0.5849 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1595, allocations: 43.95 kB / 0.5849 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.1596, allocations: 23.97 kB / 0.5849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.1596, allocations: 23.91 kB / 0.585 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1598, allocations: 67.84 kB / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1598, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1598, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1598, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB 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.0005281/0.1603, allocations: 383.4 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1604, allocations: 15.97 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1604, allocations: 38.75 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1605, allocations: 8.938 kB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.1606, allocations: 168.6 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.1608, allocations: 277.6 kB / 0.5859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1608, allocations: 4.375 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1611, allocations: 81.94 kB / 0.586 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1611, allocations: 0 / 0.586 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1612, allocations: 4 kB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1612, allocations: 8 kB / 0.586 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.1615, allocations: 135.8 kB / 0.5861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1617, allocations: 169.7 kB / 0.5863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1621, allocations: 98.56 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1622, allocations: 44.83 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1622, allocations: 3.984 kB / 0.5864 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1623, allocations: 38.5 kB / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1623, allocations: 0 / 0.5865 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005701/0.1629, allocations: 157 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1629, allocations: 51.41 kB / 0.5866 GB, free: 1.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.908e-05/0.163, allocations: 89.86 kB / 0.5867 GB, free: 1.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.163, allocations: 29.92 kB / 0.5868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.163, allocations: 80.14 kB / 0.5868 GB, free: 1.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.1631, allocations: 43.39 kB / 0.5869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.1631, allocations: 29.7 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1633, allocations: 314.8 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1634, allocations: 35.91 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1636, allocations: 31.97 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.1639, allocations: 76.75 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1639, allocations: 0 / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003454/0.1642, allocations: 113.6 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1643, allocations: 7.938 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1643, allocations: 0 / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1643, allocations: 4 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1644, allocations: 23.98 kB / 0.5875 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1645, allocations: 3.984 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1645, allocations: 11.94 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1645, allocations: 4 kB / 0.5875 GB, free: 0.8789 MB / 494.1 MB 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 9.705e-05/0.1646, allocations: 121.8 kB / 0.5876 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.1647, allocations: 7.844 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.1647, allocations: 7.969 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1647, allocations: 11.98 kB / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1647, allocations: 0 / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1647, allocations: 0 / 0.5877 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1649, allocations: 177.6 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1649, allocations: 4 kB / 0.5878 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.165, allocations: 27.97 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.165, allocations: 3.938 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1651, allocations: 4 kB / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1651, allocations: 0 / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1651, allocations: 0 / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.1654, allocations: 155.2 kB / 0.588 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.1655, allocations: 88.98 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1655, allocations: 0 / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1656, allocations: 7.984 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.1656, allocations: 11.98 kB / 0.5881 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1657, allocations: 4 kB / 0.5881 GB, free: 164 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.578e-05/0.1657, allocations: 76.94 kB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1657, allocations: 4 kB / 0.5882 GB, free: 84 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1659, allocations: 23.98 kB / 0.5882 GB, free: 60 kB / 494.1 MB 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.0007503/0.1667, allocations: 0.6981 MB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.1671, allocations: 95.88 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1671, allocations: 4 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1672, allocations: 47.95 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1674, allocations: 10.45 kB / 0.589 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.1679, allocations: 214.5 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1682, allocations: 0.6807 MB / 0.5899 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.1684, allocations: 39.95 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.1685, allocations: 27.36 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1685, allocations: 4 kB / 0.59 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.18, allocations: 1.873 MB / 0.5918 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.1802, allocations: 202 kB / 0.592 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.962, allocations: 0 / 0.592 GB, free: 12.14 MB / 0.4981 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)