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.001441/0.001441, allocations: 172.5 kB / 7.647 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.7598/0.7598, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.401/1.401, 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.0009883/0.000988, allocations: 98.83 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.011e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4532, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.6076, allocations: 111.2 MB / 0.7426 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6079, allocations: 71.95 kB / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004012/0.6119, allocations: 1.333 MB / 0.7439 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6119, allocations: 3.938 kB / 0.7439 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6119, allocations: 0 / 0.7439 GB, free: 10.02 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.0004032/0.6123, allocations: 366.3 kB / 0.7443 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6124, allocations: 8.031 kB / 0.7443 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.6124, allocations: 8 kB / 0.7443 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.6126, allocations: 163 kB / 0.7445 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.6126, allocations: 4 kB / 0.7445 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6126, allocations: 0 / 0.7445 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.629e-05/0.6127, allocations: 23.92 kB / 0.7445 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/0.6128, allocations: 49.69 kB / 0.7445 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6128, allocations: 0 / 0.7445 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.6128, allocations: 0 / 0.7445 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6128, allocations: 0 / 0.7445 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.6132, allocations: 257.3 kB / 0.7448 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.6134, allocations: 42.56 kB / 0.7448 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.6134, allocations: 16.92 kB / 0.7448 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.6138, allocations: 409.5 kB / 0.7452 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.6139, allocations: 34.56 kB / 0.7453 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/0.6139, allocations: 0 / 0.7453 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003114/0.6142, allocations: 65.61 kB / 0.7453 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.6142, allocations: 51.41 kB / 0.7454 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.6143, allocations: 97 kB / 0.7455 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6143, allocations: 25.7 kB / 0.7455 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.6144, allocations: 96.03 kB / 0.7456 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.6144, allocations: 3.906 kB / 0.7456 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.6144, allocations: 0 / 0.7456 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6145, allocations: 322.8 kB / 0.7459 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.6145, allocations: 8 kB / 0.7459 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.6146, allocations: 11.94 kB / 0.7459 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.6147, allocations: 19.97 kB / 0.7459 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6147, allocations: 0 / 0.7459 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002006/0.6149, allocations: 65.61 kB / 0.746 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.615, allocations: 4 kB / 0.746 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.615, allocations: 4 kB / 0.746 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.615, allocations: 0 / 0.746 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.6151, allocations: 15.98 kB / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.6151, allocations: 0 / 0.746 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.6152, allocations: 8 kB / 0.746 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.6152, allocations: 0 / 0.746 GB, free: 7.598 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: 2 (bin.y,bin.k) * Number of discrete 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 7.878e-05/0.6153, allocations: 112.9 kB / 0.7461 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002223/0.6155, allocations: 69.75 kB / 0.7462 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.6156, allocations: 0 / 0.7462 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.6158, allocations: 73.73 kB / 0.7463 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6158, allocations: 0 / 0.7463 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6158, allocations: 0 / 0.7463 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6158, allocations: 3.984 kB / 0.7463 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.616, allocations: 146.2 kB / 0.7464 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.616, allocations: 0 / 0.7464 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.6161, allocations: 11.98 kB / 0.7464 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6161, allocations: 0 / 0.7464 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.6161, allocations: 8 kB / 0.7464 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6161, allocations: 3.984 kB / 0.7464 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6161, allocations: 0 / 0.7464 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.6164, allocations: 159.5 kB / 0.7466 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.6164, allocations: 88.89 kB / 0.7467 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6164, allocations: 0 / 0.7467 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.6165, allocations: 11.98 kB / 0.7467 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.6166, allocations: 8.25 kB / 0.7467 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6166, allocations: 11.86 kB / 0.7467 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.6166, allocations: 87.28 kB / 0.7468 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6167, allocations: 0 / 0.7468 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002315/0.6169, allocations: 20 kB / 0.7468 GB, free: 6.703 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: 2 (bin.y,bin.k) * Number of discrete 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.0006053/0.6175, allocations: 0.7124 MB / 0.7475 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.6176, allocations: 23.92 kB / 0.7475 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6176, allocations: 0 / 0.7475 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.6177, allocations: 12 kB / 0.7475 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.6178, allocations: 0 / 0.7475 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.6182, allocations: 119.8 kB / 0.7476 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.6185, allocations: 0.6807 MB / 0.7483 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.6185, allocations: 11.98 kB / 0.7483 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.6185, allocations: 7.438 kB / 0.7483 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6186, allocations: 0 / 0.7483 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.6372, allocations: 1.232 MB / 0.7495 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.6375, allocations: 117.3 kB / 0.7496 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.093, allocations: 0 / 0.7496 GB, free: 3.645 MB / 0.5261 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)