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/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: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008571/0.0008572, allocations: 177.3 kB / 15.95 MB, free: 216 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.232/1.232, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8643/0.8643, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 16 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001507/0.1468, allocations: 1.235 MB / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000389/0.1472, allocations: 164.4 kB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1473, allocations: 4 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.1473, allocations: 3.938 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.1473, allocations: 7.984 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1476, allocations: 35.89 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.312e-05/0.1476, allocations: 19.98 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.1477, allocations: 19.91 kB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.1478, allocations: 7.938 kB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.1478, allocations: 15.98 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1478, allocations: 7.938 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.1479, allocations: 43.89 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.1479, allocations: 3.984 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.148, allocations: 29.7 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.148, allocations: 39.92 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1481, allocations: 0 / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1481, allocations: 4 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1481, allocations: 0 / 0.5888 GB, free: 1.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004076/0.1485, allocations: 355.5 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1485, allocations: 12.02 kB / 0.5891 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1486, allocations: 4 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1487, allocations: 170.9 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1487, allocations: 4 kB / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.1487, allocations: 0 / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1489, allocations: 73.64 kB / 0.5894 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1489, allocations: 4 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1489, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1489, allocations: 0 / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1491, allocations: 59.95 kB / 0.5894 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1495, allocations: 284.7 kB / 0.5897 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1498, allocations: 62.53 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.15, allocations: 166.4 kB / 0.5899 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.15, allocations: 38.56 kB / 0.59 GB, free: 80 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.15, allocations: 4 kB / 0.59 GB, free: 76 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003916/0.1504, allocations: 113.5 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1505, allocations: 55.41 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.1505, allocations: 113.8 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1505, allocations: 25.7 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.1506, allocations: 84.2 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1506, allocations: 11.91 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1506, allocations: 0 / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.1507, allocations: 314.8 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.1508, allocations: 27.98 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.1509, allocations: 27.97 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.151, allocations: 23.98 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.151, allocations: 4 kB / 0.5907 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.1512, allocations: 85.5 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1513, allocations: 4 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1513, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1513, allocations: 3.938 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.1514, allocations: 15.98 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1514, allocations: 0 / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.1514, allocations: 15.98 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1514, allocations: 3.953 kB / 0.5909 GB, free: 15.11 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: 2 (rea2Int.y,bin.y) * 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 6.884e-05/0.1515, allocations: 109.8 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1515, allocations: 0 / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1518, allocations: 101.5 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1518, allocations: 0 / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1518, allocations: 0 / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1518, allocations: 7.984 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.152, allocations: 166 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.152, allocations: 0 / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.1521, allocations: 19.98 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1521, allocations: 3.938 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1521, allocations: 0 / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1521, allocations: 4 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1521, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1524, allocations: 187.4 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.1524, allocations: 81.09 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1524, allocations: 4 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.1525, allocations: 4 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1526, allocations: 15.92 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.1526, allocations: 0 / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.1526, allocations: 95.27 kB / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1526, allocations: 0 / 0.5916 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002265/0.1529, allocations: 12 kB / 0.5916 GB, free: 14.21 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: 2 (rea2Int.y,bin.y) * 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.0001476/0.153, allocations: 115.2 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.1532, allocations: 55.95 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1533, allocations: 4 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1534, allocations: 23.98 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.1535, allocations: 11.94 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.1538, allocations: 136.6 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.154, allocations: 0.6848 MB / 0.5926 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.1541, allocations: 11.98 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.1541, allocations: 7.438 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1541, allocations: 4 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.002649/0.1568, allocations: 0.8431 MB / 0.5935 GB, free: 12.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: