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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7603/0.7603, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.537/1.537, allocations: 222.9 MB / 404.7 MB, free: 6.109 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.001121/0.001121, allocations: 110.4 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001002, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1368, allocations: 80.41 MB / 0.6421 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003158/0.14, allocations: 1.599 MB / 0.6437 GB, free: 3.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.1405, allocations: 132.5 kB / 0.6438 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1405, allocations: 0 / 0.6438 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.1406, allocations: 0 / 0.6438 GB, free: 3.723 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.1406, allocations: 7.938 kB / 0.6438 GB, free: 3.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.1409, allocations: 23.95 kB / 0.6438 GB, free: 3.691 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.141, allocations: 35.86 kB / 0.6439 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.1411, allocations: 19.98 kB / 0.6439 GB, free: 3.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.1412, allocations: 11.98 kB / 0.6439 GB, free: 3.625 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.1412, allocations: 23.84 kB / 0.6439 GB, free: 3.602 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1412, allocations: 4 kB / 0.6439 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.1413, allocations: 19.98 kB / 0.644 GB, free: 3.578 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1413, allocations: 4 kB / 0.644 GB, free: 3.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.1414, allocations: 15.92 kB / 0.644 GB, free: 3.559 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1415, allocations: 39.88 kB / 0.644 GB, free: 3.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1415, allocations: 0 / 0.644 GB, free: 3.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1415, allocations: 4 kB / 0.644 GB, free: 3.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1415, allocations: 0 / 0.644 GB, free: 3.516 MB / 442.7 MB 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.0004707/0.142, allocations: 363.6 kB / 0.6444 GB, free: 3.109 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.142, allocations: 8.031 kB / 0.6444 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1421, allocations: 4.844 kB / 0.6444 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1422, allocations: 168.3 kB / 0.6445 GB, free: 2.895 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.1422, allocations: 384 / 0.6445 GB, free: 2.895 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1422, allocations: 4.375 kB / 0.6445 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1424, allocations: 66.22 kB / 0.6446 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1424, allocations: 192 / 0.6446 GB, free: 2.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1425, allocations: 3.938 kB / 0.6446 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1425, allocations: 4 kB / 0.6446 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.1427, allocations: 43.95 kB / 0.6447 GB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1431, allocations: 284.6 kB / 0.6449 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1434, allocations: 58.53 kB / 0.645 GB, free: 2.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1435, allocations: 28.84 kB / 0.645 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.1438, allocations: 405.6 kB / 0.6454 GB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1438, allocations: 38.56 kB / 0.6454 GB, free: 1.809 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.1438, allocations: 4 kB / 0.6454 GB, free: 1.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003736/0.1442, allocations: 93.56 kB / 0.6455 GB, free: 1.707 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1443, allocations: 55.41 kB / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.1444, allocations: 114 kB / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1444, allocations: 25.7 kB / 0.6457 GB, free: 1.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.1444, allocations: 84.14 kB / 0.6458 GB, free: 1.402 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1444, allocations: 7.906 kB / 0.6458 GB, free: 1.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1445, allocations: 17.72 kB / 0.6458 GB, free: 1.371 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.1446, allocations: 322.8 kB / 0.6461 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.1447, allocations: 19.98 kB / 0.6461 GB, free: 1.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.1448, allocations: 19.97 kB / 0.6462 GB, free: 1.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.145, allocations: 44.77 kB / 0.6462 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.145, allocations: 4 kB / 0.6462 GB, free: 0.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002244/0.1452, allocations: 77.64 kB / 0.6463 GB, free: 0.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1452, allocations: 7.938 kB / 0.6463 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1452, allocations: 0 / 0.6463 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1452, allocations: 0 / 0.6463 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.1453, allocations: 11.98 kB / 0.6463 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1453, allocations: 4.062 kB / 0.6463 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1454, allocations: 4 kB / 0.6463 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1454, allocations: 11.98 kB / 0.6463 GB, free: 0.8359 MB / 442.7 MB 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,rea2Int.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.1455, allocations: 115.1 kB / 0.6464 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1455, allocations: 8.234 kB / 0.6464 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.1458, allocations: 85.47 kB / 0.6465 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1458, allocations: 4 kB / 0.6465 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1458, allocations: 0 / 0.6465 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1458, allocations: 0 / 0.6465 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.146, allocations: 173.6 kB / 0.6467 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.146, allocations: 0 / 0.6467 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.1461, allocations: 11.98 kB / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1461, allocations: 0 / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1461, allocations: 0 / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1461, allocations: 0 / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1461, allocations: 0 / 0.6467 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.1467, allocations: 0.7473 MB / 0.6474 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.1467, allocations: 77.11 kB / 0.6475 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1467, allocations: 0 / 0.6475 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.1468, allocations: 7.984 kB / 0.6475 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.1469, allocations: 11.92 kB / 0.6475 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1469, allocations: 7.938 kB / 0.6475 GB, free: 15.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.834e-05/0.1469, allocations: 95.22 kB / 0.6476 GB, free: 15.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1469, allocations: 0 / 0.6476 GB, free: 15.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.1473, allocations: 8 kB / 0.6476 GB, free: 15.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked 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 (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.0001444/0.1474, allocations: 107.2 kB / 0.6477 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1476, allocations: 39.95 kB / 0.6478 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1476, allocations: 0 / 0.6478 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1478, allocations: 31.97 kB / 0.6478 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.148, allocations: 13.62 kB / 0.6478 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.1484, allocations: 233.8 kB / 0.648 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1486, allocations: 0.6809 MB / 0.6487 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.1487, allocations: 8 kB / 0.6487 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.1487, allocations: 11.44 kB / 0.6487 GB, free: 14.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1487, allocations: 0 / 0.6487 GB, free: 14.16 MB / 458.7 MB Notification: Performance of Templates: time 0.002564/0.1513, allocations: 0.6829 MB / 0.6494 GB, free: 13.48 MB / 458.7 MB 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)