Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006865/0.006865, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001382/0.001382, allocations: 198.1 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8353/0.8353, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 0.5814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4816, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003035/0.4847, allocations: 1.53 MB / 0.6612 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005058/0.4853, allocations: 183.7 kB / 0.6613 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.4853, allocations: 1.281 kB / 0.6613 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.4854, allocations: 5.109 kB / 0.6614 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.4854, allocations: 1.312 kB / 0.6614 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.4858, allocations: 58.95 kB / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.4859, allocations: 35.67 kB / 0.6614 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.486, allocations: 12.14 kB / 0.6615 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.486, allocations: 15.38 kB / 0.6615 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.4861, allocations: 25.72 kB / 0.6615 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.4861, allocations: 4 kB / 0.6615 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.4863, allocations: 45.61 kB / 0.6615 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.4863, allocations: 2.922 kB / 0.6615 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.4864, allocations: 25.89 kB / 0.6616 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.4866, allocations: 60.61 kB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4866, allocations: 1.156 kB / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4866, allocations: 0 / 0.6616 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4866, allocations: 0 / 0.6616 GB, free: 9.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004944/0.4871, allocations: 365.6 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4872, allocations: 8.938 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.4872, allocations: 4.297 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.424e-05/0.4873, allocations: 167.1 kB / 0.6622 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4873, allocations: 6.938 kB / 0.6622 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.4873, allocations: 1.75 kB / 0.6622 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4875, allocations: 68.41 kB / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.4876, allocations: 192 / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4876, allocations: 7.938 kB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4876, allocations: 0 / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.4878, allocations: 40.84 kB / 0.6623 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.4881, allocations: 278.2 kB / 0.6625 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.4885, allocations: 60.28 kB / 0.6626 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.4887, allocations: 30.94 kB / 0.6626 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.4889, allocations: 173.3 kB / 0.6628 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.489, allocations: 36.42 kB / 0.6628 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.489, allocations: 0 / 0.6628 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.00045/0.4894, allocations: 98.73 kB / 0.6629 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.4895, allocations: 51.41 kB / 0.663 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.4895, allocations: 112.2 kB / 0.6631 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.4896, allocations: 25.7 kB / 0.6631 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.4896, allocations: 93.41 kB / 0.6632 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.4896, allocations: 9.25 kB / 0.6632 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.4896, allocations: 13.34 kB / 0.6632 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.4897, allocations: 320 kB / 0.6635 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.4898, allocations: 23.16 kB / 0.6635 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.4899, allocations: 15.05 kB / 0.6636 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.49, allocations: 50.91 kB / 0.6636 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.49, allocations: 0 / 0.6636 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001925/0.4902, allocations: 81.44 kB / 0.6637 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4903, allocations: 5.094 kB / 0.6637 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4903, allocations: 320 / 0.6637 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4903, allocations: 5.25 kB / 0.6637 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4904, allocations: 10.55 kB / 0.6637 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4904, allocations: 5.094 kB / 0.6637 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.876e-05/0.4905, allocations: 11.95 kB / 0.6637 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4905, allocations: 5.422 kB / 0.6637 GB, free: 6.996 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 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.4906, allocations: 115 kB / 0.6638 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.4906, allocations: 2.938 kB / 0.6638 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4909, allocations: 87.92 kB / 0.6639 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4909, allocations: 7.984 kB / 0.6639 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4909, allocations: 0 / 0.6639 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4909, allocations: 1.5 kB / 0.6639 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4911, allocations: 169.2 kB / 0.6641 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4911, allocations: 0 / 0.6641 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.4911, allocations: 11.83 kB / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4912, allocations: 0 / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4912, allocations: 1.594 kB / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4912, allocations: 0 / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4912, allocations: 0 / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.4914, allocations: 180.8 kB / 0.6643 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.4915, allocations: 81.11 kB / 0.6643 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4915, allocations: 1.031 kB / 0.6643 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4916, allocations: 7.828 kB / 0.6644 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.4917, allocations: 6.625 kB / 0.6644 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4917, allocations: 5.375 kB / 0.6644 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.4918, allocations: 97.39 kB / 0.6645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4918, allocations: 0 / 0.6645 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002561/0.492, allocations: 17.91 kB / 0.6645 GB, free: 6.211 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 (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.0001677/0.4922, allocations: 113.1 kB / 0.6646 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.4924, allocations: 45.42 kB / 0.6646 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4925, allocations: 5.094 kB / 0.6646 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.4926, allocations: 25.97 kB / 0.6647 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.4929, allocations: 10.53 kB / 0.6647 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.4932, allocations: 126 kB / 0.6648 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4934, allocations: 0.6786 MB / 0.6655 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.4934, allocations: 3.281 kB / 0.6655 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4934, allocations: 19.02 kB / 0.6655 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.4934, allocations: 0 / 0.6655 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.003321/0.4968, allocations: 0.956 MB / 0.6664 GB, free: 4.758 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)