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.001107/0.001113, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.00109/0.00109, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.348/1.348, 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.8002/0.8002, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 63.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002275/0.3478, allocations: 1.527 MB / 0.5872 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003703/0.3482, allocations: 182 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.3482, allocations: 0 / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.3483, allocations: 8.578 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.3483, allocations: 5.812 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3486, allocations: 54.94 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.3487, allocations: 34.95 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.3488, allocations: 12.19 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.3488, allocations: 16.47 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.3488, allocations: 23.23 kB / 0.5876 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3489, allocations: 3.906 kB / 0.5876 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.349, allocations: 47.36 kB / 0.5876 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.349, allocations: 13.02 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.349, allocations: 15.98 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3491, allocations: 66.12 kB / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3491, allocations: 0 / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3492, allocations: 2.25 kB / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3492, allocations: 0 / 0.5877 GB, free: 24.11 MB / 446.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.0003524/0.3495, allocations: 356.3 kB / 0.588 GB, free: 23.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3496, allocations: 10.64 kB / 0.5881 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.3496, allocations: 7.938 kB / 0.5881 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.3497, allocations: 177.7 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.3497, allocations: 3.844 kB / 0.5882 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3497, allocations: 5.75 kB / 0.5882 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3499, allocations: 57.2 kB / 0.5883 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3499, allocations: 192 / 0.5883 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3499, allocations: 12.83 kB / 0.5883 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3499, allocations: 1.094 kB / 0.5883 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3501, allocations: 41.67 kB / 0.5884 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.3504, allocations: 291.3 kB / 0.5886 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.3507, allocations: 56.53 kB / 0.5887 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.3508, allocations: 25.44 kB / 0.5887 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.351, allocations: 172.6 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.351, allocations: 33.28 kB / 0.5889 GB, free: 22.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.351, allocations: 0 / 0.5889 GB, free: 22.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003295/0.3513, allocations: 96.09 kB / 0.589 GB, free: 22.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.522e-05/0.3513, allocations: 52.28 kB / 0.589 GB, free: 22.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.3514, allocations: 112.4 kB / 0.5892 GB, free: 22.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.3514, allocations: 30.58 kB / 0.5892 GB, free: 22.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.3515, allocations: 90.95 kB / 0.5893 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.3515, allocations: 6.031 kB / 0.5893 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.3515, allocations: 17.11 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.3516, allocations: 321.8 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.3517, allocations: 22.88 kB / 0.5896 GB, free: 22.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3517, allocations: 14.08 kB / 0.5896 GB, free: 22.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3519, allocations: 52.84 kB / 0.5897 GB, free: 22.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3519, allocations: 0.7188 kB / 0.5897 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001904/0.3521, allocations: 74.94 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3521, allocations: 5.406 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3521, allocations: 0 / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3521, allocations: 0.7812 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.3522, allocations: 12.11 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3522, allocations: 3.688 kB / 0.5898 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.3523, allocations: 11.8 kB / 0.5898 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3523, allocations: 1.5 kB / 0.5898 GB, free: 22.02 MB / 446.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 4.686e-05/0.3524, allocations: 117.3 kB / 0.5899 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3524, allocations: 5.469 kB / 0.5899 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3526, allocations: 84.48 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3526, allocations: 1.406 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3527, allocations: 0.5938 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3527, allocations: 2.344 kB / 0.59 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3528, allocations: 173.1 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3528, allocations: 1.469 kB / 0.5902 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.3529, allocations: 10.27 kB / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3529, allocations: 1.188 kB / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3529, allocations: 6.656 kB / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3529, allocations: 0 / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3529, allocations: 0 / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.3531, allocations: 182.1 kB / 0.5903 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3531, allocations: 82.78 kB / 0.5904 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.3532, allocations: 0.7812 kB / 0.5904 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.3533, allocations: 4.625 kB / 0.5904 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3533, allocations: 10.73 kB / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3533, allocations: 2.969 kB / 0.5904 GB, free: 21.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.3534, allocations: 92.89 kB / 0.5905 GB, free: 21.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3534, allocations: 1.062 kB / 0.5905 GB, free: 21.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3536, allocations: 20.72 kB / 0.5906 GB, free: 21.25 MB / 446.1 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.0001423/0.3538, allocations: 119.5 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.354, allocations: 46.05 kB / 0.5907 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.354, allocations: 2.438 kB / 0.5907 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.3541, allocations: 26.05 kB / 0.5907 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3544, allocations: 13.59 kB / 0.5908 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.3547, allocations: 119.6 kB / 0.5909 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3548, allocations: 0.6787 MB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.128e-05/0.3549, allocations: 5.406 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3549, allocations: 11.03 kB / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3549, allocations: 0 / 0.5915 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Templates: time 0.003359/0.3583, allocations: 0.9736 MB / 0.5925 GB, free: 19.43 MB / 446.1 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)