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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 403.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 111.6 kB / 484.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009984/0.0009985, allocations: 63.89 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1472, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003354/0.1506, allocations: 1.586 MB / 0.6417 GB, free: 5.184 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.1512, allocations: 189.3 kB / 0.6419 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.1513, allocations: 0 / 0.6419 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.1513, allocations: 0 / 0.6419 GB, free: 4.996 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1514, allocations: 3.938 kB / 0.6419 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1516, allocations: 43.94 kB / 0.6419 GB, free: 4.949 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.1517, allocations: 39.86 kB / 0.642 GB, free: 4.91 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.1518, allocations: 8 kB / 0.642 GB, free: 4.902 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.1519, allocations: 11.98 kB / 0.642 GB, free: 4.891 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.1519, allocations: 27.84 kB / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1519, allocations: 0 / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1521, allocations: 39.97 kB / 0.6421 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.1521, allocations: 7.984 kB / 0.6421 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1521, allocations: 11.94 kB / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1523, allocations: 67.83 kB / 0.6422 GB, free: 4.738 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1523, allocations: 3.938 kB / 0.6422 GB, free: 4.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1523, allocations: 4 kB / 0.6422 GB, free: 4.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1523, allocations: 0 / 0.6422 GB, free: 4.73 MB / 442.7 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.0004915/0.1528, allocations: 351.7 kB / 0.6425 GB, free: 4.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1529, allocations: 16.02 kB / 0.6425 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1529, allocations: 4.844 kB / 0.6425 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1531, allocations: 168.3 kB / 0.6427 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1531, allocations: 384 / 0.6427 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1532, allocations: 12.38 kB / 0.6427 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.1534, allocations: 62.22 kB / 0.6427 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1534, allocations: 192 / 0.6427 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1535, allocations: 3.938 kB / 0.6427 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1535, allocations: 4 kB / 0.6428 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.1538, allocations: 43.95 kB / 0.6428 GB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.1543, allocations: 284.6 kB / 0.6431 GB, free: 3.656 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1547, allocations: 54.53 kB / 0.6431 GB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1549, allocations: 24.91 kB / 0.6431 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.1551, allocations: 174.2 kB / 0.6433 GB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1552, allocations: 34.56 kB / 0.6433 GB, free: 3.316 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 3.847e-06/0.1552, allocations: 3.984 kB / 0.6433 GB, free: 3.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005692/0.1558, allocations: 89.58 kB / 0.6434 GB, free: 3.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1558, allocations: 63.34 kB / 0.6435 GB, free: 3.145 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.156, allocations: 109.8 kB / 0.6436 GB, free: 3.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.156, allocations: 25.7 kB / 0.6436 GB, free: 2.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.156, allocations: 92.12 kB / 0.6437 GB, free: 2.902 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1561, allocations: 15.91 kB / 0.6437 GB, free: 2.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.1561, allocations: 17.72 kB / 0.6437 GB, free: 2.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1563, allocations: 318.8 kB / 0.644 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1564, allocations: 19.98 kB / 0.6441 GB, free: 2.523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1566, allocations: 15.98 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1568, allocations: 52.81 kB / 0.6441 GB, free: 2.453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1569, allocations: 3.938 kB / 0.6441 GB, free: 2.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000394/0.1573, allocations: 73.66 kB / 0.6442 GB, free: 2.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1573, allocations: 5.406 kB / 0.6442 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1573, allocations: 3.984 kB / 0.6442 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1573, allocations: 0 / 0.6442 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1575, allocations: 8 kB / 0.6442 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1575, allocations: 7.984 kB / 0.6442 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.1576, allocations: 4 kB / 0.6442 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1576, allocations: 4 kB / 0.6442 GB, free: 2.34 MB / 442.7 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 8.757e-05/0.1577, allocations: 115.1 kB / 0.6443 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.1578, allocations: 11.89 kB / 0.6444 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.1582, allocations: 81.48 kB / 0.6444 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1582, allocations: 4 kB / 0.6444 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1582, allocations: 4 kB / 0.6444 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1582, allocations: 0 / 0.6444 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1584, allocations: 169.6 kB / 0.6446 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1585, allocations: 0 / 0.6446 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1586, allocations: 11.98 kB / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1586, allocations: 0 / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1586, allocations: 0 / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1586, allocations: 0 / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1586, allocations: 0 / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.1594, allocations: 0.7473 MB / 0.6453 GB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1595, allocations: 77.53 kB / 0.6454 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1595, allocations: 0 / 0.6454 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1597, allocations: 7.984 kB / 0.6454 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.1598, allocations: 19.92 kB / 0.6454 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1598, allocations: 0 / 0.6454 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.1599, allocations: 87.28 kB / 0.6455 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.204e-06/0.1599, allocations: 0 / 0.6455 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006168/0.1605, allocations: 15.94 kB / 0.6455 GB, free: 0.8516 MB / 442.7 MB 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.0002252/0.1607, allocations: 123.2 kB / 0.6457 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.1611, allocations: 51.89 kB / 0.6457 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1611, allocations: 0 / 0.6457 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1613, allocations: 27.97 kB / 0.6457 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1617, allocations: 5.625 kB / 0.6457 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.1621, allocations: 233.9 kB / 0.646 GB, free: 380 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.1624, allocations: 0.6848 MB / 0.6466 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.664e-05/0.1624, allocations: 11.94 kB / 0.6466 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.1625, allocations: 11.42 kB / 0.6467 GB, free: 15.64 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1625, allocations: 0 / 0.6467 GB, free: 15.64 MB / 458.7 MB Notification: Performance of Templates: time 0.004506/0.167, allocations: 0.8918 MB / 0.6475 GB, free: 14.75 MB / 458.7 MB 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)