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.0009479/0.0009479, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8588/0.8588, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.454/1.454, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008844/0.0008844, allocations: 103.5 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.127e-05, allocations: 11.94 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4498, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5882, allocations: 110.2 MB / 0.7415 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5884, allocations: 79.94 kB / 0.7416 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003475/0.5919, allocations: 1.22 MB / 0.7428 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5919, allocations: 3.938 kB / 0.7428 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.592, allocations: 3.938 kB / 0.7428 GB, free: 11.18 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.0003834/0.5923, allocations: 362.4 kB / 0.7432 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5924, allocations: 8.031 kB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.5924, allocations: 8 kB / 0.7432 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.5925, allocations: 171 kB / 0.7433 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.5928, allocations: 273 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.5928, allocations: 4 kB / 0.7436 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001853/0.593, allocations: 119.8 kB / 0.7437 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.5931, allocations: 69.58 kB / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5931, allocations: 0 / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5931, allocations: 0 / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5931, allocations: 4 kB / 0.7438 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.5933, allocations: 146.2 kB / 0.7439 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.5934, allocations: 82.52 kB / 0.744 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.5935, allocations: 32.84 kB / 0.744 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.5935, allocations: 3.984 kB / 0.744 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.5936, allocations: 34.56 kB / 0.7441 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.5936, allocations: 0 / 0.7441 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001397/0.595, allocations: 213.6 kB / 0.7443 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.595, allocations: 51.41 kB / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/0.5951, allocations: 93 kB / 0.7444 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.5951, allocations: 25.7 kB / 0.7444 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.5951, allocations: 80.33 kB / 0.7445 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.5952, allocations: 35.45 kB / 0.7446 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.5952, allocations: 0 / 0.7446 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5953, allocations: 314.8 kB / 0.7449 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.5954, allocations: 23.98 kB / 0.7449 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.5954, allocations: 23.98 kB / 0.7449 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5966, allocations: 135.8 kB / 0.745 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5966, allocations: 4 kB / 0.745 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001233/0.5978, allocations: 205.5 kB / 0.7452 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.5978, allocations: 7.953 kB / 0.7452 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5979, allocations: 0 / 0.7452 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/0.5979, allocations: 0 / 0.7452 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5981, allocations: 27.92 kB / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5981, allocations: 0 / 0.7453 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.688e-05/0.5982, allocations: 11.98 kB / 0.7453 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5982, allocations: 4 kB / 0.7453 GB, free: 8.395 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 8.155e-05/0.5983, allocations: 109 kB / 0.7454 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001293/0.5996, allocations: 213.7 kB / 0.7456 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.5996, allocations: 7.891 kB / 0.7456 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.5996, allocations: 8.406 kB / 0.7456 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5996, allocations: 4 kB / 0.7456 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5997, allocations: 0 / 0.7456 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5997, allocations: 0 / 0.7456 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5998, allocations: 150.1 kB / 0.7458 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5998, allocations: 0 / 0.7458 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.6, allocations: 23.97 kB / 0.7458 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.6, allocations: 7.953 kB / 0.7458 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.6, allocations: 8 kB / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6, allocations: 0 / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6, allocations: 0 / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6013, allocations: 236.8 kB / 0.746 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.6014, allocations: 88.94 kB / 0.7461 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.6014, allocations: 3.953 kB / 0.7461 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.6015, allocations: 4 kB / 0.7461 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.6015, allocations: 19.97 kB / 0.7461 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6015, allocations: 4 kB / 0.7461 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.6016, allocations: 75.28 kB / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6016, allocations: 0 / 0.7462 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002271/0.6018, allocations: 24 kB / 0.7462 GB, free: 7.34 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.00167/0.6035, allocations: 0.7879 MB / 0.747 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.6037, allocations: 71.89 kB / 0.7471 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6037, allocations: 0 / 0.7471 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.6037, allocations: 35.92 kB / 0.7471 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.6038, allocations: 7.953 kB / 0.7471 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.6042, allocations: 141.5 kB / 0.7472 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.6044, allocations: 0.6962 MB / 0.7479 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.6046, allocations: 39.95 kB / 0.748 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.543e-05/0.6046, allocations: 19.42 kB / 0.748 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/0.6046, allocations: 4 kB / 0.748 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.6244, allocations: 1.446 MB / 0.7494 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/0.6247, allocations: 132.9 kB / 0.7495 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.102, allocations: 3.938 kB / 0.7495 GB, free: 3.816 MB / 0.5261 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)