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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.008072/0.008072, allocations: 170.8 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7929/0.7929, allocations: 135.2 MB / 151.1 MB, free: 13.78 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.406/1.406, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009848/0.0009849, allocations: 99.67 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 16 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4117, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5579, allocations: 110.9 MB / 0.7579 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5582, allocations: 79.95 kB / 0.7579 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003603/0.5618, allocations: 1.22 MB / 0.7591 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5618, allocations: 0 / 0.7591 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5618, allocations: 0 / 0.7591 GB, free: 3.738 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.0004105/0.5623, allocations: 367.2 kB / 0.7595 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5623, allocations: 8.031 kB / 0.7595 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.645e-05/0.5624, allocations: 46.55 kB / 0.7595 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.5624, allocations: 4 kB / 0.7595 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.305e-05/0.5625, allocations: 167 kB / 0.7597 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.5628, allocations: 281 kB / 0.76 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5628, allocations: 7.984 kB / 0.76 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.563, allocations: 73.64 kB / 0.76 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.5631, allocations: 0 / 0.76 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5631, allocations: 4 kB / 0.7601 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5631, allocations: 4 kB / 0.7601 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.5634, allocations: 135.8 kB / 0.7602 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.5636, allocations: 185.5 kB / 0.7604 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.5639, allocations: 98.47 kB / 0.7605 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.5639, allocations: 7.984 kB / 0.7605 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.564, allocations: 30.56 kB / 0.7605 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.564, allocations: 0 / 0.7605 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004991/0.5645, allocations: 149.8 kB / 0.7606 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.5645, allocations: 59.34 kB / 0.7607 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.579e-05/0.5646, allocations: 85 kB / 0.7608 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5646, allocations: 25.7 kB / 0.7608 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.5646, allocations: 88.31 kB / 0.7609 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.5647, allocations: 31.47 kB / 0.7609 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5647, allocations: 4 kB / 0.7609 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5648, allocations: 318.8 kB / 0.7612 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.5649, allocations: 27.98 kB / 0.7612 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.5651, allocations: 32.41 kB / 0.7613 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.5652, allocations: 40.12 kB / 0.7613 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5652, allocations: 0 / 0.7613 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002902/0.5655, allocations: 117.5 kB / 0.7614 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5655, allocations: 8.938 kB / 0.7614 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5655, allocations: 0 / 0.7614 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5655, allocations: 3.984 kB / 0.7614 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5657, allocations: 27.91 kB / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5657, allocations: 4 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.5658, allocations: 4 kB / 0.7615 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.5658, allocations: 4 kB / 0.7615 GB, free: 1.055 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 8.35e-05/0.5659, allocations: 117.8 kB / 0.7616 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.5659, allocations: 15.86 kB / 0.7616 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.566, allocations: 11.97 kB / 0.7616 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.566, allocations: 0 / 0.7616 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.566, allocations: 0 / 0.7616 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.566, allocations: 4 kB / 0.7616 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.5661, allocations: 173.6 kB / 0.7618 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5662, allocations: 3.984 kB / 0.7618 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.5663, allocations: 27.92 kB / 0.7618 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5663, allocations: 3.953 kB / 0.7618 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.5663, allocations: 4 kB / 0.7618 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5663, allocations: 7.984 kB / 0.7618 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5663, allocations: 0 / 0.7618 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.5667, allocations: 144.9 kB / 0.762 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.5667, allocations: 81.05 kB / 0.762 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.5667, allocations: 7.953 kB / 0.7621 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.5668, allocations: 7.984 kB / 0.7621 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.5669, allocations: 7.984 kB / 0.7621 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5669, allocations: 11.98 kB / 0.7621 GB, free: 344 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.5669, allocations: 79.28 kB / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5669, allocations: 0 / 0.7622 GB, free: 264 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002283/0.5671, allocations: 27.94 kB / 0.7622 GB, free: 236 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.0007178/0.5679, allocations: 0.7021 MB / 0.7629 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5682, allocations: 83.88 kB / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5682, allocations: 0 / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5683, allocations: 47.97 kB / 0.763 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.756e-05/0.5684, allocations: 4.719 kB / 0.763 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.569, allocations: 216.2 kB / 0.7632 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5692, allocations: 0.6926 MB / 0.7639 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000125/0.5693, allocations: 39.95 kB / 0.7639 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.5694, allocations: 19.42 kB / 0.7639 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5694, allocations: 0 / 0.7639 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.5832, allocations: 1.705 MB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.5834, allocations: 165.8 kB / 0.7658 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.046, allocations: 0 / 0.7658 GB, free: 12.5 MB / 0.5417 GB (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)