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.005937/0.005937, allocations: 172.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 135.2 MB / 151 MB, free: 13.81 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.55/1.55, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 104.1 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005373, allocations: 16 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4725, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.6564, allocations: 110.9 MB / 0.7579 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/0.6568, allocations: 75.95 kB / 0.7579 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004134/0.661, allocations: 1.224 MB / 0.7591 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.585e-06/0.661, allocations: 0 / 0.7591 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.661, allocations: 0 / 0.7591 GB, free: 3.766 MB / 0.5261 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.0005422/0.6616, allocations: 367.2 kB / 0.7595 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.6616, allocations: 12.02 kB / 0.7595 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.6617, allocations: 42.56 kB / 0.7595 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.6618, allocations: 4 kB / 0.7595 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.6619, allocations: 171 kB / 0.7597 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.6623, allocations: 281 kB / 0.76 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.6623, allocations: 4 kB / 0.76 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.6626, allocations: 77.64 kB / 0.76 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6626, allocations: 0 / 0.76 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6626, allocations: 0 / 0.76 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6627, allocations: 8 kB / 0.7601 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.663, allocations: 139.7 kB / 0.7602 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.6633, allocations: 185.5 kB / 0.7604 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.6636, allocations: 94.47 kB / 0.7605 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.6636, allocations: 0 / 0.7605 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.6636, allocations: 34.55 kB / 0.7605 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.6636, allocations: 3.938 kB / 0.7605 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005464/0.6642, allocations: 153.8 kB / 0.7606 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6643, allocations: 59.33 kB / 0.7607 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.6643, allocations: 85 kB / 0.7608 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6644, allocations: 25.7 kB / 0.7608 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.6644, allocations: 80.33 kB / 0.7609 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.6645, allocations: 35.47 kB / 0.7609 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.6645, allocations: 4 kB / 0.7609 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6646, allocations: 314.8 kB / 0.7612 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.6648, allocations: 39.97 kB / 0.7613 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.6649, allocations: 24.42 kB / 0.7613 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.6651, allocations: 40.12 kB / 0.7613 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6651, allocations: 0 / 0.7613 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003292/0.6654, allocations: 117.5 kB / 0.7614 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.6654, allocations: 4 kB / 0.7614 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6655, allocations: 0 / 0.7614 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.6655, allocations: 0 / 0.7614 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.6657, allocations: 31.91 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6657, allocations: 4 kB / 0.7615 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.6658, allocations: 4 kB / 0.7615 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.6658, allocations: 7.984 kB / 0.7615 GB, free: 1.078 MB / 0.5261 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 () * 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.0001385/0.6659, allocations: 117.8 kB / 0.7616 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.666, allocations: 7.859 kB / 0.7616 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.666, allocations: 11.97 kB / 0.7616 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.666, allocations: 4 kB / 0.7616 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.666, allocations: 0 / 0.7616 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.666, allocations: 4 kB / 0.7616 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.6662, allocations: 181.6 kB / 0.7618 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6662, allocations: 0 / 0.7618 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.6664, allocations: 23.92 kB / 0.7618 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6664, allocations: 3.953 kB / 0.7618 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.6664, allocations: 11.98 kB / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6664, allocations: 0 / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6664, allocations: 0 / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.6668, allocations: 140.9 kB / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.6668, allocations: 81.05 kB / 0.762 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.6669, allocations: 15.94 kB / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.6669, allocations: 0 / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.667, allocations: 15.97 kB / 0.7621 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.667, allocations: 4 kB / 0.7621 GB, free: 376 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.6671, allocations: 79.28 kB / 0.7622 GB, free: 296 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6671, allocations: 0 / 0.7622 GB, free: 296 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002508/0.6673, allocations: 31.88 kB / 0.7622 GB, free: 264 kB / 0.5261 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 () * 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.0009845/0.6683, allocations: 0.7021 MB / 0.7629 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.6687, allocations: 83.88 kB / 0.7629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6687, allocations: 0 / 0.7629 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.6688, allocations: 43.97 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.669, allocations: 13.97 kB / 0.763 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.6696, allocations: 216.2 kB / 0.7632 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.6701, allocations: 0.6926 MB / 0.7639 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000149/0.6702, allocations: 31.97 kB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.6703, allocations: 23.42 kB / 0.7639 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.6703, allocations: 0 / 0.7639 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.6881, allocations: 1.708 MB / 0.7656 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004149/0.6886, allocations: 175 kB / 0.7658 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.394, allocations: 0 / 0.7658 GB, free: 12.52 MB / 0.5417 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)