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.0009291/0.000929, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001108/0.001108, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005032, allocations: 8.219 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3771, allocations: 81.58 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0005942/0.3777, allocations: 313.9 kB / 0.5835 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003051/0.378, allocations: 94.75 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.3781, allocations: 2.625 kB / 0.5836 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.3781, allocations: 3.938 kB / 0.5836 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.3781, allocations: 0 / 0.5836 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.3784, allocations: 36.02 kB / 0.5836 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3786, allocations: 58.41 kB / 0.5836 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3786, allocations: 1.5 kB / 0.5836 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.3787, allocations: 26.8 kB / 0.5837 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.3787, allocations: 20.7 kB / 0.5837 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3788, allocations: 2.125 kB / 0.5837 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.3789, allocations: 43.59 kB / 0.5837 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.379, allocations: 18.56 kB / 0.5838 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.379, allocations: 37.8 kB / 0.5838 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3791, allocations: 43.94 kB / 0.5838 GB, free: 3.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3791, allocations: 0.5625 kB / 0.5838 GB, free: 3.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3791, allocations: 0.75 kB / 0.5838 GB, free: 3.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.3792, allocations: 4 kB / 0.5838 GB, free: 3.629 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.0004172/0.3796, allocations: 352.1 kB / 0.5842 GB, free: 3.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3796, allocations: 9.156 kB / 0.5842 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.3797, allocations: 42.58 kB / 0.5842 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.3797, allocations: 6.516 kB / 0.5842 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.287e-05/0.3798, allocations: 166.9 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.38, allocations: 281 kB / 0.5847 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.38, allocations: 2.281 kB / 0.5847 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3803, allocations: 91.34 kB / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3803, allocations: 0 / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3803, allocations: 1.453 kB / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3803, allocations: 1.906 kB / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.3807, allocations: 136.8 kB / 0.5849 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.3808, allocations: 182.8 kB / 0.5851 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3811, allocations: 93.17 kB / 0.5851 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3812, allocations: 45.25 kB / 0.5852 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3813, allocations: 9.547 kB / 0.5852 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.3813, allocations: 37.02 kB / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.3813, allocations: 0 / 0.5852 GB, free: 2.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004843/0.3818, allocations: 141.9 kB / 0.5854 GB, free: 2.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3818, allocations: 53.48 kB / 0.5854 GB, free: 2.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.663e-05/0.3818, allocations: 90.86 kB / 0.5855 GB, free: 2.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.3819, allocations: 25.7 kB / 0.5855 GB, free: 2.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.3819, allocations: 93.19 kB / 0.5856 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3819, allocations: 35.39 kB / 0.5856 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.3819, allocations: 4.719 kB / 0.5857 GB, free: 1.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.382, allocations: 321.5 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3821, allocations: 33.5 kB / 0.586 GB, free: 1.617 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3823, allocations: 30.09 kB / 0.586 GB, free: 1.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3824, allocations: 34.59 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3824, allocations: 0 / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003121/0.3827, allocations: 116.2 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3827, allocations: 5.031 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3828, allocations: 1 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3828, allocations: 0.5625 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3829, allocations: 24 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3829, allocations: 3.938 kB / 0.5862 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.383, allocations: 17.3 kB / 0.5862 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.383, allocations: 5.078 kB / 0.5862 GB, free: 1.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.3831, allocations: 119.8 kB / 0.5863 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3831, allocations: 6.75 kB / 0.5863 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3831, allocations: 9.781 kB / 0.5863 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3832, allocations: 1.344 kB / 0.5864 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3832, allocations: 0 / 0.5864 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3832, allocations: 0.5625 kB / 0.5864 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.483e-05/0.3833, allocations: 180.8 kB / 0.5865 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3833, allocations: 0 / 0.5865 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3834, allocations: 29.08 kB / 0.5866 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3834, allocations: 0 / 0.5866 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3834, allocations: 3.422 kB / 0.5866 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3834, allocations: 4.844 kB / 0.5866 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3835, allocations: 0 / 0.5866 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3838, allocations: 151.2 kB / 0.5867 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3838, allocations: 83.16 kB / 0.5868 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3838, allocations: 2.562 kB / 0.5868 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.3839, allocations: 3.797 kB / 0.5868 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.384, allocations: 14.69 kB / 0.5868 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.384, allocations: 5 kB / 0.5868 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.384, allocations: 79.28 kB / 0.5869 GB, free: 0.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.384, allocations: 0 / 0.5869 GB, free: 0.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.3842, allocations: 25.39 kB / 0.5869 GB, free: 0.9102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005631/0.3848, allocations: 0.7003 MB / 0.5876 GB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.3851, allocations: 83.8 kB / 0.5877 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3851, allocations: 0 / 0.5877 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.3853, allocations: 54.03 kB / 0.5877 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.3854, allocations: 13.59 kB / 0.5877 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.3859, allocations: 198.2 kB / 0.5879 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3862, allocations: 0.6881 MB / 0.5886 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3864, allocations: 38.66 kB / 0.5886 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.3865, allocations: 24.69 kB / 0.5887 GB, free: 15.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3865, allocations: 0 / 0.5887 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.3992, allocations: 1.751 MB / 0.5904 GB, free: 15.17 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.3994, allocations: 173.2 kB / 0.5905 GB, free: 14.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.946, allocations: 0.9375 kB / 0.5905 GB, free: 14.93 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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) Environment - environmentSimulation: