Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_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.001451/0.001451, allocations: 174.6 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.7372/0.7372, 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.425/1.425, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.000807/0.0008069, allocations: 101.7 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.183e-05/5.204e-05, allocations: 5.094 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1627, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5663/0.7291, allocations: 110.9 MB / 0.7488 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.7294, allocations: 78.28 kB / 0.7489 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004031/0.7334, allocations: 1.228 MB / 0.7501 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7334, allocations: 0 / 0.7501 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.7335, allocations: 0 / 0.7501 GB, free: 27.61 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004526/0.7339, allocations: 356.3 kB / 0.7504 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.734, allocations: 11.31 kB / 0.7504 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.734, allocations: 45.02 kB / 0.7504 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.7341, allocations: 3.844 kB / 0.7504 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7342, allocations: 170.9 kB / 0.7506 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.7345, allocations: 286.2 kB / 0.7509 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.7345, allocations: 3.906 kB / 0.7509 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.7347, allocations: 73.02 kB / 0.751 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7347, allocations: 0 / 0.751 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7347, allocations: 0 / 0.751 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7347, allocations: 0 / 0.751 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.7349, allocations: 118 kB / 0.7511 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.7351, allocations: 184.4 kB / 0.7512 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.7352, allocations: 88.33 kB / 0.7513 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.7353, allocations: 34.89 kB / 0.7514 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.7353, allocations: 8.125 kB / 0.7514 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.7354, allocations: 33.14 kB / 0.7514 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.7354, allocations: 7.875 kB / 0.7514 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002302/0.7356, allocations: 97.95 kB / 0.7515 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7356, allocations: 51.41 kB / 0.7516 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.469e-05/0.7357, allocations: 89 kB / 0.7516 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.7357, allocations: 25.7 kB / 0.7517 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.7357, allocations: 80.33 kB / 0.7517 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.7358, allocations: 41.95 kB / 0.7518 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.7358, allocations: 3.938 kB / 0.7518 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7359, allocations: 313.7 kB / 0.7521 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.736, allocations: 25.89 kB / 0.7521 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.736, allocations: 26.58 kB / 0.7521 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.7361, allocations: 27.5 kB / 0.7522 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7361, allocations: 7.953 kB / 0.7522 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001463/0.7363, allocations: 98.06 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7363, allocations: 3.688 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7363, allocations: 6.375 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.7363, allocations: 0 / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.7365, allocations: 24.42 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7365, allocations: 3.844 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.7366, allocations: 3.688 kB / 0.7523 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.7366, allocations: 5.641 kB / 0.7523 GB, free: 25.68 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: 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.302e-05/0.7367, allocations: 115.8 kB / 0.7524 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.7367, allocations: 7.859 kB / 0.7524 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.7367, allocations: 11.66 kB / 0.7524 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7368, allocations: 3.969 kB / 0.7524 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7368, allocations: 0 / 0.7524 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.7368, allocations: 0 / 0.7524 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.7369, allocations: 180.6 kB / 0.7526 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7369, allocations: 0 / 0.7526 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.737, allocations: 25.45 kB / 0.7526 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.7371, allocations: 3.875 kB / 0.7526 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7371, allocations: 10.83 kB / 0.7526 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7371, allocations: 3.938 kB / 0.7527 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7371, allocations: 0 / 0.7527 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.7373, allocations: 129.9 kB / 0.7528 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.7373, allocations: 81.05 kB / 0.7529 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.7373, allocations: 7.797 kB / 0.7529 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.7374, allocations: 3.938 kB / 0.7529 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.7375, allocations: 13.92 kB / 0.7529 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7375, allocations: 7 kB / 0.7529 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.7375, allocations: 79.12 kB / 0.753 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7375, allocations: 0 / 0.753 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002187/0.7378, allocations: 27.16 kB / 0.753 GB, free: 25.09 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: 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.0005704/0.7383, allocations: 0.6871 MB / 0.7537 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.7385, allocations: 71.73 kB / 0.7537 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7385, allocations: 0 / 0.7537 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.653e-05/0.7386, allocations: 44.67 kB / 0.7538 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.7387, allocations: 7.797 kB / 0.7538 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.7391, allocations: 151 kB / 0.7539 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.7394, allocations: 0.6938 MB / 0.7546 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.7395, allocations: 39.67 kB / 0.7546 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.7395, allocations: 20.89 kB / 0.7547 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.7396, allocations: 4 kB / 0.7547 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.7534, allocations: 1.727 MB / 0.7563 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.7536, allocations: 144.9 kB / 0.7565 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.314, allocations: 0 / 0.7565 GB, free: 23.21 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)