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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7772/0.7772, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 395.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009146, allocations: 105.1 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.273e-05, allocations: 8 kB / 0.5535 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.478, allocations: 82.31 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.6372, allocations: 109.9 MB / 0.7412 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.6376, allocations: 79.94 kB / 0.7412 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002016/0.6396, allocations: 0.8164 MB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6396, allocations: 0 / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6396, allocations: 4 kB / 0.742 GB, free: 12.01 MB / 0.5261 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.0003092/0.64, allocations: 328.6 kB / 0.7424 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.64, allocations: 8.031 kB / 0.7424 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.6401, allocations: 7.844 kB / 0.7424 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.6402, allocations: 170.3 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.6402, allocations: 0 / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.6402, allocations: 4 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001851/0.6404, allocations: 99.88 kB / 0.7426 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.6405, allocations: 57.61 kB / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6406, allocations: 4 kB / 0.7427 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6406, allocations: 4 kB / 0.7427 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6406, allocations: 0 / 0.7427 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.6408, allocations: 150.2 kB / 0.7428 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.6409, allocations: 70.45 kB / 0.7429 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.6409, allocations: 28.84 kB / 0.7429 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/0.6413, allocations: 397.5 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.6413, allocations: 42.56 kB / 0.7434 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.6413, allocations: 336 / 0.7434 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003379/0.6416, allocations: 93.44 kB / 0.7434 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.6417, allocations: 55.41 kB / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.6417, allocations: 89 kB / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.6418, allocations: 25.7 kB / 0.7436 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.6418, allocations: 84.27 kB / 0.7437 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6418, allocations: 19.66 kB / 0.7437 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.6419, allocations: 0 / 0.7437 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.642, allocations: 326.8 kB / 0.744 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.642, allocations: 15.94 kB / 0.744 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.6421, allocations: 19.98 kB / 0.7441 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.6422, allocations: 27.97 kB / 0.7441 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6422, allocations: 0 / 0.7441 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002443/0.6425, allocations: 85.61 kB / 0.7442 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6425, allocations: 11.95 kB / 0.7442 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6425, allocations: 3.984 kB / 0.7442 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6425, allocations: 0 / 0.7442 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6426, allocations: 19.98 kB / 0.7442 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6427, allocations: 7.938 kB / 0.7442 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.6427, allocations: 3.906 kB / 0.7442 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.6427, allocations: 4 kB / 0.7442 GB, free: 9.504 MB / 0.5261 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 9.59e-05/0.6428, allocations: 113 kB / 0.7443 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.6428, allocations: 0 / 0.7443 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.6431, allocations: 130 kB / 0.7444 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.6431, allocations: 0 / 0.7444 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6432, allocations: 0 / 0.7444 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6432, allocations: 3.984 kB / 0.7444 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.6433, allocations: 146.2 kB / 0.7446 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6433, allocations: 0 / 0.7446 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.6434, allocations: 23.92 kB / 0.7446 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6434, allocations: 0 / 0.7446 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6434, allocations: 0 / 0.7446 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6434, allocations: 4 kB / 0.7446 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6434, allocations: 3.953 kB / 0.7446 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.6437, allocations: 121.3 kB / 0.7447 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.6437, allocations: 81.11 kB / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.6437, allocations: 0 / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.6438, allocations: 0 / 0.7448 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.6438, allocations: 11.94 kB / 0.7448 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.6438, allocations: 4 kB / 0.7448 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.6438, allocations: 79.28 kB / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.828e-06/0.6439, allocations: 0 / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001993/0.6441, allocations: 35.8 kB / 0.7449 GB, free: 8.676 MB / 0.5261 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.0002059/0.6443, allocations: 107.2 kB / 0.745 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.6444, allocations: 52.62 kB / 0.7451 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6444, allocations: 0 / 0.7451 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.6445, allocations: 35.94 kB / 0.7451 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.6446, allocations: 2.156 kB / 0.7451 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.6448, allocations: 103.8 kB / 0.7452 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.6451, allocations: 0.6884 MB / 0.7459 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.753e-05/0.6452, allocations: 31.94 kB / 0.7459 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.6452, allocations: 19.44 kB / 0.7459 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6453, allocations: 0 / 0.7459 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of Templates: time 0.002456/0.6477, allocations: 0.5512 MB / 0.7465 GB, free: 7.035 MB / 0.5261 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)