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.001568/0.001568, 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.001861/0.001861, allocations: 193.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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7756/0.7756, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 60.38 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3574, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001724/0.3592, allocations: 0.5789 MB / 0.5808 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.3596, allocations: 101.4 kB / 0.5809 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.3596, allocations: 3.938 kB / 0.5809 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.3596, allocations: 0.6562 kB / 0.5809 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.3597, allocations: 0 / 0.5809 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.36, allocations: 44.45 kB / 0.5809 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3601, allocations: 63.23 kB / 0.581 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.3602, allocations: 1.688 kB / 0.581 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.3602, allocations: 26.05 kB / 0.581 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.3603, allocations: 25.12 kB / 0.581 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3603, allocations: 2.719 kB / 0.581 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3604, allocations: 43.27 kB / 0.5811 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.3604, allocations: 19.05 kB / 0.5811 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3605, allocations: 25.69 kB / 0.5811 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3606, allocations: 68.25 kB / 0.5812 GB, free: 4.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3606, allocations: 5.25 kB / 0.5812 GB, free: 4.043 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3607, allocations: 0 / 0.5812 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3607, allocations: 0 / 0.5812 GB, free: 4.043 MB / 430.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.0004046/0.3611, allocations: 374.4 kB / 0.5815 GB, free: 3.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3611, allocations: 9.5 kB / 0.5815 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.3612, allocations: 50.98 kB / 0.5816 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3612, allocations: 6.312 kB / 0.5816 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.387e-05/0.3613, allocations: 168.9 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.3615, allocations: 281.1 kB / 0.582 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3615, allocations: 12.25 kB / 0.582 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3617, allocations: 80 kB / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3617, allocations: 0 / 0.5821 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3617, allocations: 4.938 kB / 0.5821 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3618, allocations: 0.9688 kB / 0.5821 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.3621, allocations: 137.6 kB / 0.5823 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.3622, allocations: 179.1 kB / 0.5824 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3625, allocations: 94.5 kB / 0.5825 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3627, allocations: 45.33 kB / 0.5826 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3627, allocations: 6.156 kB / 0.5826 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3627, allocations: 40.05 kB / 0.5826 GB, free: 2.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.3627, allocations: 0 / 0.5826 GB, free: 2.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004937/0.3632, allocations: 151.6 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.3633, allocations: 52.97 kB / 0.5828 GB, free: 2.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.522e-05/0.3633, allocations: 90.47 kB / 0.5829 GB, free: 2.492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3633, allocations: 30.42 kB / 0.5829 GB, free: 2.457 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-06/0.3633, allocations: 80.14 kB / 0.583 GB, free: 2.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.3634, allocations: 43.86 kB / 0.583 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.3634, allocations: 25.75 kB / 0.5831 GB, free: 2.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.3634, allocations: 319.6 kB / 0.5834 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3636, allocations: 32.09 kB / 0.5834 GB, free: 1.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3637, allocations: 30.42 kB / 0.5834 GB, free: 1.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.364, allocations: 78.45 kB / 0.5835 GB, free: 1.965 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.364, allocations: 0 / 0.5835 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003133/0.3643, allocations: 114.4 kB / 0.5836 GB, free: 1.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3643, allocations: 11.62 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3644, allocations: 0.6562 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3644, allocations: 1.969 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3645, allocations: 22.23 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3645, allocations: 1.344 kB / 0.5836 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.3646, allocations: 12.5 kB / 0.5836 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3646, allocations: 5.406 kB / 0.5837 GB, free: 1.898 MB / 430.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 6.522e-05/0.3647, allocations: 125.5 kB / 0.5838 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.3647, allocations: 6.312 kB / 0.5838 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.3647, allocations: 8.766 kB / 0.5838 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3647, allocations: 1.969 kB / 0.5838 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3648, allocations: 0 / 0.5838 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3648, allocations: 2.016 kB / 0.5838 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.3649, allocations: 179.4 kB / 0.584 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3649, allocations: 1.359 kB / 0.584 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.365, allocations: 26.83 kB / 0.584 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.365, allocations: 9.312 kB / 0.584 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.365, allocations: 3.891 kB / 0.584 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.365, allocations: 0 / 0.584 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.365, allocations: 0 / 0.584 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.3654, allocations: 153.4 kB / 0.5841 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.3654, allocations: 83.02 kB / 0.5842 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3654, allocations: 6.562 kB / 0.5842 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.3655, allocations: 8.078 kB / 0.5842 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3655, allocations: 14.05 kB / 0.5843 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3655, allocations: 5.062 kB / 0.5843 GB, free: 1.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.929e-06/0.3656, allocations: 75.28 kB / 0.5843 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3656, allocations: 0 / 0.5843 GB, free: 1.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000226/0.3658, allocations: 22.11 kB / 0.5844 GB, free: 1.262 MB / 430.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.0005382/0.3663, allocations: 0.7055 MB / 0.585 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.3667, allocations: 92.06 kB / 0.5851 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3667, allocations: 0 / 0.5851 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.3669, allocations: 54.83 kB / 0.5852 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.367, allocations: 3.141 kB / 0.5852 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.3675, allocations: 203.9 kB / 0.5854 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.3676, allocations: 0.6839 MB / 0.586 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3678, allocations: 39.25 kB / 0.5861 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.3679, allocations: 20.94 kB / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3679, allocations: 0 / 0.5861 GB, free: 15.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.384, allocations: 1.974 MB / 0.588 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.583, allocations: 1.938 kB / 0.588 GB, free: 15.32 MB / 446.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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)