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.001144/0.001144, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001209/0.00121, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8222/0.8222, allocations: 132.2 MB / 423.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3643, allocations: 80.18 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001635/0.3659, allocations: 0.5801 MB / 0.5813 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.3663, allocations: 103.1 kB / 0.5814 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.3663, allocations: 1.938 kB / 0.5814 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.3663, allocations: 0 / 0.5814 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.3663, allocations: 0 / 0.5814 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3667, allocations: 48 kB / 0.5815 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.3668, allocations: 67.58 kB / 0.5815 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3668, allocations: 1.594 kB / 0.5815 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.3669, allocations: 21.58 kB / 0.5815 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.3669, allocations: 25.48 kB / 0.5816 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3669, allocations: 2.875 kB / 0.5816 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.367, allocations: 52 kB / 0.5816 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.3671, allocations: 19.72 kB / 0.5816 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.3671, allocations: 21.69 kB / 0.5817 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.3672, allocations: 70.67 kB / 0.5817 GB, free: 26.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3673, allocations: 0.9062 kB / 0.5817 GB, free: 26.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3673, allocations: 0 / 0.5817 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3673, allocations: 1.969 kB / 0.5817 GB, free: 26.57 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.0004032/0.3677, allocations: 371 kB / 0.5821 GB, free: 26.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.3677, allocations: 9.875 kB / 0.5821 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3678, allocations: 10.91 kB / 0.5821 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.195e-05/0.3678, allocations: 167.5 kB / 0.5823 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.368, allocations: 279.9 kB / 0.5825 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.368, allocations: 8.281 kB / 0.5825 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3683, allocations: 78.56 kB / 0.5826 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3683, allocations: 8.75 kB / 0.5826 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3683, allocations: 1.094 kB / 0.5826 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3683, allocations: 1.125 kB / 0.5826 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.3686, allocations: 132.9 kB / 0.5827 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.3688, allocations: 184.1 kB / 0.5829 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3691, allocations: 94.19 kB / 0.583 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3692, allocations: 46.36 kB / 0.5831 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3692, allocations: 7.062 kB / 0.5831 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.3692, allocations: 35.88 kB / 0.5831 GB, free: 25.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3692, allocations: 4.562 kB / 0.5831 GB, free: 25.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005026/0.3698, allocations: 143.9 kB / 0.5832 GB, free: 25.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.3698, allocations: 60.16 kB / 0.5833 GB, free: 25.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.908e-05/0.3698, allocations: 90.98 kB / 0.5834 GB, free: 24.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3698, allocations: 25.7 kB / 0.5834 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-06/0.3698, allocations: 85.3 kB / 0.5835 GB, free: 24.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.3699, allocations: 35.14 kB / 0.5835 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3699, allocations: 30.92 kB / 0.5836 GB, free: 24.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.37, allocations: 312.2 kB / 0.5839 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3701, allocations: 35.94 kB / 0.5839 GB, free: 24.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3703, allocations: 35.94 kB / 0.5839 GB, free: 24.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3705, allocations: 81.91 kB / 0.584 GB, free: 24.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3705, allocations: 1.344 kB / 0.584 GB, free: 24.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003191/0.3709, allocations: 108.1 kB / 0.5841 GB, free: 24.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3709, allocations: 10.94 kB / 0.5841 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3709, allocations: 12.95 kB / 0.5841 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3709, allocations: 1.406 kB / 0.5841 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3711, allocations: 26.41 kB / 0.5842 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3711, allocations: 0 / 0.5842 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.3712, allocations: 8.438 kB / 0.5842 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3712, allocations: 4.625 kB / 0.5842 GB, free: 24.3 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 5.829e-05/0.3712, allocations: 123.5 kB / 0.5843 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.3713, allocations: 6.375 kB / 0.5843 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.3713, allocations: 11.97 kB / 0.5843 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3713, allocations: 1.375 kB / 0.5843 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3713, allocations: 0.8438 kB / 0.5843 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3713, allocations: 1.312 kB / 0.5843 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.3714, allocations: 180.5 kB / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3714, allocations: 0 / 0.5845 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.3715, allocations: 25.91 kB / 0.5845 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3716, allocations: 5.094 kB / 0.5845 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3716, allocations: 5.594 kB / 0.5845 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3716, allocations: 1.094 kB / 0.5845 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3716, allocations: 6.578 kB / 0.5845 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.3719, allocations: 145.9 kB / 0.5847 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.3719, allocations: 78.64 kB / 0.5847 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.372, allocations: 8.969 kB / 0.5847 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.372, allocations: 8.172 kB / 0.5847 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.3721, allocations: 10.98 kB / 0.5848 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3721, allocations: 7.844 kB / 0.5848 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.033e-05/0.3721, allocations: 77.95 kB / 0.5848 GB, free: 23.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3721, allocations: 0 / 0.5848 GB, free: 23.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000229/0.3723, allocations: 21.27 kB / 0.5849 GB, free: 23.62 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.0001672/0.3725, allocations: 120.9 kB / 0.585 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3729, allocations: 99.97 kB / 0.5851 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3729, allocations: 0 / 0.5851 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.373, allocations: 48.66 kB / 0.5851 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.3732, allocations: 7.938 kB / 0.5851 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.3735, allocations: 194.4 kB / 0.5853 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.019e-05/0.3736, allocations: 0.6818 MB / 0.586 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3737, allocations: 21.17 kB / 0.586 GB, free: 22.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3737, allocations: 0.7188 kB / 0.586 GB, free: 22.58 MB / 446.1 MB Notification: Performance of Templates: time 0.00264/0.3763, allocations: 1.319 MB / 0.5873 GB, free: 21.98 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)