Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009927, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9214/0.9214, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 8 kB / 0.5071 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 82.32 MB / 0.5875 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0006151/0.1516, allocations: 307.1 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.1519, allocations: 91.73 kB / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.152, allocations: 0 / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.152, allocations: 0 / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.152, allocations: 0 / 0.5879 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1523, allocations: 39.83 kB / 0.5879 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.1524, allocations: 59.92 kB / 0.588 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.1524, allocations: 4 kB / 0.588 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.1524, allocations: 23.98 kB / 0.588 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.1525, allocations: 23.95 kB / 0.588 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1525, allocations: 8 kB / 0.588 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1526, allocations: 39.95 kB / 0.588 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.1527, allocations: 19.92 kB / 0.5881 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1527, allocations: 33.7 kB / 0.5881 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.1528, allocations: 47.92 kB / 0.5881 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1528, allocations: 0 / 0.5881 GB, free: 2.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1528, allocations: 0 / 0.5881 GB, free: 2.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1528, allocations: 0 / 0.5881 GB, free: 2.164 MB / 494.1 MB 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.0003931/0.1532, allocations: 351.3 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1533, allocations: 12.03 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.1533, allocations: 42.56 kB / 0.5885 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1533, allocations: 8 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.1534, allocations: 171.2 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/0.1537, allocations: 281 kB / 0.589 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1537, allocations: 4 kB / 0.589 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1539, allocations: 89.39 kB / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1539, allocations: 0 / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1539, allocations: 0 / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.154, allocations: 4 kB / 0.5891 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.1543, allocations: 135.8 kB / 0.5892 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1545, allocations: 177.5 kB / 0.5894 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1547, allocations: 98.45 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1549, allocations: 40.83 kB / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1549, allocations: 7.984 kB / 0.5895 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1549, allocations: 38.5 kB / 0.5895 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1549, allocations: 4 kB / 0.5895 GB, free: 0.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004758/0.1554, allocations: 141.9 kB / 0.5897 GB, free: 364 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.1555, allocations: 55.41 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.893e-05/0.1555, allocations: 89.86 kB / 0.5898 GB, free: 196 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1555, allocations: 25.7 kB / 0.5898 GB, free: 164 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.1556, allocations: 88.27 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.1556, allocations: 35.45 kB / 0.59 GB, free: 32 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.1556, allocations: 0 / 0.59 GB, free: 32 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1558, allocations: 326.8 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1559, allocations: 27.97 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.156, allocations: 31.97 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1562, allocations: 35.92 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1562, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003024/0.1565, allocations: 109.6 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1565, allocations: 4 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1565, allocations: 0 / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.1565, allocations: 0 / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1567, allocations: 31.91 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1567, allocations: 4 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.1567, allocations: 11.84 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1568, allocations: 7.984 kB / 0.5905 GB, free: 15.44 MB / 0.4981 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 () * Number of clocked 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 7.404e-05/0.1568, allocations: 121.8 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.1569, allocations: 0 / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.1569, allocations: 7.969 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1569, allocations: 7.984 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1569, allocations: 3.984 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1569, allocations: 4 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1571, allocations: 181.6 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1571, allocations: 3.938 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.1572, allocations: 23.98 kB / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1572, allocations: 0 / 0.5909 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1572, allocations: 11.92 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1572, allocations: 4 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1572, allocations: 0 / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.1576, allocations: 148.7 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1576, allocations: 85 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1576, allocations: 0 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.1577, allocations: 4 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1578, allocations: 19.97 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1578, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.1578, allocations: 75.28 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.242e-06/0.1578, allocations: 3.938 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002121/0.158, allocations: 27.94 kB / 0.5912 GB, free: 14.62 MB / 0.4981 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 () * Number of clocked 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.0006532/0.1587, allocations: 0.6943 MB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.159, allocations: 87.81 kB / 0.592 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.159, allocations: 0 / 0.592 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1592, allocations: 43.97 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1593, allocations: 12 kB / 0.592 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1598, allocations: 209.9 kB / 0.5922 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.16, allocations: 0.6848 MB / 0.5929 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.1601, allocations: 39.95 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1602, allocations: 23.42 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1602, allocations: 0 / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.1709, allocations: 1.756 MB / 0.5947 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004338/0.1714, allocations: 180.9 kB / 0.5949 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.787, allocations: 7.938 kB / 0.5949 GB, free: 10.88 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: