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: translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009293, allocations: 99.58 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 181.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8981/0.8981, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 12 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 82.32 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0006484/0.1553, allocations: 299.1 kB / 0.5889 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.1557, allocations: 115.7 kB / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.1557, allocations: 0 / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.1558, allocations: 0 / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.1558, allocations: 0 / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.156, allocations: 27.95 kB / 0.5891 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1561, allocations: 59.94 kB / 0.5891 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1562, allocations: 3.984 kB / 0.5891 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.1562, allocations: 23.98 kB / 0.5891 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.1563, allocations: 23.97 kB / 0.5892 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1563, allocations: 4 kB / 0.5892 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1564, allocations: 47.89 kB / 0.5892 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.1565, allocations: 19.97 kB / 0.5892 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.1565, allocations: 49.61 kB / 0.5893 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.337e-05/0.1566, allocations: 43.94 kB / 0.5893 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1566, allocations: 0 / 0.5893 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1566, allocations: 0 / 0.5893 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1567, allocations: 3.938 kB / 0.5893 GB, free: 1.902 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.0004415/0.1571, allocations: 359.5 kB / 0.5897 GB, free: 1.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1571, allocations: 15.97 kB / 0.5897 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.1572, allocations: 8.844 kB / 0.5897 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.1573, allocations: 164.6 kB / 0.5898 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.1575, allocations: 281.6 kB / 0.5901 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1576, allocations: 4.375 kB / 0.5901 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.1578, allocations: 78.2 kB / 0.5902 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1578, allocations: 3.938 kB / 0.5902 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1578, allocations: 0 / 0.5902 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1578, allocations: 4 kB / 0.5902 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.1582, allocations: 143.7 kB / 0.5903 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1584, allocations: 173.6 kB / 0.5905 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.1587, allocations: 90.53 kB / 0.5906 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1588, allocations: 45.16 kB / 0.5906 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1589, allocations: 7.938 kB / 0.5906 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1589, allocations: 34.56 kB / 0.5907 GB, free: 300 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1589, allocations: 4 kB / 0.5907 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006314/0.1595, allocations: 151.2 kB / 0.5908 GB, free: 140 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1596, allocations: 55.41 kB / 0.5909 GB, free: 72 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.771e-05/0.1596, allocations: 89.86 kB / 0.591 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1597, allocations: 29.7 kB / 0.591 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/0.1597, allocations: 80.14 kB / 0.5911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.1597, allocations: 31.55 kB / 0.5911 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1598, allocations: 17.72 kB / 0.5911 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.1599, allocations: 318.8 kB / 0.5914 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.16, allocations: 39.91 kB / 0.5915 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1601, allocations: 27.98 kB / 0.5915 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1604, allocations: 72.81 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1604, allocations: 0 / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003338/0.1608, allocations: 133.1 kB / 0.5917 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1608, allocations: 7.938 kB / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1608, allocations: 0 / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1608, allocations: 0 / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.161, allocations: 27.98 kB / 0.5917 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.161, allocations: 0 / 0.5917 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.161, allocations: 11.92 kB / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1611, allocations: 4 kB / 0.5917 GB, free: 15.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/0.1611, allocations: 117.8 kB / 0.5918 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.1612, allocations: 15.77 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.1612, allocations: 11.97 kB / 0.5919 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1612, allocations: 7.984 kB / 0.5919 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1612, allocations: 4 kB / 0.5919 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1612, allocations: 0 / 0.5919 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1614, allocations: 173.6 kB / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1614, allocations: 4 kB / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1615, allocations: 23.97 kB / 0.5921 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1615, allocations: 3.938 kB / 0.5921 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1615, allocations: 4 kB / 0.5921 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1615, allocations: 4 kB / 0.5921 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1615, allocations: 0 / 0.5921 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1619, allocations: 148.8 kB / 0.5922 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1619, allocations: 77.11 kB / 0.5923 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1619, allocations: 11.94 kB / 0.5923 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.162, allocations: 4 kB / 0.5923 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1621, allocations: 11.97 kB / 0.5923 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1621, allocations: 4 kB / 0.5923 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.1621, allocations: 80.94 kB / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1621, allocations: 0 / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.1623, allocations: 16 kB / 0.5924 GB, free: 14.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.1625, allocations: 123.2 kB / 0.5925 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1628, allocations: 87.81 kB / 0.5926 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1629, allocations: 0 / 0.5926 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.1631, allocations: 47.95 kB / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1632, allocations: 8 kB / 0.5927 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1636, allocations: 200.3 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1638, allocations: 0.6848 MB / 0.5935 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.1639, allocations: 19.42 kB / 0.5936 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 0 / 0.5936 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.002512/0.1664, allocations: 1.306 MB / 0.5948 GB, free: 11.82 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)