Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008756/0.0008755, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6547/0.6547, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 12 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3431, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.0005566/0.3437, allocations: 318.3 kB / 0.5834 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002849/0.344, allocations: 98.58 kB / 0.5835 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.344, allocations: 0 / 0.5835 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.344, allocations: 0 / 0.5835 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.344, allocations: 1.438 kB / 0.5835 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.3443, allocations: 23.36 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3444, allocations: 61.88 kB / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.3444, allocations: 2.016 kB / 0.5836 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/0.3445, allocations: 22.38 kB / 0.5836 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.3445, allocations: 28.53 kB / 0.5836 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3445, allocations: 2.281 kB / 0.5836 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.803e-05/0.3446, allocations: 47.25 kB / 0.5837 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.3447, allocations: 21.97 kB / 0.5837 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.3447, allocations: 35.05 kB / 0.5837 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.57e-05/0.3448, allocations: 35.92 kB / 0.5838 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3448, allocations: 0 / 0.5838 GB, free: 3.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3448, allocations: 1.766 kB / 0.5838 GB, free: 3.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.3448, allocations: 0 / 0.5838 GB, free: 3.602 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000325/0.3451, allocations: 351.5 kB / 0.5841 GB, free: 3.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3452, allocations: 9.359 kB / 0.5841 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.3452, allocations: 9.719 kB / 0.5841 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.609e-05/0.3453, allocations: 174.3 kB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.3454, allocations: 280.6 kB / 0.5845 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3455, allocations: 6.781 kB / 0.5846 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3457, allocations: 80.14 kB / 0.5846 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.3457, allocations: 3.938 kB / 0.5846 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3457, allocations: 4.859 kB / 0.5846 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3457, allocations: 1.969 kB / 0.5846 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.346, allocations: 137 kB / 0.5848 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.3462, allocations: 187.5 kB / 0.5849 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3464, allocations: 88.55 kB / 0.585 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.3466, allocations: 45.56 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3466, allocations: 1.531 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.3466, allocations: 32.73 kB / 0.5851 GB, free: 2.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3466, allocations: 0 / 0.5851 GB, free: 2.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004515/0.3471, allocations: 154 kB / 0.5853 GB, free: 2.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.3471, allocations: 53.97 kB / 0.5853 GB, free: 2.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.627e-05/0.3471, allocations: 93.86 kB / 0.5854 GB, free: 2.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.3471, allocations: 26.83 kB / 0.5854 GB, free: 2.074 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-06/0.3471, allocations: 80.33 kB / 0.5855 GB, free: 1.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3472, allocations: 36.19 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/0.3472, allocations: 4 kB / 0.5855 GB, free: 1.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.3472, allocations: 318.6 kB / 0.5858 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3474, allocations: 32.28 kB / 0.5859 GB, free: 1.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.3475, allocations: 33.55 kB / 0.5859 GB, free: 1.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3476, allocations: 38.36 kB / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3476, allocations: 0 / 0.5859 GB, free: 1.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002779/0.3479, allocations: 112.1 kB / 0.586 GB, free: 1.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3479, allocations: 6.375 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3479, allocations: 0 / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3479, allocations: 0.6562 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3481, allocations: 27.58 kB / 0.5861 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3481, allocations: 1.031 kB / 0.5861 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.3481, allocations: 9.453 kB / 0.5861 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3482, allocations: 4.578 kB / 0.5861 GB, free: 1.559 MB / 430.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.3482, allocations: 120.3 kB / 0.5862 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.3482, allocations: 6.281 kB / 0.5862 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.3483, allocations: 12.72 kB / 0.5862 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3483, allocations: 1.438 kB / 0.5862 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3483, allocations: 0.6562 kB / 0.5862 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3483, allocations: 0.5625 kB / 0.5862 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.3484, allocations: 189 kB / 0.5864 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3484, allocations: 9 kB / 0.5864 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3485, allocations: 22.41 kB / 0.5864 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3485, allocations: 8.719 kB / 0.5864 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3485, allocations: 4 kB / 0.5865 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3485, allocations: 0.5625 kB / 0.5865 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3485, allocations: 0.9375 kB / 0.5865 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3488, allocations: 143.8 kB / 0.5866 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.3489, allocations: 84.08 kB / 0.5867 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3489, allocations: 1.469 kB / 0.5867 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.3489, allocations: 7.844 kB / 0.5867 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.349, allocations: 15.56 kB / 0.5867 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.349, allocations: 4.734 kB / 0.5867 GB, free: 1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.487e-06/0.349, allocations: 75.28 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.349, allocations: 0 / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3492, allocations: 29.72 kB / 0.5868 GB, free: 0.9141 MB / 430.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.3494, allocations: 118.3 kB / 0.5869 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.3497, allocations: 79.47 kB / 0.587 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3497, allocations: 3.938 kB / 0.587 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3498, allocations: 46.55 kB / 0.587 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.35, allocations: 6.406 kB / 0.587 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.3503, allocations: 183.7 kB / 0.5872 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3504, allocations: 0.6847 MB / 0.5879 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.3505, allocations: 38.58 kB / 0.5879 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3506, allocations: 19.97 kB / 0.5879 GB, free: 15.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3506, allocations: 3.938 kB / 0.5879 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002782/0.3534, allocations: 0.9348 MB / 0.5889 GB, free: 15.83 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)