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.001414/0.001414, allocations: 180.2 kB / 7.651 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9081/0.9081, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0008259/0.0008259, allocations: 106.5 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.019e-05, allocations: 12 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5573, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.691, allocations: 110.2 MB / 0.7416 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.6913, allocations: 75.95 kB / 0.7416 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003776/0.6951, allocations: 1.22 MB / 0.7428 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6951, allocations: 0 / 0.7428 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.6951, allocations: 4 kB / 0.7428 GB, free: 11.16 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.0005147/0.6957, allocations: 354.4 kB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.522e-05/0.6958, allocations: 8.031 kB / 0.7432 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.6958, allocations: 8 kB / 0.7432 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.696, allocations: 167 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.6963, allocations: 284.9 kB / 0.7436 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.6963, allocations: 4 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002079/0.6965, allocations: 111.8 kB / 0.7437 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.6967, allocations: 65.64 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6967, allocations: 4 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6967, allocations: 0 / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.6968, allocations: 4 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.697, allocations: 154.2 kB / 0.7439 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.6971, allocations: 82.44 kB / 0.744 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.6972, allocations: 28.86 kB / 0.744 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6972, allocations: 0 / 0.744 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.6973, allocations: 46.55 kB / 0.7441 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.6973, allocations: 0 / 0.7441 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001441/0.6987, allocations: 204 kB / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6988, allocations: 55.41 kB / 0.7443 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.6988, allocations: 85 kB / 0.7444 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6988, allocations: 25.7 kB / 0.7444 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.6989, allocations: 88.2 kB / 0.7445 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.699, allocations: 35.45 kB / 0.7446 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.699, allocations: 0 / 0.7446 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6991, allocations: 322.8 kB / 0.7449 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.6992, allocations: 20 kB / 0.7449 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.6992, allocations: 19.98 kB / 0.7449 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.7006, allocations: 139.8 kB / 0.745 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7007, allocations: 0 / 0.745 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001271/0.7019, allocations: 201.5 kB / 0.7452 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.702, allocations: 11.95 kB / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.702, allocations: 0 / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.702, allocations: 0 / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.7022, allocations: 27.97 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7022, allocations: 11.94 kB / 0.7453 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.7023, allocations: 3.984 kB / 0.7453 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.7023, allocations: 4 kB / 0.7453 GB, free: 8.371 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 () * 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 9.26e-05/0.7024, allocations: 101 kB / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00129/0.7037, allocations: 213.8 kB / 0.7456 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.7037, allocations: 3.953 kB / 0.7456 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.7038, allocations: 8.406 kB / 0.7456 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7038, allocations: 4 kB / 0.7456 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7038, allocations: 4 kB / 0.7456 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7038, allocations: 3.984 kB / 0.7456 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.7039, allocations: 150.1 kB / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7039, allocations: 0 / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.7041, allocations: 31.91 kB / 0.7458 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.7041, allocations: 3.953 kB / 0.7458 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7041, allocations: 4 kB / 0.7458 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7041, allocations: 0 / 0.7458 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7041, allocations: 3.984 kB / 0.7458 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.7054, allocations: 236.9 kB / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.7055, allocations: 88.95 kB / 0.7461 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7055, allocations: 3.953 kB / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.7056, allocations: 4 kB / 0.7461 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.7057, allocations: 11.97 kB / 0.7461 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.7057, allocations: 4 kB / 0.7461 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.968e-05/0.7057, allocations: 75.28 kB / 0.7462 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7057, allocations: 0 / 0.7462 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002289/0.7059, allocations: 27.98 kB / 0.7462 GB, free: 7.32 MB / 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 () * 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.001713/0.7077, allocations: 0.784 MB / 0.747 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.7078, allocations: 71.84 kB / 0.7471 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7078, allocations: 0 / 0.7471 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.7079, allocations: 39.92 kB / 0.7471 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.708, allocations: 7.953 kB / 0.7471 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.7085, allocations: 149.5 kB / 0.7472 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.7088, allocations: 0.6884 MB / 0.7479 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.709, allocations: 47.89 kB / 0.748 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.709, allocations: 19.42 kB / 0.748 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.7091, allocations: 0 / 0.748 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.7306, allocations: 1.437 MB / 0.7494 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.7309, allocations: 128.2 kB / 0.7495 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/2.177, allocations: 0 / 0.7495 GB, free: 3.805 MB / 0.5261 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)