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.001382/0.001382, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002296/0.002297, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.172/2.172, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.101/1.101, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005923/0.0005925, allocations: 12 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8962, allocations: 81.57 MB / 0.583 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001105/0.8974, allocations: 317.9 kB / 0.5833 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.898, allocations: 91.91 kB / 0.5834 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.092e-05/0.898, allocations: 2.562 kB / 0.5834 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.8981, allocations: 0 / 0.5834 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-06/0.8981, allocations: 0.7812 kB / 0.5834 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.8985, allocations: 31.03 kB / 0.5834 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.8987, allocations: 46.09 kB / 0.5834 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.8988, allocations: 1.703 kB / 0.5834 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.8989, allocations: 26.38 kB / 0.5835 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.899, allocations: 20.81 kB / 0.5835 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.899, allocations: 3.125 kB / 0.5835 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.8992, allocations: 41.64 kB / 0.5835 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.8993, allocations: 18.8 kB / 0.5835 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.8994, allocations: 34.33 kB / 0.5836 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.8996, allocations: 44.73 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8996, allocations: 1.094 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8996, allocations: 0.5938 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.8997, allocations: 4 kB / 0.5836 GB, free: 3.672 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.0007172/0.9004, allocations: 360.4 kB / 0.584 GB, free: 3.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.744e-05/0.9005, allocations: 13.53 kB / 0.584 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.458e-05/0.9006, allocations: 37.92 kB / 0.584 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.9007, allocations: 6.609 kB / 0.584 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.9008, allocations: 169.8 kB / 0.5842 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.9012, allocations: 277.3 kB / 0.5845 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.9012, allocations: 7.562 kB / 0.5845 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.9017, allocations: 82.31 kB / 0.5845 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.9017, allocations: 0 / 0.5845 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.9017, allocations: 5.391 kB / 0.5845 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.9018, allocations: 1.781 kB / 0.5845 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.9026, allocations: 129 kB / 0.5847 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.9029, allocations: 187 kB / 0.5848 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.9034, allocations: 97.94 kB / 0.5849 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.9035, allocations: 4.672 kB / 0.5849 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9035, allocations: 40.59 kB / 0.585 GB, free: 2.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.904e-06/0.9036, allocations: 0 / 0.585 GB, free: 2.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001017/0.9046, allocations: 139.9 kB / 0.5851 GB, free: 2.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.9047, allocations: 54.5 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.966e-05/0.9047, allocations: 93.86 kB / 0.5853 GB, free: 2.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.9047, allocations: 26.22 kB / 0.5853 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.9048, allocations: 81.27 kB / 0.5854 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.9049, allocations: 35.5 kB / 0.5854 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.9049, allocations: 8 kB / 0.5854 GB, free: 2.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.905, allocations: 322.5 kB / 0.5857 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.9053, allocations: 33.16 kB / 0.5857 GB, free: 1.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.9055, allocations: 29.45 kB / 0.5858 GB, free: 1.672 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.9058, allocations: 34.41 kB / 0.5858 GB, free: 1.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9058, allocations: 3.938 kB / 0.5858 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000583/0.9064, allocations: 108.1 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.9065, allocations: 4.875 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9065, allocations: 7.938 kB / 0.5859 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9065, allocations: 2.078 kB / 0.5859 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.9068, allocations: 27.03 kB / 0.5859 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.9068, allocations: 1.125 kB / 0.5859 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.907, allocations: 9.094 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.907, allocations: 8.875 kB / 0.586 GB, free: 1.598 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 0.0001221/0.9071, allocations: 125.8 kB / 0.5861 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.9072, allocations: 1.844 kB / 0.5861 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.9072, allocations: 17.27 kB / 0.5861 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9073, allocations: 5.344 kB / 0.5861 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.9073, allocations: 0.6562 kB / 0.5861 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.9073, allocations: 0.6562 kB / 0.5861 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.9075, allocations: 189.7 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9075, allocations: 0 / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.9078, allocations: 23.2 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.9078, allocations: 1.219 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.9079, allocations: 2.875 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.9079, allocations: 0.7188 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9079, allocations: 0.7188 kB / 0.5863 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.9086, allocations: 155.6 kB / 0.5865 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.9087, allocations: 83 kB / 0.5865 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.9087, allocations: 2.391 kB / 0.5865 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9088, allocations: 7.75 kB / 0.5866 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.909, allocations: 12.2 kB / 0.5866 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.909, allocations: 3.953 kB / 0.5866 GB, free: 1.039 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.909, allocations: 76.03 kB / 0.5866 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.909, allocations: 4 kB / 0.5866 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.9095, allocations: 21.64 kB / 0.5867 GB, free: 0.957 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.001178/0.9107, allocations: 0.7036 MB / 0.5874 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.9114, allocations: 79.67 kB / 0.5874 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9114, allocations: 4 kB / 0.5874 GB, free: 316 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.9117, allocations: 54.2 kB / 0.5875 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.9119, allocations: 1.281 kB / 0.5875 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.9129, allocations: 205.4 kB / 0.5877 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.9134, allocations: 0.6876 MB / 0.5884 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.9137, allocations: 38.67 kB / 0.5884 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.9138, allocations: 20.94 kB / 0.5884 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.9138, allocations: 4 kB / 0.5884 GB, free: 15.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.9376, allocations: 1.726 MB / 0.5901 GB, free: 15.22 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/0.938, allocations: 173.5 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.601, allocations: 0 / 0.5903 GB, free: 14.99 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: