Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001081/0.001081, allocations: 103.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.0009898/0.0009899, allocations: 193.3 kB / 17.3 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 80.19 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002364/0.3722, allocations: 1.521 MB / 0.583 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000402/0.3726, allocations: 183.6 kB / 0.5831 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.3727, allocations: 0 / 0.5831 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.3727, allocations: 3.938 kB / 0.5832 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.338e-05/0.3728, allocations: 6.688 kB / 0.5832 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3731, allocations: 50.22 kB / 0.5832 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.3731, allocations: 38.52 kB / 0.5832 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.3732, allocations: 15.77 kB / 0.5833 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.3733, allocations: 14.2 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.3733, allocations: 20.91 kB / 0.5833 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3733, allocations: 10.66 kB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3735, allocations: 43.81 kB / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.3735, allocations: 13.09 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3735, allocations: 14.94 kB / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.3736, allocations: 66.94 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3736, allocations: 0 / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3737, allocations: 0 / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3737, allocations: 0 / 0.5834 GB, free: 26.04 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.0003811/0.3741, allocations: 358.9 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3741, allocations: 8.594 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.3741, allocations: 9.344 kB / 0.5838 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.3742, allocations: 166.4 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3742, allocations: 5.406 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3742, allocations: 2.594 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3744, allocations: 65.06 kB / 0.584 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3744, allocations: 8.109 kB / 0.584 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3744, allocations: 4.875 kB / 0.584 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3745, allocations: 3.781 kB / 0.584 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3746, allocations: 44.45 kB / 0.5841 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.3749, allocations: 282.2 kB / 0.5843 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.3752, allocations: 60.34 kB / 0.5844 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.3753, allocations: 25.72 kB / 0.5844 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.3755, allocations: 170.8 kB / 0.5846 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.3755, allocations: 34.56 kB / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3755, allocations: 0 / 0.5846 GB, free: 24.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003459/0.3759, allocations: 93.02 kB / 0.5847 GB, free: 24.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.3759, allocations: 56.59 kB / 0.5848 GB, free: 24.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.376, allocations: 120.2 kB / 0.5849 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.376, allocations: 25.7 kB / 0.5849 GB, free: 24.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.376, allocations: 86.75 kB / 0.585 GB, free: 24.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.376, allocations: 9.062 kB / 0.585 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.3761, allocations: 14.78 kB / 0.585 GB, free: 24.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.3761, allocations: 324.3 kB / 0.5853 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.3762, allocations: 19.17 kB / 0.5853 GB, free: 24.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.3763, allocations: 15.48 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3764, allocations: 47.66 kB / 0.5854 GB, free: 24.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3764, allocations: 3.406 kB / 0.5854 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001831/0.3766, allocations: 75.56 kB / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3767, allocations: 11.7 kB / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3767, allocations: 2.344 kB / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3767, allocations: 0 / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.3768, allocations: 12.33 kB / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3768, allocations: 1.312 kB / 0.5855 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.3768, allocations: 7.75 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3769, allocations: 5.062 kB / 0.5855 GB, free: 23.95 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.876e-05/0.3769, allocations: 117.3 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.3769, allocations: 9.953 kB / 0.5856 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3772, allocations: 86.27 kB / 0.5857 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3772, allocations: 1.094 kB / 0.5857 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3772, allocations: 384 / 0.5857 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3772, allocations: 0.75 kB / 0.5857 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3773, allocations: 169.4 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3773, allocations: 2.031 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.3774, allocations: 11.52 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3774, allocations: 4.547 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3774, allocations: 3.25 kB / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3774, allocations: 0 / 0.5859 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3774, allocations: 3.938 kB / 0.5859 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3776, allocations: 175.1 kB / 0.5861 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.3777, allocations: 81.02 kB / 0.5862 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3777, allocations: 11.34 kB / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.3778, allocations: 11.7 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3778, allocations: 1.281 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3778, allocations: 3.844 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.553e-05/0.3779, allocations: 89.77 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3779, allocations: 0 / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3781, allocations: 14.16 kB / 0.5863 GB, free: 23.18 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.0001334/0.3783, allocations: 117.7 kB / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3785, allocations: 42.83 kB / 0.5864 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3785, allocations: 6.031 kB / 0.5864 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.3786, allocations: 26.38 kB / 0.5865 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3788, allocations: 9.406 kB / 0.5865 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.3791, allocations: 120.2 kB / 0.5866 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3793, allocations: 0.6787 MB / 0.5872 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.088e-05/0.3793, allocations: 10.83 kB / 0.5873 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.3794, allocations: 9.844 kB / 0.5873 GB, free: 22.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3794, allocations: 1.094 kB / 0.5873 GB, free: 22.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003036/0.3824, allocations: 0.964 MB / 0.5882 GB, free: 21.76 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)