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.00147/0.00147, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001664/0.001664, allocations: 191 kB / 17.29 MB, free: 5.516 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001588/0.3561, allocations: 0.5771 MB / 0.5821 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000334/0.3565, allocations: 100.1 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.3565, allocations: 1.656 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.3565, allocations: 0.625 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.3565, allocations: 0 / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.3569, allocations: 41.23 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.357, allocations: 62.97 kB / 0.5823 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.357, allocations: 9.141 kB / 0.5823 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.3571, allocations: 25.5 kB / 0.5823 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.3571, allocations: 21 kB / 0.5823 GB, free: 27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3571, allocations: 6.5 kB / 0.5823 GB, free: 27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3572, allocations: 47.08 kB / 0.5824 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.3573, allocations: 21 kB / 0.5824 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.3573, allocations: 22.22 kB / 0.5824 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3574, allocations: 66.91 kB / 0.5825 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3575, allocations: 4 kB / 0.5825 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3575, allocations: 0.5 kB / 0.5825 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3575, allocations: 1.125 kB / 0.5825 GB, free: 26.91 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000383/0.3579, allocations: 372 kB / 0.5828 GB, free: 26.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3579, allocations: 14.44 kB / 0.5828 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3579, allocations: 5.75 kB / 0.5828 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.238e-05/0.358, allocations: 172.6 kB / 0.583 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.3582, allocations: 283.6 kB / 0.5833 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3582, allocations: 12.55 kB / 0.5833 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3584, allocations: 73.83 kB / 0.5834 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3585, allocations: 7.922 kB / 0.5834 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3585, allocations: 9.219 kB / 0.5834 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3585, allocations: 2.375 kB / 0.5834 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.3588, allocations: 128.4 kB / 0.5835 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.3589, allocations: 182.8 kB / 0.5837 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3592, allocations: 100.2 kB / 0.5838 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3593, allocations: 41.06 kB / 0.5838 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3594, allocations: 10.58 kB / 0.5838 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3594, allocations: 36.28 kB / 0.5839 GB, free: 25.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.3594, allocations: 2.188 kB / 0.5839 GB, free: 25.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004569/0.3598, allocations: 151.3 kB / 0.584 GB, free: 25.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.3599, allocations: 53.03 kB / 0.5841 GB, free: 25.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.137e-05/0.3599, allocations: 89.86 kB / 0.5841 GB, free: 25.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3599, allocations: 27.39 kB / 0.5842 GB, free: 25.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.075e-05/0.3599, allocations: 80.92 kB / 0.5842 GB, free: 25.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.36, allocations: 32.75 kB / 0.5843 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.36, allocations: 36.34 kB / 0.5843 GB, free: 25.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.3601, allocations: 312.1 kB / 0.5846 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3602, allocations: 38.34 kB / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3603, allocations: 31.34 kB / 0.5847 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3606, allocations: 75.47 kB / 0.5847 GB, free: 24.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3606, allocations: 3.984 kB / 0.5848 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000277/0.3609, allocations: 114.2 kB / 0.5849 GB, free: 24.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3609, allocations: 12.28 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3609, allocations: 3.031 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3609, allocations: 0 / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3611, allocations: 21.45 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3611, allocations: 0 / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.3611, allocations: 12.08 kB / 0.5849 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3612, allocations: 8.344 kB / 0.5849 GB, free: 24.63 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.3612, allocations: 115.8 kB / 0.585 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.3613, allocations: 9.438 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.3613, allocations: 8.562 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3613, allocations: 2.219 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3613, allocations: 5.312 kB / 0.585 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3613, allocations: 0.6875 kB / 0.585 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3614, allocations: 179.7 kB / 0.5852 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3614, allocations: 1.562 kB / 0.5852 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3616, allocations: 26.12 kB / 0.5852 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3616, allocations: 3.938 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3616, allocations: 10.59 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3616, allocations: 0.625 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3616, allocations: 0 / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.3619, allocations: 150.5 kB / 0.5854 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.3619, allocations: 79.14 kB / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.362, allocations: 18.81 kB / 0.5855 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.393e-05/0.362, allocations: 7.266 kB / 0.5855 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.3621, allocations: 13.36 kB / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3621, allocations: 2.5 kB / 0.5855 GB, free: 24.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.503e-05/0.3621, allocations: 79.97 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3622, allocations: 0 / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.3624, allocations: 21.5 kB / 0.5856 GB, free: 23.95 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: 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 (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.0001858/0.3626, allocations: 112.1 kB / 0.5857 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.3629, allocations: 93.5 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3629, allocations: 0 / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3631, allocations: 47.92 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3632, allocations: 6.781 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.3636, allocations: 161.2 kB / 0.586 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3637, allocations: 0.6872 MB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3639, allocations: 40.39 kB / 0.5867 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3639, allocations: 18.09 kB / 0.5867 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3639, allocations: 0 / 0.5867 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002938/0.3669, allocations: 1.007 MB / 0.5877 GB, free: 22.46 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)