Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_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.001469/0.001469, allocations: 172 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.8745/0.8745, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.548/1.548, 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.0008878/0.0008879, allocations: 107 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.556e-05, allocations: 8 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4972, allocations: 82.29 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.6831, allocations: 111.2 MB / 0.7426 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.6835, allocations: 67.97 kB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006237/0.6898, allocations: 1.337 MB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6899, allocations: 3.938 kB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.6899, allocations: 4 kB / 0.7439 GB, free: 10.04 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.0005945/0.6905, allocations: 366.3 kB / 0.7443 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.6906, allocations: 8.031 kB / 0.7443 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.6906, allocations: 4 kB / 0.7443 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.6908, allocations: 163 kB / 0.7445 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.6909, allocations: 4 kB / 0.7445 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.6909, allocations: 0 / 0.7445 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/0.691, allocations: 27.98 kB / 0.7445 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.6912, allocations: 49.62 kB / 0.7445 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6912, allocations: 3.938 kB / 0.7445 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6912, allocations: 3.984 kB / 0.7445 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6913, allocations: 0 / 0.7445 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.6918, allocations: 249.3 kB / 0.7448 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.6922, allocations: 46.56 kB / 0.7448 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.6922, allocations: 16.92 kB / 0.7448 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005426/0.6928, allocations: 409.5 kB / 0.7452 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6928, allocations: 34.56 kB / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.6928, allocations: 0 / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0005001/0.6934, allocations: 57.67 kB / 0.7453 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6934, allocations: 55.41 kB / 0.7454 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6935, allocations: 93 kB / 0.7455 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.6936, allocations: 25.7 kB / 0.7455 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.6936, allocations: 92.05 kB / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.6937, allocations: 7.891 kB / 0.7456 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.6937, allocations: 0 / 0.7456 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6939, allocations: 322.8 kB / 0.7459 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.6939, allocations: 4 kB / 0.7459 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.6939, allocations: 8 kB / 0.7459 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6942, allocations: 19.98 kB / 0.7459 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6942, allocations: 7.922 kB / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003642/0.6946, allocations: 61.62 kB / 0.746 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6947, allocations: 7.984 kB / 0.746 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6947, allocations: 4 kB / 0.746 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6947, allocations: 0 / 0.746 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.6948, allocations: 11.98 kB / 0.746 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.6949, allocations: 0 / 0.746 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.695, allocations: 12.25 kB / 0.746 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.695, allocations: 3.938 kB / 0.746 GB, free: 7.609 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 0.0001127/0.6951, allocations: 108.9 kB / 0.7461 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003862/0.6955, allocations: 73.52 kB / 0.7462 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.6956, allocations: 3.984 kB / 0.7462 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.696, allocations: 65.8 kB / 0.7463 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.696, allocations: 0 / 0.7463 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.696, allocations: 0 / 0.7463 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6961, allocations: 4 kB / 0.7463 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.6963, allocations: 146.2 kB / 0.7464 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6963, allocations: 0 / 0.7464 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.6964, allocations: 11.98 kB / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6964, allocations: 0 / 0.7464 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6965, allocations: 4 kB / 0.7464 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6965, allocations: 0 / 0.7464 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6965, allocations: 0 / 0.7464 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.6969, allocations: 175.7 kB / 0.7466 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.697, allocations: 84.95 kB / 0.7467 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.6971, allocations: 0 / 0.7467 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.6972, allocations: 11.98 kB / 0.7467 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.6973, allocations: 4 kB / 0.7467 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6973, allocations: 3.984 kB / 0.7467 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.6974, allocations: 83.28 kB / 0.7468 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6974, allocations: 3.938 kB / 0.7468 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004352/0.6978, allocations: 24 kB / 0.7468 GB, free: 6.723 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.0009458/0.6988, allocations: 0.7163 MB / 0.7475 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.6989, allocations: 19.98 kB / 0.7475 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.699, allocations: 0 / 0.7475 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.699, allocations: 16 kB / 0.7475 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.6993, allocations: 1.406 kB / 0.7475 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.6999, allocations: 117.5 kB / 0.7476 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.7003, allocations: 0.6807 MB / 0.7483 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.7004, allocations: 11.92 kB / 0.7483 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.7004, allocations: 11.44 kB / 0.7483 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.7005, allocations: 4 kB / 0.7483 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.7215, allocations: 1.224 MB / 0.7495 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.7218, allocations: 124.7 kB / 0.7496 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.184, allocations: 4 kB / 0.7496 GB, free: 3.652 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)