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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 183.2 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-master/package.mo): time 0.7246/0.7246, allocations: 133.4 MB / 150.1 MB, free: 11.18 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.473/1.473, allocations: 222.9 MB / 404.7 MB, free: 6.129 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.001078/0.001078, allocations: 107.5 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009797/0.0009798, allocations: 51.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1455, allocations: 80.43 MB / 0.6422 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002969/0.1485, allocations: 1.577 MB / 0.6437 GB, free: 3.863 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.1491, allocations: 188.2 kB / 0.6439 GB, free: 3.676 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.1492, allocations: 4 kB / 0.6439 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.1492, allocations: 0 / 0.6439 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.1493, allocations: 0 / 0.6439 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1496, allocations: 43.89 kB / 0.6439 GB, free: 3.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.1497, allocations: 39.86 kB / 0.644 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1498, allocations: 11.98 kB / 0.644 GB, free: 3.578 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.1498, allocations: 8 kB / 0.644 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.1499, allocations: 23.91 kB / 0.644 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1499, allocations: 4 kB / 0.644 GB, free: 3.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.15, allocations: 47.89 kB / 0.644 GB, free: 3.496 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.15, allocations: 7.938 kB / 0.6441 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.1501, allocations: 15.92 kB / 0.6441 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1502, allocations: 55.86 kB / 0.6441 GB, free: 3.418 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1502, allocations: 0 / 0.6441 GB, free: 3.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.041e-05/0.1502, allocations: 0 / 0.6441 GB, free: 3.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1503, allocations: 3.938 kB / 0.6441 GB, free: 3.414 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.0004947/0.1508, allocations: 367.7 kB / 0.6445 GB, free: 3.004 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1508, allocations: 12.03 kB / 0.6445 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1508, allocations: 4.844 kB / 0.6445 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.151, allocations: 168.4 kB / 0.6447 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.151, allocations: 384 / 0.6447 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.151, allocations: 8.312 kB / 0.6447 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.1512, allocations: 58.23 kB / 0.6447 GB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.1512, allocations: 192 / 0.6447 GB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1513, allocations: 3.938 kB / 0.6447 GB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1513, allocations: 0 / 0.6447 GB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1515, allocations: 51.95 kB / 0.6448 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.152, allocations: 284.6 kB / 0.645 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1524, allocations: 54.55 kB / 0.6451 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1525, allocations: 36.89 kB / 0.6451 GB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.1528, allocations: 166.2 kB / 0.6453 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.1528, allocations: 34.56 kB / 0.6453 GB, free: 1.988 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1528, allocations: 0 / 0.6453 GB, free: 1.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004183/0.1533, allocations: 97.56 kB / 0.6454 GB, free: 1.887 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1533, allocations: 51.41 kB / 0.6455 GB, free: 1.824 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1534, allocations: 117.8 kB / 0.6456 GB, free: 1.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1535, allocations: 25.7 kB / 0.6456 GB, free: 1.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.1535, allocations: 80.14 kB / 0.6457 GB, free: 1.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.1535, allocations: 15.97 kB / 0.6457 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1536, allocations: 17.7 kB / 0.6457 GB, free: 1.547 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1537, allocations: 322.7 kB / 0.646 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.1538, allocations: 23.97 kB / 0.646 GB, free: 1.199 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.1539, allocations: 15.98 kB / 0.6461 GB, free: 1.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1541, allocations: 48.81 kB / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1541, allocations: 0 / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002183/0.1543, allocations: 77.59 kB / 0.6462 GB, free: 1.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1544, allocations: 8 kB / 0.6462 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1544, allocations: 0 / 0.6462 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1544, allocations: 0 / 0.6462 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/0.1545, allocations: 11.98 kB / 0.6462 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1545, allocations: 0 / 0.6462 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.1546, allocations: 8.312 kB / 0.6462 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1546, allocations: 7.938 kB / 0.6462 GB, free: 1.016 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.858e-05/0.1547, allocations: 115.1 kB / 0.6463 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1547, allocations: 11.89 kB / 0.6463 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.155, allocations: 85.48 kB / 0.6464 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.155, allocations: 0 / 0.6464 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.155, allocations: 0 / 0.6464 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.155, allocations: 4 kB / 0.6464 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1552, allocations: 169.6 kB / 0.6466 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1552, allocations: 3.984 kB / 0.6466 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.1553, allocations: 4 kB / 0.6466 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1553, allocations: 8 kB / 0.6466 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1553, allocations: 3.984 kB / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1553, allocations: 0 / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1553, allocations: 0 / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.156, allocations: 0.7395 MB / 0.6473 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.156, allocations: 85.09 kB / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.156, allocations: 0 / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.1561, allocations: 4 kB / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.1562, allocations: 15.92 kB / 0.6474 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1562, allocations: 0 / 0.6474 GB, free: 15.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.1563, allocations: 87.27 kB / 0.6475 GB, free: 15.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1563, allocations: 0 / 0.6475 GB, free: 15.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.1566, allocations: 19.94 kB / 0.6475 GB, free: 15.53 MB / 458.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.0001809/0.1568, allocations: 123.2 kB / 0.6476 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.157, allocations: 47.89 kB / 0.6477 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.157, allocations: 0 / 0.6477 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1571, allocations: 23.97 kB / 0.6477 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1574, allocations: 9.656 kB / 0.6477 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.1578, allocations: 233.9 kB / 0.6479 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1581, allocations: 0.6809 MB / 0.6486 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.1581, allocations: 4 kB / 0.6486 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1581, allocations: 7.438 kB / 0.6486 GB, free: 14.33 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1582, allocations: 4 kB / 0.6486 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Templates: time 0.003065/0.1612, allocations: 0.9163 MB / 0.6495 GB, free: 13.41 MB / 458.7 MB 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)