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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 187.3 kB / 7.462 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6057/0.6057, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 94.14 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.797e-06, allocations: 3.688 kB / 0.5528 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 82.3 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4724, allocations: 111.2 MB / 0.7418 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4727, allocations: 74.28 kB / 0.7418 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.00359/0.4763, allocations: 1.04 MB / 0.7429 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4763, allocations: 0 / 0.7429 GB, free: 10.7 MB / 0.4948 GB 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.0003647/0.4767, allocations: 360 kB / 0.7432 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.4767, allocations: 11.5 kB / 0.7432 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.4768, allocations: 0 / 0.7432 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4769, allocations: 168.3 kB / 0.7434 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.4769, allocations: 1.438 kB / 0.7434 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.4769, allocations: 7.844 kB / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.102e-05/0.477, allocations: 19.88 kB / 0.7434 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.4771, allocations: 45.84 kB / 0.7434 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4771, allocations: 0 / 0.7434 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4771, allocations: 3.938 kB / 0.7434 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4771, allocations: 3.812 kB / 0.7434 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4775, allocations: 261.7 kB / 0.7437 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.4777, allocations: 40.98 kB / 0.7437 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.4777, allocations: 19.95 kB / 0.7438 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.4781, allocations: 402 kB / 0.7441 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4781, allocations: 39.95 kB / 0.7442 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4781, allocations: 4 kB / 0.7442 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001721/0.4783, allocations: 43.92 kB / 0.7442 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4783, allocations: 51.41 kB / 0.7443 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.4784, allocations: 98.5 kB / 0.7444 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.4784, allocations: 25.7 kB / 0.7444 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.4784, allocations: 89.47 kB / 0.7445 GB, free: 25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.4784, allocations: 3.906 kB / 0.7445 GB, free: 25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4785, allocations: 0 / 0.7445 GB, free: 25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.4785, allocations: 320.1 kB / 0.7448 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.4786, allocations: 11.62 kB / 0.7448 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.4786, allocations: 9.078 kB / 0.7448 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.387e-05/0.4786, allocations: 5 kB / 0.7448 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4786, allocations: 3.938 kB / 0.7448 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.687e-05/0.4787, allocations: 59.11 kB / 0.7449 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4787, allocations: 3.688 kB / 0.7449 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.4788, allocations: 0 / 0.7449 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.4788, allocations: 4.922 kB / 0.7449 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.4789, allocations: 20.22 kB / 0.7449 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4789, allocations: 0 / 0.7449 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.4789, allocations: 10.53 kB / 0.7449 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.479, allocations: 0 / 0.7449 GB, free: 24.63 MB / 0.5105 GB 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,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.479, allocations: 106 kB / 0.745 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.4791, allocations: 7.875 kB / 0.745 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.4792, allocations: 59.33 kB / 0.7451 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4792, allocations: 0 / 0.7451 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4792, allocations: 7.125 kB / 0.7451 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4792, allocations: 1.547 kB / 0.7451 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.4793, allocations: 143.2 kB / 0.7452 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4793, allocations: 5.578 kB / 0.7452 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/0.4794, allocations: 15.27 kB / 0.7452 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4794, allocations: 0 / 0.7452 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4794, allocations: 3.781 kB / 0.7452 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.4795, allocations: 0 / 0.7452 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4795, allocations: 0 / 0.7452 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001167/0.4796, allocations: 146.2 kB / 0.7454 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.4796, allocations: 78.7 kB / 0.7455 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.4796, allocations: 3.906 kB / 0.7455 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.4797, allocations: 14.72 kB / 0.7455 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4798, allocations: 6.703 kB / 0.7455 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4798, allocations: 3.938 kB / 0.7455 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.573e-05/0.4798, allocations: 84.84 kB / 0.7456 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002201/0.4801, allocations: 27.44 kB / 0.7456 GB, free: 23.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,bin.k) * Number of discrete 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 (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.0001659/0.4802, allocations: 122.7 kB / 0.7457 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.4803, allocations: 16.48 kB / 0.7457 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4803, allocations: 3.844 kB / 0.7457 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.4803, allocations: 12.47 kB / 0.7457 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.4805, allocations: 4.812 kB / 0.7457 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.4807, allocations: 80.98 kB / 0.7458 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.481, allocations: 0.6941 MB / 0.7465 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.481, allocations: 4 kB / 0.7465 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.002548/0.4835, allocations: 0.8967 MB / 0.7474 GB, free: 23.03 MB / 0.5105 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)