Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") [: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.001908/0.001908, allocations: 171.5 kB / 7.456 MB, free: 2.148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6047/0.6047, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.126/1.126, 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.0008011/0.0008011, allocations: 103 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.572e-06, allocations: 2.938 kB / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4709, allocations: 110.9 MB / 0.7415 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4711, allocations: 70.17 kB / 0.7416 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002567/0.4737, allocations: 0.7586 MB / 0.7423 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4737, allocations: 0.5625 kB / 0.7423 GB, free: 10.64 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.0003955/0.4741, allocations: 354.8 kB / 0.7427 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4742, allocations: 7.75 kB / 0.7427 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.4742, allocations: 3.812 kB / 0.7427 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4743, allocations: 176.1 kB / 0.7428 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4744, allocations: 3.875 kB / 0.7428 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4744, allocations: 3.938 kB / 0.7429 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.571e-05/0.4745, allocations: 18.5 kB / 0.7429 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.4746, allocations: 51.19 kB / 0.7429 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4746, allocations: 0 / 0.7429 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4746, allocations: 2.688 kB / 0.7429 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.4746, allocations: 0 / 0.7429 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.4749, allocations: 259.1 kB / 0.7432 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.4751, allocations: 46.05 kB / 0.7432 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.4752, allocations: 12.52 kB / 0.7432 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.4755, allocations: 398.5 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.4755, allocations: 30.56 kB / 0.7436 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4755, allocations: 4 kB / 0.7436 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001842/0.4757, allocations: 47.58 kB / 0.7437 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.4757, allocations: 59.19 kB / 0.7437 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.4758, allocations: 98.11 kB / 0.7438 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4758, allocations: 25.7 kB / 0.7439 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.4759, allocations: 85.36 kB / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.4759, allocations: 12.25 kB / 0.744 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.4759, allocations: 0 / 0.744 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.476, allocations: 316.8 kB / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.476, allocations: 6.969 kB / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.476, allocations: 7.656 kB / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.4761, allocations: 12.41 kB / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4761, allocations: 0 / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.981e-05/0.4762, allocations: 48.55 kB / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.4762, allocations: 3.906 kB / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4762, allocations: 3.969 kB / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4762, allocations: 192 / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.4763, allocations: 16.08 kB / 0.7443 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.4763, allocations: 7.812 kB / 0.7444 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.4764, allocations: 5.953 kB / 0.7444 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4764, allocations: 7.953 kB / 0.7444 GB, free: 24.57 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 (falFac.y,falFac.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.195e-05/0.4765, allocations: 106.1 kB / 0.7445 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4765, allocations: 7.375 kB / 0.7445 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.4766, allocations: 59.3 kB / 0.7445 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4767, allocations: 0 / 0.7445 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4767, allocations: 0 / 0.7445 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4767, allocations: 0 / 0.7445 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4768, allocations: 145.3 kB / 0.7447 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4768, allocations: 1.25 kB / 0.7447 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.4769, allocations: 18.66 kB / 0.7447 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4769, allocations: 0 / 0.7447 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4769, allocations: 5.391 kB / 0.7447 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4769, allocations: 0 / 0.7447 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4769, allocations: 0 / 0.7447 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001256/0.4771, allocations: 150.3 kB / 0.7448 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.4771, allocations: 86.3 kB / 0.7449 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4771, allocations: 3.906 kB / 0.7449 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4772, allocations: 15.5 kB / 0.7449 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4773, allocations: 5 kB / 0.7449 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4773, allocations: 5.422 kB / 0.745 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.159e-05/0.4773, allocations: 83.09 kB / 0.745 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002076/0.4775, allocations: 17 kB / 0.745 GB, free: 23.93 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 (falFac.y,falFac.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.0001417/0.4777, allocations: 113.3 kB / 0.7452 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.4778, allocations: 24.34 kB / 0.7452 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4778, allocations: 2.875 kB / 0.7452 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.4778, allocations: 13.06 kB / 0.7452 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.478, allocations: 3.844 kB / 0.7452 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.4782, allocations: 66.23 kB / 0.7453 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.4785, allocations: 0.6977 MB / 0.7459 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.4785, allocations: 0 / 0.7459 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.002282/0.4807, allocations: 0.6918 MB / 0.7466 GB, free: 22.99 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)