Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8625/0.8625, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.3 MB / 400.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008769/0.0008771, allocations: 103.4 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.494e-05/5.496e-05, allocations: 4.719 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1685, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6013/0.7699, allocations: 110.9 MB / 0.7488 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.7702, allocations: 76.36 kB / 0.7489 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003901/0.7742, allocations: 1.224 MB / 0.75 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7742, allocations: 4 kB / 0.7501 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.7742, allocations: 3.812 kB / 0.7501 GB, free: 27.16 MB / 0.5105 GB 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.0004322/0.7746, allocations: 352 kB / 0.7504 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.7747, allocations: 11.47 kB / 0.7504 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.7748, allocations: 43.61 kB / 0.7504 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.7748, allocations: 3.688 kB / 0.7504 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.7749, allocations: 167 kB / 0.7506 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.7752, allocations: 283.5 kB / 0.7509 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7753, allocations: 7.781 kB / 0.7509 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.7754, allocations: 77.53 kB / 0.751 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7754, allocations: 0 / 0.751 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.7755, allocations: 0 / 0.751 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.7755, allocations: 3.906 kB / 0.751 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.7756, allocations: 115.4 kB / 0.7511 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.7758, allocations: 185.7 kB / 0.7512 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.776, allocations: 81.12 kB / 0.7513 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.776, allocations: 36.83 kB / 0.7514 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.7761, allocations: 8.078 kB / 0.7514 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7761, allocations: 30.56 kB / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.7761, allocations: 3.938 kB / 0.7514 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000217/0.7763, allocations: 102.2 kB / 0.7515 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7764, allocations: 51.41 kB / 0.7515 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.584e-05/0.7764, allocations: 85 kB / 0.7516 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.7765, allocations: 36.28 kB / 0.7517 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.7765, allocations: 80.33 kB / 0.7517 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.7766, allocations: 41.42 kB / 0.7518 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.7766, allocations: 0 / 0.7518 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7767, allocations: 310.8 kB / 0.7521 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.7768, allocations: 29.67 kB / 0.7521 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.7768, allocations: 29.62 kB / 0.7521 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.7769, allocations: 28.53 kB / 0.7522 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7769, allocations: 3.953 kB / 0.7522 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001443/0.777, allocations: 95.23 kB / 0.7523 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7771, allocations: 4.938 kB / 0.7523 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.7771, allocations: 4 kB / 0.7523 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7771, allocations: 0 / 0.7523 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.7772, allocations: 28.55 kB / 0.7523 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.7773, allocations: 0 / 0.7523 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.7773, allocations: 7.75 kB / 0.7523 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7773, allocations: 6.609 kB / 0.7523 GB, free: 25.24 MB / 0.5105 GB 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 () * 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 8.31e-05/0.7774, allocations: 108.7 kB / 0.7524 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.7775, allocations: 11.7 kB / 0.7524 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.7775, allocations: 11.41 kB / 0.7524 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7775, allocations: 6.578 kB / 0.7524 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7775, allocations: 0 / 0.7524 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7775, allocations: 0 / 0.7524 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7777, allocations: 176 kB / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7777, allocations: 0 / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.7778, allocations: 34.72 kB / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7778, allocations: 0 / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.7778, allocations: 2.906 kB / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7779, allocations: 2.125 kB / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7779, allocations: 3.844 kB / 0.7526 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.778, allocations: 135.2 kB / 0.7528 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.7781, allocations: 83.91 kB / 0.7529 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.7781, allocations: 7.797 kB / 0.7529 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.7782, allocations: 7.656 kB / 0.7529 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.7783, allocations: 10.17 kB / 0.7529 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7783, allocations: 6.516 kB / 0.7529 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.7783, allocations: 75.28 kB / 0.753 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7783, allocations: 0 / 0.753 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002178/0.7785, allocations: 31 kB / 0.753 GB, free: 24.65 MB / 0.5105 GB 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 () * 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.0005751/0.7791, allocations: 0.6817 MB / 0.7537 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.7793, allocations: 75.08 kB / 0.7537 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7793, allocations: 0 / 0.7537 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.7794, allocations: 51.72 kB / 0.7538 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.479e-05/0.7795, allocations: 3.953 kB / 0.7538 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.7798, allocations: 155.1 kB / 0.7539 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.7801, allocations: 0.6896 MB / 0.7546 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.7803, allocations: 38.28 kB / 0.7546 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.7803, allocations: 17.97 kB / 0.7547 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.7803, allocations: 0 / 0.7547 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.7954, allocations: 1.737 MB / 0.7563 GB, free: 23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.7956, allocations: 145.3 kB / 0.7565 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.321, allocations: 0 / 0.7565 GB, free: 22.78 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)