Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001777/0.001778, allocations: 179.8 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5942/0.5942, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.134/1.134, allocations: 221.3 MB / 395 MB, free: 10.21 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.000817/0.000817, allocations: 102.3 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.566e-06, allocations: 5.75 kB / 0.5529 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 82.31 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4589, allocations: 109.8 MB / 0.7405 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.4591, allocations: 70.38 kB / 0.7405 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0015/0.4606, allocations: 0.5177 MB / 0.741 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.4606, allocations: 0 / 0.741 GB, free: 10.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002283/0.4608, allocations: 331.8 kB / 0.7414 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4609, allocations: 8.344 kB / 0.7414 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.4609, allocations: 7.812 kB / 0.7414 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.993e-05/0.461, allocations: 166.3 kB / 0.7415 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.461, allocations: 3.906 kB / 0.7415 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.461, allocations: 3.844 kB / 0.7415 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001492/0.4612, allocations: 96.11 kB / 0.7416 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.568e-05/0.4613, allocations: 63.56 kB / 0.7417 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4613, allocations: 0 / 0.7417 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4613, allocations: 0 / 0.7417 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4613, allocations: 0 / 0.7417 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.4615, allocations: 154.6 kB / 0.7418 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.4615, allocations: 76.64 kB / 0.7419 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.4616, allocations: 29.62 kB / 0.7419 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.4619, allocations: 399.1 kB / 0.7423 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4619, allocations: 35.56 kB / 0.7424 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4619, allocations: 336 / 0.7424 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000305/0.4622, allocations: 89.5 kB / 0.7424 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.4623, allocations: 58.91 kB / 0.7425 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.12e-05/0.4623, allocations: 90.16 kB / 0.7426 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.4623, allocations: 25.7 kB / 0.7426 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.4624, allocations: 80.33 kB / 0.7427 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4624, allocations: 24.14 kB / 0.7427 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.4624, allocations: 3.938 kB / 0.7427 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.4625, allocations: 316.4 kB / 0.743 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.4625, allocations: 17.08 kB / 0.743 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.4626, allocations: 17.45 kB / 0.7431 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4627, allocations: 41.84 kB / 0.7431 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4627, allocations: 0 / 0.7431 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002197/0.463, allocations: 89.97 kB / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.463, allocations: 7.688 kB / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.463, allocations: 0 / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.463, allocations: 0.7031 kB / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.4631, allocations: 21.75 kB / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.4631, allocations: 0 / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.4631, allocations: 0.75 kB / 0.7432 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.4631, allocations: 7.188 kB / 0.7432 GB, free: 24.54 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.4632, allocations: 119 kB / 0.7433 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.4632, allocations: 3.875 kB / 0.7433 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.4635, allocations: 126.3 kB / 0.7435 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4635, allocations: 3.906 kB / 0.7435 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4635, allocations: 0 / 0.7435 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4636, allocations: 0.7031 kB / 0.7435 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.4637, allocations: 154.4 kB / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4637, allocations: 0 / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.4637, allocations: 26.25 kB / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4637, allocations: 0 / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4637, allocations: 4.453 kB / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4638, allocations: 0.6094 kB / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4638, allocations: 0 / 0.7436 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000226/0.464, allocations: 118.8 kB / 0.7437 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.464, allocations: 89.62 kB / 0.7438 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.464, allocations: 0 / 0.7438 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.4641, allocations: 0.75 kB / 0.7438 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.4641, allocations: 10.11 kB / 0.7438 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4641, allocations: 4.5 kB / 0.7438 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.486e-05/0.4641, allocations: 75.28 kB / 0.7439 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001815/0.4643, allocations: 16.08 kB / 0.7439 GB, free: 23.95 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete 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 (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.0001474/0.4645, allocations: 122.6 kB / 0.7441 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.4646, allocations: 54.16 kB / 0.7441 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4646, allocations: 0 / 0.7441 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.4646, allocations: 36.64 kB / 0.7441 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.1e-05/0.4647, allocations: 8.516 kB / 0.7441 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.4649, allocations: 93.56 kB / 0.7442 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.4652, allocations: 0.706 MB / 0.7449 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4652, allocations: 0 / 0.7449 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.002303/0.4675, allocations: 0.8927 MB / 0.7458 GB, free: 22.96 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)