Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.005811/0.005811, allocations: 169.5 kB / 15.11 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.7157/0.7157, allocations: 135.2 MB / 151 MB, free: 13.82 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.557/1.557, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009616/0.0009616, allocations: 95.09 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.000622, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.5057, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.6732, allocations: 112 MB / 0.7589 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.6735, allocations: 71.97 kB / 0.7589 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005418/0.679, allocations: 1.349 MB / 0.7603 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.679, allocations: 0 / 0.7603 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.6791, allocations: 0 / 0.7603 GB, free: 2.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005282/0.6796, allocations: 367.2 kB / 0.7606 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6797, allocations: 8.031 kB / 0.7606 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.6797, allocations: 30.56 kB / 0.7606 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.6798, allocations: 11.94 kB / 0.7607 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.6799, allocations: 166.9 kB / 0.7608 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.68, allocations: 8 kB / 0.7608 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.68, allocations: 3.938 kB / 0.7608 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.6802, allocations: 73.66 kB / 0.7609 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.6803, allocations: 0 / 0.7609 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6803, allocations: 0 / 0.7609 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.6803, allocations: 4 kB / 0.7609 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.6806, allocations: 55.95 kB / 0.761 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.6811, allocations: 280.8 kB / 0.7612 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.6815, allocations: 62.61 kB / 0.7613 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004673/0.682, allocations: 405.7 kB / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.6821, allocations: 38.55 kB / 0.7617 GB, free: 0.8398 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.6821, allocations: 7.938 kB / 0.7617 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005255/0.6826, allocations: 109.5 kB / 0.7618 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.6827, allocations: 55.41 kB / 0.7619 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6828, allocations: 104.9 kB / 0.762 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6828, allocations: 29.7 kB / 0.762 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.6829, allocations: 84.14 kB / 0.7621 GB, free: 432 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.6829, allocations: 11.84 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6829, allocations: 0 / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6831, allocations: 318.8 kB / 0.7624 GB, free: 92 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.6832, allocations: 23.98 kB / 0.7624 GB, free: 68 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.6833, allocations: 27.97 kB / 0.7624 GB, free: 40 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6835, allocations: 19.98 kB / 0.7625 GB, free: 20 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6835, allocations: 0 / 0.7625 GB, free: 20 kB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/0.6838, allocations: 97.78 kB / 0.7626 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6838, allocations: 4 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.6839, allocations: 4.031 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6839, allocations: 3.984 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.684, allocations: 12 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.684, allocations: 7.984 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.081e-05/0.6841, allocations: 4 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6842, allocations: 7.953 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001074/0.6843, allocations: 109.8 kB / 0.7627 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.6843, allocations: 7.984 kB / 0.7627 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.6847, allocations: 97.55 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6847, allocations: 0 / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.6847, allocations: 0 / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6847, allocations: 7.875 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.685, allocations: 165.6 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.685, allocations: 0 / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6851, allocations: 19.92 kB / 0.763 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6851, allocations: 4 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6852, allocations: 0 / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6852, allocations: 0 / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6852, allocations: 0 / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.6856, allocations: 195.4 kB / 0.7632 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.6856, allocations: 77.11 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.6857, allocations: 0 / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.6858, allocations: 11.98 kB / 0.7633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.6859, allocations: 0 / 0.7633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6859, allocations: 12 kB / 0.7633 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.117e-05/0.686, allocations: 83.27 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.096e-06/0.686, allocations: 4 kB / 0.7634 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004111/0.6864, allocations: 27.94 kB / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000838/0.6872, allocations: 0.7435 MB / 0.7641 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.6876, allocations: 51.95 kB / 0.7642 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6876, allocations: 0 / 0.7642 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.6877, allocations: 39.91 kB / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.688, allocations: 4 kB / 0.7642 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.6893, allocations: 462.4 kB / 0.7646 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.6897, allocations: 0.6809 MB / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.6897, allocations: 11.98 kB / 0.7653 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.6898, allocations: 11.44 kB / 0.7653 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.6898, allocations: 0 / 0.7653 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.7055, allocations: 1.569 MB / 0.7669 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.7058, allocations: 161 kB / 0.767 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.206, allocations: 0 / 0.767 GB, free: 11.16 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)