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.001097/0.001097, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001154/0.001154, allocations: 183 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.794/0.794, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1361, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00161/0.1378, allocations: 0.5719 MB / 0.6609 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.1381, allocations: 102.5 kB / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1382, allocations: 4 kB / 0.661 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1382, allocations: 3.938 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.1382, allocations: 0 / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1385, allocations: 39.88 kB / 0.6611 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.1387, allocations: 67.92 kB / 0.6611 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.1387, allocations: 12 kB / 0.6612 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.1387, allocations: 23.92 kB / 0.6612 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.1388, allocations: 19.97 kB / 0.6612 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1388, allocations: 7.984 kB / 0.6612 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1389, allocations: 47.95 kB / 0.6613 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.139, allocations: 19.98 kB / 0.6613 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.139, allocations: 19.91 kB / 0.6613 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1392, allocations: 79.77 kB / 0.6614 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1392, allocations: 3.938 kB / 0.6614 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1392, allocations: 0 / 0.6614 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1392, allocations: 0 / 0.6614 GB, free: 9.215 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.0004883/0.1397, allocations: 363.5 kB / 0.6617 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1397, allocations: 12.03 kB / 0.6617 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1398, allocations: 12.84 kB / 0.6617 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.1399, allocations: 164.3 kB / 0.6619 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.1401, allocations: 285.5 kB / 0.6622 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1402, allocations: 4.375 kB / 0.6622 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1404, allocations: 78.19 kB / 0.6622 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1404, allocations: 3.938 kB / 0.6623 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1405, allocations: 12 kB / 0.6623 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1405, allocations: 0 / 0.6623 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.1408, allocations: 131.8 kB / 0.6624 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.141, allocations: 181.6 kB / 0.6626 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1413, allocations: 102.5 kB / 0.6627 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1415, allocations: 40.83 kB / 0.6627 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1415, allocations: 3.984 kB / 0.6627 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1415, allocations: 34.56 kB / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1415, allocations: 0 / 0.6627 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005332/0.1421, allocations: 152 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1421, allocations: 59.41 kB / 0.6629 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.589e-05/0.1422, allocations: 89.86 kB / 0.663 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1422, allocations: 29.64 kB / 0.6631 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1422, allocations: 80.14 kB / 0.6631 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1423, allocations: 35.45 kB / 0.6632 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.1423, allocations: 29.7 kB / 0.6632 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.1424, allocations: 318.8 kB / 0.6635 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1426, allocations: 27.98 kB / 0.6635 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1427, allocations: 35.97 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.143, allocations: 72.81 kB / 0.6636 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.143, allocations: 0 / 0.6636 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003382/0.1434, allocations: 120.3 kB / 0.6637 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1434, allocations: 7.938 kB / 0.6637 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1434, allocations: 4 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1434, allocations: 0 / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1436, allocations: 27.91 kB / 0.6638 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1436, allocations: 0 / 0.6638 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.1437, allocations: 11.94 kB / 0.6638 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1437, allocations: 15.92 kB / 0.6638 GB, free: 6.438 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.598e-05/0.1438, allocations: 113.8 kB / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1438, allocations: 7.938 kB / 0.6639 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.1439, allocations: 7.969 kB / 0.6639 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1439, allocations: 0 / 0.6639 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1439, allocations: 3.984 kB / 0.6639 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1439, allocations: 0 / 0.6639 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.144, allocations: 181.5 kB / 0.6641 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.144, allocations: 4 kB / 0.6641 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1442, allocations: 23.92 kB / 0.6641 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1442, allocations: 7.938 kB / 0.6641 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1442, allocations: 7.984 kB / 0.6641 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1442, allocations: 0 / 0.6641 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1442, allocations: 0 / 0.6641 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1446, allocations: 137 kB / 0.6643 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.1446, allocations: 92.95 kB / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1447, allocations: 7.938 kB / 0.6644 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.1447, allocations: 8 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1448, allocations: 11.98 kB / 0.6644 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1448, allocations: 7.984 kB / 0.6644 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.585e-05/0.1448, allocations: 75.28 kB / 0.6645 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1448, allocations: 0 / 0.6645 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002288/0.1451, allocations: 24 kB / 0.6645 GB, free: 5.621 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.0001848/0.1453, allocations: 119.2 kB / 0.6646 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.1456, allocations: 91.88 kB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1456, allocations: 0 / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1458, allocations: 43.91 kB / 0.6647 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1459, allocations: 8 kB / 0.6647 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1463, allocations: 185 kB / 0.6649 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1465, allocations: 0.6885 MB / 0.6656 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1466, allocations: 19.42 kB / 0.6656 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1466, allocations: 4 kB / 0.6656 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.002671/0.1493, allocations: 1.318 MB / 0.6669 GB, free: 3.09 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)