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.001725/0.001726, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.00212/0.002121, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8099/0.8099, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.3 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.00251/0.1372, allocations: 1.521 MB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.1376, allocations: 184.1 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1377, allocations: 4 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.1377, allocations: 0 / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.1378, allocations: 7.938 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1381, allocations: 51.88 kB / 0.667 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.1382, allocations: 31.92 kB / 0.6671 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.1383, allocations: 15.98 kB / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.1383, allocations: 15.92 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.1383, allocations: 19.91 kB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1384, allocations: 8 kB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1385, allocations: 43.97 kB / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1385, allocations: 11.92 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.1385, allocations: 19.86 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1387, allocations: 67.84 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1387, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1387, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1387, allocations: 0 / 0.6673 GB, free: 3.785 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.0004586/0.1391, allocations: 363.3 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1392, allocations: 9.109 kB / 0.6676 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1392, allocations: 4.938 kB / 0.6676 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1393, allocations: 164.4 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1394, allocations: 4.375 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1394, allocations: 384 / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1396, allocations: 66.22 kB / 0.6678 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1396, allocations: 4.125 kB / 0.6678 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1396, allocations: 7.875 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1396, allocations: 0 / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1398, allocations: 47.95 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.1402, allocations: 280.7 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.1405, allocations: 62.47 kB / 0.6682 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1406, allocations: 32.89 kB / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.1408, allocations: 162.2 kB / 0.6684 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.1409, allocations: 30.56 kB / 0.6684 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1409, allocations: 4 kB / 0.6684 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000388/0.1413, allocations: 101.7 kB / 0.6685 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.1413, allocations: 55.41 kB / 0.6686 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.1414, allocations: 117.8 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1414, allocations: 29.7 kB / 0.6687 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.1415, allocations: 88.08 kB / 0.6688 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.1415, allocations: 3.906 kB / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1415, allocations: 17.72 kB / 0.6688 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1417, allocations: 318.8 kB / 0.6691 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.1418, allocations: 23.98 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.1419, allocations: 23.97 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.142, allocations: 40.83 kB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.142, allocations: 0 / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002099/0.1423, allocations: 73.64 kB / 0.6693 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1423, allocations: 10.19 kB / 0.6693 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1423, allocations: 4 kB / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1423, allocations: 0 / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.1424, allocations: 19.92 kB / 0.6693 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1424, allocations: 0 / 0.6693 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.1425, allocations: 4 kB / 0.6693 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1425, allocations: 3.984 kB / 0.6693 GB, free: 1.391 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.347e-05/0.1426, allocations: 113.8 kB / 0.6694 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1426, allocations: 3.906 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1429, allocations: 89.55 kB / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1429, allocations: 0 / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1429, allocations: 0 / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1429, allocations: 3.938 kB / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.143, allocations: 173.6 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1431, allocations: 0 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.1431, allocations: 15.92 kB / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1432, allocations: 0 / 0.6697 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1432, allocations: 4 kB / 0.6697 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1432, allocations: 4 kB / 0.6697 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1432, allocations: 0 / 0.6697 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1434, allocations: 171.4 kB / 0.6699 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1435, allocations: 84.95 kB / 0.67 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1435, allocations: 0 / 0.67 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.1436, allocations: 11.98 kB / 0.67 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1436, allocations: 8 kB / 0.67 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1437, allocations: 3.984 kB / 0.67 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.1437, allocations: 87.28 kB / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1437, allocations: 0 / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002353/0.1439, allocations: 12 kB / 0.6701 GB, free: 0.5156 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.0001667/0.1441, allocations: 120.5 kB / 0.6702 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.1444, allocations: 48.19 kB / 0.6703 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1444, allocations: 0 / 0.6703 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.1445, allocations: 28.06 kB / 0.6703 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.1447, allocations: 7.969 kB / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.145, allocations: 151.2 kB / 0.6704 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1453, allocations: 0.6807 MB / 0.6711 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.1453, allocations: 15.42 kB / 0.6711 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1453, allocations: 3.938 kB / 0.6711 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.002314/0.1476, allocations: 0.9712 MB / 0.6721 GB, free: 14.43 MB / 0.5137 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)