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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 113.5 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7253/0.7253, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 68.59 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00229/0.1267, allocations: 1.518 MB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000314/0.127, allocations: 148.3 kB / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.127, allocations: 0 / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1271, allocations: 3.938 kB / 0.6669 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.1271, allocations: 0 / 0.6669 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1274, allocations: 31.89 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.1275, allocations: 35.92 kB / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.1275, allocations: 15.98 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.1276, allocations: 15.94 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.1276, allocations: 19.91 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1276, allocations: 4 kB / 0.6671 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-05/0.1277, allocations: 15.98 kB / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1277, allocations: 11.98 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.1278, allocations: 15.88 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.1279, allocations: 59.8 kB / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1279, allocations: 0 / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1279, allocations: 0 / 0.6672 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1279, allocations: 0 / 0.6672 GB, free: 3.887 MB / 0.4981 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.0004486/0.1284, allocations: 351.3 kB / 0.6675 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1284, allocations: 13.11 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.1285, allocations: 0.9375 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1286, allocations: 168.4 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1286, allocations: 4.375 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1286, allocations: 4.375 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1288, allocations: 66.22 kB / 0.6677 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1288, allocations: 192 / 0.6677 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1289, allocations: 3.938 kB / 0.6677 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1289, allocations: 0 / 0.6677 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1291, allocations: 47.89 kB / 0.6678 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1294, allocations: 292.7 kB / 0.6681 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1297, allocations: 58.53 kB / 0.6681 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.1298, allocations: 24.91 kB / 0.6681 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.1301, allocations: 397.5 kB / 0.6685 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1301, allocations: 38.56 kB / 0.6686 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1302, allocations: 3.938 kB / 0.6686 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000355/0.1305, allocations: 101.5 kB / 0.6687 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1305, allocations: 51.41 kB / 0.6687 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.1306, allocations: 109.8 kB / 0.6688 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1306, allocations: 25.7 kB / 0.6688 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.1307, allocations: 84.14 kB / 0.6689 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.1307, allocations: 11.89 kB / 0.6689 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1307, allocations: 21.66 kB / 0.669 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1308, allocations: 314.8 kB / 0.6693 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.1309, allocations: 19.97 kB / 0.6693 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.131, allocations: 23.92 kB / 0.6693 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1312, allocations: 52.75 kB / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1312, allocations: 0 / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001962/0.1314, allocations: 69.66 kB / 0.6694 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1314, allocations: 8 kB / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1314, allocations: 0 / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1314, allocations: 0 / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1315, allocations: 11.98 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1315, allocations: 0 / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1316, allocations: 11.98 kB / 0.6694 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1316, allocations: 4 kB / 0.6694 GB, free: 1.223 MB / 0.4981 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,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.893e-05/0.1317, allocations: 117.7 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1317, allocations: 3.906 kB / 0.6696 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.132, allocations: 89.55 kB / 0.6696 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.132, allocations: 3.984 kB / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.132, allocations: 0 / 0.6697 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.132, allocations: 81.11 kB / 0.6697 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.132, allocations: 4 kB / 0.6697 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.1321, allocations: 7.984 kB / 0.6697 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1322, allocations: 3.938 kB / 0.6697 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002662/0.1324, allocations: 164.9 kB / 0.6699 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002645/0.1327, allocations: 250.7 kB / 0.6701 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.56e-05/0.1328, allocations: 24.44 kB / 0.6702 GB, free: 436 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.1329, allocations: 87.28 kB / 0.6702 GB, free: 348 kB / 0.4981 GB Notification: Performance of Backend: time 1.91e-07/0.1329, allocations: 3.938 kB / 0.6703 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.1333, allocations: 110.3 kB / 0.6704 GB, free: 228 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004001/0.1337, allocations: 0.5726 MB / 0.6709 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.002688/0.1364, allocations: 0.8689 MB / 0.6718 GB, free: 14.74 MB / 0.5137 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)