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.0009932/0.0009932, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009569/0.0009568, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7313/0.7313, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.66 kB / 0.5012 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3934, allocations: 80.21 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001647/0.3951, allocations: 0.6482 MB / 0.5801 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.3955, allocations: 106.6 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.3955, allocations: 0.625 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.3956, allocations: 0 / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.3956, allocations: 0.5625 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3959, allocations: 26.66 kB / 0.5803 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.396, allocations: 59.92 kB / 0.5803 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3961, allocations: 3.594 kB / 0.5803 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3961, allocations: 24.67 kB / 0.5804 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.3962, allocations: 24.56 kB / 0.5804 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3962, allocations: 7.094 kB / 0.5804 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3963, allocations: 43.02 kB / 0.5804 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.3964, allocations: 23.41 kB / 0.5805 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.3964, allocations: 25.28 kB / 0.5805 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3966, allocations: 66.53 kB / 0.5805 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3966, allocations: 1.578 kB / 0.5805 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3966, allocations: 3.938 kB / 0.5805 GB, free: 3.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3966, allocations: 0 / 0.5805 GB, free: 3.988 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.0004834/0.3971, allocations: 374.1 kB / 0.5809 GB, free: 3.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3972, allocations: 13.53 kB / 0.5809 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.3972, allocations: 47.38 kB / 0.581 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3973, allocations: 7.078 kB / 0.581 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.745e-05/0.3973, allocations: 167.4 kB / 0.5811 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.3975, allocations: 277.5 kB / 0.5814 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3976, allocations: 7.469 kB / 0.5814 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.3978, allocations: 83.23 kB / 0.5815 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3978, allocations: 0 / 0.5815 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3978, allocations: 6.625 kB / 0.5815 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3979, allocations: 0 / 0.5815 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3982, allocations: 138.1 kB / 0.5816 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.3984, allocations: 187.7 kB / 0.5818 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.3987, allocations: 93.52 kB / 0.5819 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3988, allocations: 42.22 kB / 0.5819 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3989, allocations: 1.641 kB / 0.5819 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.3989, allocations: 40.53 kB / 0.582 GB, free: 2.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3989, allocations: 4 kB / 0.582 GB, free: 2.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005227/0.3994, allocations: 147.2 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.3995, allocations: 52.22 kB / 0.5822 GB, free: 2.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.121e-05/0.3995, allocations: 91.47 kB / 0.5822 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3995, allocations: 27.08 kB / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.03e-05/0.3995, allocations: 80.14 kB / 0.5823 GB, free: 2.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.3996, allocations: 34.33 kB / 0.5824 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.3996, allocations: 31.56 kB / 0.5824 GB, free: 2.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.3997, allocations: 317.8 kB / 0.5827 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3998, allocations: 36.91 kB / 0.5827 GB, free: 1.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3999, allocations: 30.92 kB / 0.5828 GB, free: 1.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.4002, allocations: 77 kB / 0.5829 GB, free: 1.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4002, allocations: 0 / 0.5829 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003161/0.4005, allocations: 113.4 kB / 0.583 GB, free: 1.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4006, allocations: 14.03 kB / 0.583 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4006, allocations: 0 / 0.583 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4006, allocations: 5.562 kB / 0.583 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4007, allocations: 23.44 kB / 0.583 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4008, allocations: 0 / 0.583 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.4008, allocations: 9.75 kB / 0.583 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4008, allocations: 12.73 kB / 0.583 GB, free: 1.848 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.707e-05/0.4009, allocations: 117.9 kB / 0.5831 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4009, allocations: 6 kB / 0.5831 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.401, allocations: 16.61 kB / 0.5832 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.401, allocations: 5.375 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.401, allocations: 1.719 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.401, allocations: 0.6094 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.4011, allocations: 184.3 kB / 0.5833 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4011, allocations: 0 / 0.5833 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.4012, allocations: 23.45 kB / 0.5834 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4012, allocations: 6.016 kB / 0.5834 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4012, allocations: 6.766 kB / 0.5834 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4012, allocations: 0 / 0.5834 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4012, allocations: 1.531 kB / 0.5834 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.4016, allocations: 147.2 kB / 0.5835 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.4016, allocations: 83.97 kB / 0.5836 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4016, allocations: 5.922 kB / 0.5836 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.4017, allocations: 4.438 kB / 0.5836 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.4018, allocations: 10.88 kB / 0.5836 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4018, allocations: 7.922 kB / 0.5836 GB, free: 1.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.233e-05/0.4018, allocations: 78.61 kB / 0.5837 GB, free: 1.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4018, allocations: 0 / 0.5837 GB, free: 1.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.402, allocations: 22.02 kB / 0.5837 GB, free: 1.215 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.0005898/0.4026, allocations: 0.7023 MB / 0.5844 GB, free: 0.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.403, allocations: 79.83 kB / 0.5845 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.403, allocations: 0 / 0.5845 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.4031, allocations: 54.64 kB / 0.5845 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.4033, allocations: 11.22 kB / 0.5845 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4037, allocations: 209.8 kB / 0.5847 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.4039, allocations: 0.6846 MB / 0.5854 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.4041, allocations: 39.33 kB / 0.5854 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.4042, allocations: 20.64 kB / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4042, allocations: 0 / 0.5855 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.4153, allocations: 1.839 MB / 0.5873 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.4155, allocations: 185.3 kB / 0.5874 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.092, allocations: 4.938 kB / 0.5874 GB, free: 15.13 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)