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.0009086/0.0009086, allocations: 99.5 kB / 16.02 MB, free: 76 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.0009837/0.0009837, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8817/0.8817, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001805/0.141, allocations: 1.245 MB / 0.5898 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.1415, allocations: 184.3 kB / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.1415, allocations: 0 / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1415, allocations: 0 / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.1416, allocations: 0 / 0.59 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1418, allocations: 43.89 kB / 0.59 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.1419, allocations: 35.86 kB / 0.5901 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.142, allocations: 19.92 kB / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.142, allocations: 7.984 kB / 0.5901 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.142, allocations: 19.92 kB / 0.5901 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1421, allocations: 7.938 kB / 0.5901 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.1422, allocations: 43.95 kB / 0.5902 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1422, allocations: 3.984 kB / 0.5902 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.1422, allocations: 37.64 kB / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.325e-05/0.1423, allocations: 39.92 kB / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1423, allocations: 0 / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1423, allocations: 3.938 kB / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1423, allocations: 0 / 0.5903 GB, free: 0.8984 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.000439/0.1428, allocations: 363.7 kB / 0.5906 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1428, allocations: 8.031 kB / 0.5906 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.1429, allocations: 0.9375 kB / 0.5906 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.143, allocations: 168.3 kB / 0.5908 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.143, allocations: 384 / 0.5908 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.143, allocations: 12.31 kB / 0.5908 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1432, allocations: 66.22 kB / 0.5909 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1432, allocations: 4.188 kB / 0.5909 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1433, allocations: 7.938 kB / 0.5909 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1433, allocations: 0 / 0.5909 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.1435, allocations: 51.95 kB / 0.5909 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.1439, allocations: 292.6 kB / 0.5912 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.1442, allocations: 58.53 kB / 0.5912 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1443, allocations: 36.89 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.1445, allocations: 170.2 kB / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1446, allocations: 30.56 kB / 0.5915 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1446, allocations: 4 kB / 0.5915 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000401/0.145, allocations: 109.6 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.145, allocations: 59.41 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.1451, allocations: 106.1 kB / 0.5917 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1451, allocations: 25.7 kB / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1452, allocations: 92.14 kB / 0.5919 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1452, allocations: 7.969 kB / 0.5919 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.1452, allocations: 13.66 kB / 0.5919 GB, free: 15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1453, allocations: 326.8 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-05/0.1454, allocations: 19.98 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.1455, allocations: 27.97 kB / 0.5922 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1457, allocations: 52.83 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1457, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002441/0.146, allocations: 101.5 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.146, allocations: 4 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.146, allocations: 3.938 kB / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.146, allocations: 0 / 0.5924 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.1461, allocations: 15.98 kB / 0.5924 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1461, allocations: 4.062 kB / 0.5924 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.1462, allocations: 8 kB / 0.5924 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1462, allocations: 7.984 kB / 0.5924 GB, free: 14.42 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.098e-05/0.1463, allocations: 113.8 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1463, allocations: 4 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.1466, allocations: 101.5 kB / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1466, allocations: 0 / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1466, allocations: 0 / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1466, allocations: 0 / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1468, allocations: 169.6 kB / 0.5928 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1468, allocations: 0 / 0.5928 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.1469, allocations: 15.98 kB / 0.5928 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1469, allocations: 0 / 0.5928 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1469, allocations: 4 kB / 0.5928 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1469, allocations: 0 / 0.5928 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1469, allocations: 0 / 0.5928 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1472, allocations: 191.7 kB / 0.593 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.1473, allocations: 81.14 kB / 0.5931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1473, allocations: 4 kB / 0.5931 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.1474, allocations: 11.98 kB / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1474, allocations: 11.92 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1474, allocations: 0 / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.1475, allocations: 83.28 kB / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 0 / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002465/0.1477, allocations: 19.94 kB / 0.5932 GB, free: 13.52 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.0001572/0.1479, allocations: 119.2 kB / 0.5933 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1482, allocations: 51.95 kB / 0.5934 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1482, allocations: 0 / 0.5934 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1483, allocations: 35.97 kB / 0.5934 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1486, allocations: 15.88 kB / 0.5934 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.1489, allocations: 158.2 kB / 0.5936 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1491, allocations: 0.6848 MB / 0.5942 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1491, allocations: 7.438 kB / 0.5942 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1491, allocations: 0 / 0.5942 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002258/0.1514, allocations: 0.9599 MB / 0.5952 GB, free: 11.43 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)