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.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7927/0.7927, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 64.78 kB / 0.5019 GB, free: 8.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, allocations: 80.21 MB / 0.5802 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00202/0.1571, allocations: 0.5741 MB / 0.5808 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.1575, allocations: 107.6 kB / 0.5809 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.1575, allocations: 0 / 0.5809 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1575, allocations: 3.938 kB / 0.5809 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.1576, allocations: 0 / 0.5809 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.1579, allocations: 43.88 kB / 0.5809 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1581, allocations: 67.94 kB / 0.581 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1581, allocations: 0 / 0.581 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.1582, allocations: 27.97 kB / 0.581 GB, free: 7.805 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1582, allocations: 19.97 kB / 0.581 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1582, allocations: 0 / 0.581 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1584, allocations: 47.95 kB / 0.5811 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1584, allocations: 23.91 kB / 0.5811 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.1585, allocations: 19.92 kB / 0.5811 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1586, allocations: 71.81 kB / 0.5812 GB, free: 7.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1586, allocations: 0 / 0.5812 GB, free: 7.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1586, allocations: 4 kB / 0.5812 GB, free: 7.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1586, allocations: 4 kB / 0.5812 GB, free: 7.617 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.0004815/0.1591, allocations: 367.6 kB / 0.5815 GB, free: 7.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1592, allocations: 8.031 kB / 0.5815 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.1592, allocations: 46.73 kB / 0.5816 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1593, allocations: 12.78 kB / 0.5816 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.1594, allocations: 168.5 kB / 0.5818 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.1596, allocations: 281.6 kB / 0.582 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1596, allocations: 4.375 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1599, allocations: 85.94 kB / 0.5821 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1599, allocations: 7.984 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1599, allocations: 0 / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1599, allocations: 0 / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.1603, allocations: 131.8 kB / 0.5823 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1605, allocations: 173.6 kB / 0.5824 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.1608, allocations: 98.47 kB / 0.5825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1609, allocations: 40.83 kB / 0.5826 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1609, allocations: 4.328 kB / 0.5826 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.161, allocations: 42.5 kB / 0.5826 GB, free: 5.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.161, allocations: 3.938 kB / 0.5826 GB, free: 5.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005269/0.1615, allocations: 145.5 kB / 0.5827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1616, allocations: 55.41 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.907e-05/0.1616, allocations: 89.86 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1616, allocations: 29.7 kB / 0.5829 GB, free: 5.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1617, allocations: 84.14 kB / 0.583 GB, free: 5.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1617, allocations: 35.53 kB / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1618, allocations: 29.64 kB / 0.583 GB, free: 5.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.1619, allocations: 322.8 kB / 0.5834 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.162, allocations: 23.98 kB / 0.5834 GB, free: 5.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1622, allocations: 39.91 kB / 0.5834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1624, allocations: 76.42 kB / 0.5835 GB, free: 4.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1624, allocations: 0 / 0.5835 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000331/0.1628, allocations: 117.5 kB / 0.5836 GB, free: 4.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1628, allocations: 11.94 kB / 0.5836 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1628, allocations: 3.938 kB / 0.5836 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1628, allocations: 0 / 0.5836 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.163, allocations: 27.97 kB / 0.5836 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.163, allocations: 0 / 0.5836 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.1631, allocations: 7.938 kB / 0.5837 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1631, allocations: 7.984 kB / 0.5837 GB, free: 4.793 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 8.973e-05/0.1632, allocations: 118.5 kB / 0.5838 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.1632, allocations: 11.84 kB / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1633, allocations: 11.97 kB / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1633, allocations: 0 / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1633, allocations: 0 / 0.5838 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1633, allocations: 3.984 kB / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1634, allocations: 173.7 kB / 0.584 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1634, allocations: 3.938 kB / 0.584 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1636, allocations: 23.98 kB / 0.584 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1636, allocations: 3.938 kB / 0.584 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1636, allocations: 11.98 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1636, allocations: 0 / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1636, allocations: 0 / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.164, allocations: 144.9 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.164, allocations: 88.97 kB / 0.5842 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.164, allocations: 0 / 0.5842 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.1641, allocations: 8 kB / 0.5842 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1642, allocations: 11.92 kB / 0.5842 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1642, allocations: 11.98 kB / 0.5843 GB, free: 4.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.1642, allocations: 75.28 kB / 0.5843 GB, free: 4.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 0.5843 GB, free: 4.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1645, allocations: 24 kB / 0.5844 GB, free: 3.984 MB / 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.0007041/0.1652, allocations: 0.702 MB / 0.585 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1655, allocations: 99.7 kB / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1655, allocations: 0 / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1657, allocations: 47.91 kB / 0.5852 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.1659, allocations: 14.75 kB / 0.5852 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.1664, allocations: 202.5 kB / 0.5854 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1667, allocations: 0.692 MB / 0.5861 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.1668, allocations: 35.95 kB / 0.5861 GB, free: 2.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.1669, allocations: 27.42 kB / 0.5861 GB, free: 2.082 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1669, allocations: 0 / 0.5861 GB, free: 2.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.1861, allocations: 1.971 MB / 0.588 GB, free: 192 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.472, allocations: 8.594 kB / 0.5881 GB, free: 188 kB / 494.1 MB (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)