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.00154/0.001539, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8372/0.8372, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.47/1.47, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.88 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.676e-05, allocations: 3.656 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1614, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6018/0.7632, allocations: 111.9 MB / 0.7498 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.7634, allocations: 79.55 kB / 0.7499 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00408/0.7675, allocations: 1.335 MB / 0.7512 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.584e-06/0.7676, allocations: 4 kB / 0.7512 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.7676, allocations: 3.938 kB / 0.7512 GB, free: 27.65 MB / 0.5105 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.000366/0.768, allocations: 355.6 kB / 0.7515 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.768, allocations: 11.34 kB / 0.7515 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.7681, allocations: 36.69 kB / 0.7516 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.7681, allocations: 3.875 kB / 0.7516 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.7682, allocations: 163 kB / 0.7517 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.7682, allocations: 7.812 kB / 0.7517 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.7683, allocations: 3.938 kB / 0.7517 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.7684, allocations: 58.97 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7684, allocations: 0 / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7684, allocations: 3.812 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7684, allocations: 3.875 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.7685, allocations: 15.5 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.7688, allocations: 286.4 kB / 0.7521 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.7691, allocations: 44.27 kB / 0.7521 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.7691, allocations: 16.23 kB / 0.7521 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.7695, allocations: 405.8 kB / 0.7525 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.7695, allocations: 34.44 kB / 0.7526 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.7695, allocations: 4 kB / 0.7526 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/0.7697, allocations: 55.61 kB / 0.7526 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.7697, allocations: 55.36 kB / 0.7527 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.7698, allocations: 107.2 kB / 0.7528 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7698, allocations: 25.7 kB / 0.7528 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.7699, allocations: 84.02 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.7699, allocations: 10.64 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7699, allocations: 0 / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.77, allocations: 322.7 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.7701, allocations: 7.688 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.7701, allocations: 3.875 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.7701, allocations: 14.47 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7701, allocations: 0 / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.578e-05/0.7702, allocations: 47.61 kB / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7702, allocations: 10.41 kB / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7702, allocations: 0 / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7702, allocations: 0 / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.7703, allocations: 21.95 kB / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7704, allocations: 0 / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.7704, allocations: 15.41 kB / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.7704, allocations: 3.844 kB / 0.7533 GB, free: 25.51 MB / 0.5105 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 6.278e-05/0.7705, allocations: 101 kB / 0.7534 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.7705, allocations: 10.56 kB / 0.7534 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.7707, allocations: 54.5 kB / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7707, allocations: 4 kB / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7707, allocations: 7.844 kB / 0.7535 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7707, allocations: 0 / 0.7535 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.7708, allocations: 177.7 kB / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.7708, allocations: 0 / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.7709, allocations: 14.86 kB / 0.7537 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7709, allocations: 0 / 0.7537 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.7709, allocations: 3.844 kB / 0.7537 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.771, allocations: 0 / 0.7537 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.771, allocations: 0 / 0.7537 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.7711, allocations: 153.1 kB / 0.7538 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.7711, allocations: 84.89 kB / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7711, allocations: 0 / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.7712, allocations: 11.03 kB / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.7713, allocations: 7.25 kB / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.7713, allocations: 0 / 0.7539 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.7713, allocations: 98.14 kB / 0.754 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7714, allocations: 3.938 kB / 0.754 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002199/0.7716, allocations: 23.28 kB / 0.754 GB, free: 24.83 MB / 0.5105 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.000462/0.772, allocations: 0.7006 MB / 0.7547 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.7721, allocations: 23.28 kB / 0.7547 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7722, allocations: 7.812 kB / 0.7547 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.7722, allocations: 18.19 kB / 0.7548 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.7724, allocations: 2.625 kB / 0.7548 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.7727, allocations: 120.4 kB / 0.7549 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7729, allocations: 0.6869 MB / 0.7556 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.773, allocations: 4 kB / 0.7556 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.773, allocations: 18.39 kB / 0.7556 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.773, allocations: 0 / 0.7556 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.7857, allocations: 1.562 MB / 0.7571 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.7859, allocations: 136.3 kB / 0.7572 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.253, allocations: 0 / 0.7572 GB, free: 22.91 MB / 0.5105 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)