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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001018/0.001018, allocations: 107 kB / 16.41 MB, free: 6.473 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.001036/0.001036, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.12 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.143, allocations: 80.22 MB / 0.6604 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001868/0.1449, allocations: 0.5681 MB / 0.6609 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.1454, allocations: 114.5 kB / 0.661 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1454, allocations: 3.938 kB / 0.661 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.1455, allocations: 4 kB / 0.661 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.1455, allocations: 0 / 0.661 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1459, allocations: 31.91 kB / 0.6611 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1461, allocations: 67.92 kB / 0.6611 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1461, allocations: 8 kB / 0.6611 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1462, allocations: 23.92 kB / 0.6612 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.1462, allocations: 23.95 kB / 0.6612 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1463, allocations: 4 kB / 0.6612 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.1464, allocations: 51.95 kB / 0.6612 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.1465, allocations: 19.97 kB / 0.6613 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.1465, allocations: 23.91 kB / 0.6613 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1467, allocations: 75.78 kB / 0.6614 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1467, allocations: 0 / 0.6614 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.053e-06/0.1467, allocations: 0 / 0.6614 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.1467, allocations: 0 / 0.6614 GB, free: 9.34 MB / 0.4981 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.0005343/0.1473, allocations: 367.5 kB / 0.6617 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1473, allocations: 12.03 kB / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.1474, allocations: 8.844 kB / 0.6617 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.1475, allocations: 168.3 kB / 0.6619 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.1477, allocations: 289.6 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1478, allocations: 384 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.148, allocations: 74.2 kB / 0.6622 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1481, allocations: 7.875 kB / 0.6622 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1481, allocations: 8 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1481, allocations: 0 / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.1485, allocations: 135.8 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1486, allocations: 173.6 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.149, allocations: 102.5 kB / 0.6626 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1491, allocations: 43.12 kB / 0.6627 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1492, allocations: 3.984 kB / 0.6627 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1492, allocations: 34.56 kB / 0.6627 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.1492, allocations: 0 / 0.6627 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005625/0.1498, allocations: 149.8 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1498, allocations: 55.41 kB / 0.6629 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.1499, allocations: 101.8 kB / 0.663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1499, allocations: 25.7 kB / 0.663 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.15, allocations: 80.14 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.15, allocations: 35.47 kB / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.1501, allocations: 25.7 kB / 0.6632 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1502, allocations: 322.8 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1503, allocations: 27.97 kB / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1505, allocations: 31.98 kB / 0.6635 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.1507, allocations: 76.09 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1508, allocations: 4 kB / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003335/0.1511, allocations: 113.5 kB / 0.6637 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1511, allocations: 17.48 kB / 0.6637 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1511, allocations: 0 / 0.6637 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1512, allocations: 0 / 0.6637 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1513, allocations: 23.92 kB / 0.6638 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1513, allocations: 0 / 0.6638 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.1514, allocations: 15.92 kB / 0.6638 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1514, allocations: 4 kB / 0.6638 GB, free: 6.574 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 8.4e-05/0.1515, allocations: 117.8 kB / 0.6639 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1515, allocations: 11.92 kB / 0.6639 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1516, allocations: 7.969 kB / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1516, allocations: 0 / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1516, allocations: 0 / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1516, allocations: 0 / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1518, allocations: 181.5 kB / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1518, allocations: 0 / 0.6641 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1519, allocations: 35.91 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1519, allocations: 15.88 kB / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1519, allocations: 0 / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1519, allocations: 0 / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1519, allocations: 0 / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.1523, allocations: 145 kB / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1524, allocations: 84.95 kB / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1524, allocations: 3.938 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.1525, allocations: 8 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1525, allocations: 15.97 kB / 0.6644 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1525, allocations: 4 kB / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.575e-05/0.1526, allocations: 75.28 kB / 0.6645 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.273e-06/0.1526, allocations: 0 / 0.6645 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.1528, allocations: 27.94 kB / 0.6645 GB, free: 5.746 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.0001992/0.153, allocations: 111.2 kB / 0.6646 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1534, allocations: 95.88 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1534, allocations: 0 / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1536, allocations: 51.89 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1537, allocations: 4 kB / 0.6647 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.1542, allocations: 189.4 kB / 0.6649 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1544, allocations: 0.6846 MB / 0.6656 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.1545, allocations: 19.42 kB / 0.6656 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1545, allocations: 0 / 0.6656 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.003062/0.1576, allocations: 1.326 MB / 0.6669 GB, free: 3.211 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)