Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001171/0.001171, allocations: 100.1 kB / 15.88 MB, free: 12 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.00115/0.00115, allocations: 202 kB / 16.79 MB, free: 6.828 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9587/0.9587, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.7 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1416, allocations: 80.93 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002539/0.1442, allocations: 1.591 MB / 0.5859 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.1446, allocations: 180.3 kB / 0.5861 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1447, allocations: 0 / 0.5861 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.1447, allocations: 4 kB / 0.5861 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.935e-05/0.1448, allocations: 3.938 kB / 0.5861 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.145, allocations: 39.95 kB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.1451, allocations: 31.86 kB / 0.5861 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.1452, allocations: 15.98 kB / 0.5862 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.1452, allocations: 11.98 kB / 0.5862 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.1452, allocations: 19.91 kB / 0.5862 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1453, allocations: 7.938 kB / 0.5862 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.1454, allocations: 43.97 kB / 0.5862 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1454, allocations: 7.984 kB / 0.5862 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.1454, allocations: 19.92 kB / 0.5863 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.1455, allocations: 39.92 kB / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1455, allocations: 0 / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1455, allocations: 3.938 kB / 0.5863 GB, free: 2.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1455, allocations: 0 / 0.5863 GB, free: 2.973 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004431/0.146, allocations: 355.7 kB / 0.5866 GB, free: 2.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.146, allocations: 8.031 kB / 0.5867 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1461, allocations: 12.84 kB / 0.5867 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1462, allocations: 168.3 kB / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1462, allocations: 384 / 0.5868 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.1462, allocations: 8.375 kB / 0.5868 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1464, allocations: 54.23 kB / 0.5869 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1465, allocations: 192 / 0.5869 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1465, allocations: 11.94 kB / 0.5869 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1465, allocations: 0 / 0.5869 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1467, allocations: 47.95 kB / 0.5869 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.147, allocations: 284.6 kB / 0.5872 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1474, allocations: 58.52 kB / 0.5873 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1475, allocations: 28.91 kB / 0.5873 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.1477, allocations: 170.2 kB / 0.5875 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1477, allocations: 30.56 kB / 0.5875 GB, free: 1.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1477, allocations: 0 / 0.5875 GB, free: 1.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003719/0.1481, allocations: 101.5 kB / 0.5876 GB, free: 1.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1482, allocations: 59.41 kB / 0.5876 GB, free: 1.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.1482, allocations: 105.9 kB / 0.5877 GB, free: 1.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1483, allocations: 25.7 kB / 0.5878 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1483, allocations: 96.03 kB / 0.5879 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.1483, allocations: 0 / 0.5879 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1484, allocations: 25.64 kB / 0.5879 GB, free: 1.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.1485, allocations: 314.8 kB / 0.5882 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.934e-05/0.1486, allocations: 23.97 kB / 0.5882 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.1487, allocations: 19.98 kB / 0.5882 GB, free: 0.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1489, allocations: 48.75 kB / 0.5883 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1489, allocations: 0 / 0.5883 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002323/0.1491, allocations: 77.56 kB / 0.5883 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1491, allocations: 6.344 kB / 0.5884 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1491, allocations: 0 / 0.5884 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1492, allocations: 8 kB / 0.5884 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.1492, allocations: 7.984 kB / 0.5884 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1493, allocations: 4 kB / 0.5884 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.1493, allocations: 7.984 kB / 0.5884 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.1493, allocations: 0 / 0.5884 GB, free: 0.5859 MB / 494.1 MB 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.084e-05/0.1494, allocations: 113.8 kB / 0.5885 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1494, allocations: 4 kB / 0.5885 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1497, allocations: 93.48 kB / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1497, allocations: 0 / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1497, allocations: 0 / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1498, allocations: 0 / 0.5886 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1499, allocations: 177.5 kB / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1499, allocations: 0 / 0.5887 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.15, allocations: 11.98 kB / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.15, allocations: 0 / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.15, allocations: 0 / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.15, allocations: 4 kB / 0.5888 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1501, allocations: 320 / 0.5888 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1503, allocations: 179.9 kB / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1504, allocations: 85.09 kB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1504, allocations: 0 / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1505, allocations: 4 kB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1505, allocations: 11.98 kB / 0.589 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1506, allocations: 0 / 0.589 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.1506, allocations: 91.25 kB / 0.5891 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 0 / 0.5891 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002584/0.1509, allocations: 23.83 kB / 0.5891 GB, free: 15.7 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.0001561/0.151, allocations: 119.2 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1513, allocations: 47.95 kB / 0.5893 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1513, allocations: 0 / 0.5893 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1514, allocations: 23.92 kB / 0.5893 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1517, allocations: 15.86 kB / 0.5893 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.152, allocations: 156.9 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1522, allocations: 0.6809 MB / 0.5902 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1523, allocations: 15.44 kB / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1523, allocations: 0 / 0.5902 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.002193/0.1545, allocations: 0.9605 MB / 0.5911 GB, free: 13.62 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)