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.001034/0.001034, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007871/0.007872, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3745, allocations: 81.56 MB / 0.5838 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0005839/0.3752, allocations: 328.9 kB / 0.5841 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.3755, allocations: 98.44 kB / 0.5842 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.09e-05/0.3755, allocations: 0.6875 kB / 0.5842 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3756, allocations: 0.875 kB / 0.5842 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.3756, allocations: 1.031 kB / 0.5842 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3758, allocations: 35.12 kB / 0.5842 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3759, allocations: 60.31 kB / 0.5843 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.376, allocations: 2.016 kB / 0.5843 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.376, allocations: 25.36 kB / 0.5843 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.3761, allocations: 23.97 kB / 0.5843 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3761, allocations: 3.281 kB / 0.5843 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3762, allocations: 43.39 kB / 0.5844 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.3762, allocations: 23.16 kB / 0.5844 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.3763, allocations: 50.09 kB / 0.5844 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.3764, allocations: 71.2 kB / 0.5845 GB, free: 3.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3764, allocations: 0.75 kB / 0.5845 GB, free: 3.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3764, allocations: 4 kB / 0.5845 GB, free: 3.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3765, allocations: 0.5625 kB / 0.5845 GB, free: 3.473 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.0003503/0.3768, allocations: 356.4 kB / 0.5848 GB, free: 3.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3769, allocations: 9.031 kB / 0.5848 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3769, allocations: 39.59 kB / 0.5849 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.3769, allocations: 9.656 kB / 0.5849 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.471e-05/0.377, allocations: 168.7 kB / 0.5851 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.3772, allocations: 288.8 kB / 0.5853 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.3772, allocations: 3.984 kB / 0.5853 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3774, allocations: 87.66 kB / 0.5854 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3774, allocations: 0.75 kB / 0.5854 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3775, allocations: 2.094 kB / 0.5854 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3775, allocations: 0.6562 kB / 0.5854 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.3779, allocations: 132.8 kB / 0.5855 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.378, allocations: 179.9 kB / 0.5857 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3783, allocations: 98.19 kB / 0.5858 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3784, allocations: 45.09 kB / 0.5859 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3785, allocations: 6.531 kB / 0.5859 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.3785, allocations: 35.72 kB / 0.5859 GB, free: 2.156 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3785, allocations: 3.938 kB / 0.5859 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005371/0.379, allocations: 139.5 kB / 0.586 GB, free: 2.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.3791, allocations: 53.97 kB / 0.5861 GB, free: 2.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.463e-05/0.3791, allocations: 89.86 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3791, allocations: 30.83 kB / 0.5862 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-06/0.3791, allocations: 88.08 kB / 0.5863 GB, free: 1.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.3792, allocations: 39.36 kB / 0.5863 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.3792, allocations: 17.83 kB / 0.5863 GB, free: 1.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.339e-05/0.3793, allocations: 313.9 kB / 0.5866 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3794, allocations: 33.61 kB / 0.5867 GB, free: 1.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3795, allocations: 34.64 kB / 0.5867 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3798, allocations: 77.64 kB / 0.5868 GB, free: 1.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3798, allocations: 0 / 0.5868 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003313/0.3802, allocations: 112.6 kB / 0.5869 GB, free: 1.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3802, allocations: 9.406 kB / 0.5869 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3802, allocations: 0.7031 kB / 0.5869 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3802, allocations: 5.156 kB / 0.5869 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3804, allocations: 27.19 kB / 0.5869 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3804, allocations: 4.797 kB / 0.5869 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.3805, allocations: 9.016 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.3805, allocations: 4.359 kB / 0.5869 GB, free: 1.344 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 5.569e-05/0.3805, allocations: 120.3 kB / 0.5871 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3806, allocations: 6.766 kB / 0.5871 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3806, allocations: 13.47 kB / 0.5871 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3806, allocations: 0.875 kB / 0.5871 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3806, allocations: 0.875 kB / 0.5871 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3806, allocations: 4.594 kB / 0.5871 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.9e-05/0.3807, allocations: 176.3 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3807, allocations: 2.047 kB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3808, allocations: 26.56 kB / 0.5873 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3809, allocations: 4.594 kB / 0.5873 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3809, allocations: 10.62 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3809, allocations: 1.516 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3809, allocations: 5.188 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.3812, allocations: 139.9 kB / 0.5874 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3813, allocations: 83.44 kB / 0.5875 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3813, allocations: 5.328 kB / 0.5875 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.3813, allocations: 4.719 kB / 0.5875 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3814, allocations: 14.75 kB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3814, allocations: 4.188 kB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.199e-05/0.3814, allocations: 82.36 kB / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3814, allocations: 0 / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.3817, allocations: 17.59 kB / 0.5876 GB, free: 0.7148 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.0005553/0.3822, allocations: 0.7097 MB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.3826, allocations: 88.14 kB / 0.5884 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3826, allocations: 0.7188 kB / 0.5884 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3828, allocations: 47.02 kB / 0.5885 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3829, allocations: 7.516 kB / 0.5885 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.3834, allocations: 213.5 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3837, allocations: 0.6857 MB / 0.5893 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.3838, allocations: 37.95 kB / 0.5894 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.3839, allocations: 21.06 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3839, allocations: 0 / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.021/2.405, allocations: 1.767 MB / 0.5911 GB, free: 14.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/2.405, allocations: 187.7 kB / 0.5913 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/4.162, allocations: 3.125 kB / 0.5913 GB, free: 14.71 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/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)