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.007287/0.007287, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8094/0.8094, allocations: 135.2 MB / 151 MB, free: 13.84 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.423/1.423, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001036/0.001036, allocations: 97.23 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003568, allocations: 16 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4123, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5674, allocations: 112 MB / 0.7589 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5677, allocations: 75.95 kB / 0.7589 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004136/0.5719, allocations: 1.345 MB / 0.7603 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5719, allocations: 0 / 0.7603 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5719, allocations: 0 / 0.7603 GB, free: 2.562 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.0004706/0.5724, allocations: 371.2 kB / 0.7606 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5725, allocations: 8.031 kB / 0.7606 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.5725, allocations: 30.56 kB / 0.7606 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.5726, allocations: 8 kB / 0.7607 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5727, allocations: 174.9 kB / 0.7608 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5728, allocations: 4 kB / 0.7608 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.5728, allocations: 0 / 0.7608 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.573, allocations: 77.64 kB / 0.7609 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.573, allocations: 0 / 0.7609 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.573, allocations: 0 / 0.7609 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.573, allocations: 0 / 0.7609 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.5732, allocations: 59.95 kB / 0.761 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.5737, allocations: 276.8 kB / 0.7612 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.574, allocations: 66.59 kB / 0.7613 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/0.5744, allocations: 409.6 kB / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.5744, allocations: 30.56 kB / 0.7617 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5744, allocations: 3.938 kB / 0.7617 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004012/0.5748, allocations: 117.5 kB / 0.7618 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.5749, allocations: 55.41 kB / 0.7619 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.575, allocations: 101 kB / 0.762 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.575, allocations: 29.64 kB / 0.762 GB, free: 496 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.575, allocations: 88.12 kB / 0.7621 GB, free: 404 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.5751, allocations: 15.84 kB / 0.7621 GB, free: 388 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.5751, allocations: 0 / 0.7621 GB, free: 388 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5752, allocations: 314.8 kB / 0.7624 GB, free: 64 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.5753, allocations: 23.97 kB / 0.7624 GB, free: 40 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.5754, allocations: 23.98 kB / 0.7624 GB, free: 16 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.5755, allocations: 28.03 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5755, allocations: 0 / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002217/0.5758, allocations: 89.44 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5758, allocations: 12 kB / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5758, allocations: 0 / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5758, allocations: 0 / 0.7626 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.5759, allocations: 15.98 kB / 0.7626 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5759, allocations: 4 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.576, allocations: 7.984 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.576, allocations: 7.953 kB / 0.7626 GB, free: 15.85 MB / 0.5417 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 () * Number of clocked 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 8.398e-05/0.5761, allocations: 109.8 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.5761, allocations: 4 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.5764, allocations: 97.48 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5764, allocations: 0 / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5765, allocations: 4 kB / 0.7628 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5765, allocations: 7.938 kB / 0.7628 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.5767, allocations: 165.6 kB / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5767, allocations: 0 / 0.763 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.5768, allocations: 15.98 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5768, allocations: 4.375 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.5768, allocations: 0 / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5768, allocations: 0 / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5768, allocations: 0 / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.5771, allocations: 191.3 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5772, allocations: 81.11 kB / 0.7632 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5772, allocations: 0 / 0.7632 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.5773, allocations: 11.98 kB / 0.7633 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.5774, allocations: 15.92 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.5774, allocations: 4 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.5775, allocations: 87.34 kB / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5775, allocations: 0 / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000261/0.5777, allocations: 23.98 kB / 0.7634 GB, free: 14.94 MB / 0.5417 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 () * Number of clocked 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.0008402/0.5786, allocations: 0.7405 MB / 0.7641 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.5789, allocations: 67.83 kB / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5789, allocations: 0 / 0.7642 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.579, allocations: 27.97 kB / 0.7642 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5792, allocations: 4 kB / 0.7642 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.5803, allocations: 466.4 kB / 0.7646 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.5807, allocations: 0.6848 MB / 0.7653 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.5808, allocations: 4 kB / 0.7653 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.5808, allocations: 11.44 kB / 0.7653 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.5808, allocations: 0 / 0.7653 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5945, allocations: 1.57 MB / 0.7669 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.5947, allocations: 174.3 kB / 0.767 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.144, allocations: 0 / 0.767 GB, free: 11.12 MB / 0.5417 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)