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.001396/0.001403, allocations: 107.1 kB / 16.41 MB, free: 6.453 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.0016/0.0016, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.94 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002651/0.1413, allocations: 1.535 MB / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004586/0.1418, allocations: 184.2 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.1419, allocations: 0 / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1419, allocations: 3.938 kB / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.142, allocations: 3.938 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1423, allocations: 51.88 kB / 0.6621 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.1424, allocations: 35.91 kB / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.1425, allocations: 12 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.1426, allocations: 19.92 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.1426, allocations: 23.91 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1426, allocations: 4 kB / 0.6622 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1428, allocations: 47.95 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1428, allocations: 4 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1428, allocations: 19.86 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.143, allocations: 59.84 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.143, allocations: 8 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.143, allocations: 0 / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.143, allocations: 0 / 0.6623 GB, free: 8.27 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.0004954/0.1435, allocations: 359.4 kB / 0.6626 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1435, allocations: 8.031 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1436, allocations: 0.9375 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1437, allocations: 172.2 kB / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1437, allocations: 384 / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1438, allocations: 16.31 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.144, allocations: 66.16 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.144, allocations: 192 / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.144, allocations: 7.922 kB / 0.6629 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.144, allocations: 4 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1442, allocations: 43.95 kB / 0.6629 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1446, allocations: 284.7 kB / 0.6632 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.145, allocations: 54.55 kB / 0.6633 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1451, allocations: 28.89 kB / 0.6633 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.1453, allocations: 166.3 kB / 0.6634 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1453, allocations: 30.56 kB / 0.6635 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1453, allocations: 4 kB / 0.6635 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004039/0.1458, allocations: 101.5 kB / 0.6636 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1458, allocations: 55.41 kB / 0.6636 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.1459, allocations: 109.8 kB / 0.6637 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1459, allocations: 25.7 kB / 0.6638 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.146, allocations: 88.14 kB / 0.6638 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.146, allocations: 7.906 kB / 0.6638 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.146, allocations: 21.7 kB / 0.6639 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1461, allocations: 314.8 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.946e-05/0.1462, allocations: 19.98 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1463, allocations: 19.97 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1465, allocations: 52.75 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1465, allocations: 0 / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002134/0.1467, allocations: 73.66 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1467, allocations: 4 kB / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1467, allocations: 0 / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1468, allocations: 0 / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.1468, allocations: 11.98 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1469, allocations: 4 kB / 0.6643 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.1469, allocations: 15.89 kB / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1469, allocations: 4 kB / 0.6644 GB, free: 5.875 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 7.914e-05/0.147, allocations: 113.8 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1471, allocations: 4 kB / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.1473, allocations: 81.48 kB / 0.6646 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1474, allocations: 7.938 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1474, allocations: 0 / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1474, allocations: 4.375 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1475, allocations: 169.6 kB / 0.6647 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1475, allocations: 0 / 0.6647 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.1476, allocations: 11.98 kB / 0.6647 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1476, allocations: 0 / 0.6647 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1477, allocations: 3.938 kB / 0.6647 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1477, allocations: 0 / 0.6647 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1477, allocations: 3.984 kB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1479, allocations: 187.3 kB / 0.6649 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.148, allocations: 85.05 kB / 0.665 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.148, allocations: 0 / 0.665 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.1481, allocations: 7.984 kB / 0.665 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1482, allocations: 7.984 kB / 0.665 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1482, allocations: 4 kB / 0.665 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.1482, allocations: 79.28 kB / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1482, allocations: 0 / 0.6651 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.1485, allocations: 24 kB / 0.6651 GB, free: 4.984 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.0001805/0.1487, allocations: 111.2 kB / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1489, allocations: 47.95 kB / 0.6653 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1489, allocations: 0 / 0.6653 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.149, allocations: 27.91 kB / 0.6653 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1493, allocations: 14.33 kB / 0.6653 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.1496, allocations: 143.2 kB / 0.6655 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.1499, allocations: 0.6845 MB / 0.6661 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1499, allocations: 11.44 kB / 0.6661 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1499, allocations: 0 / 0.6661 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.002452/0.1524, allocations: 0.9854 MB / 0.6671 GB, free: 2.906 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)