Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 112.8 kB / 16.42 MB, free: 6.488 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.001269/0.00127, allocations: 186.5 kB / 17.35 MB, free: 5.762 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.217/1.217, 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.7321/0.7321, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 64 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1226, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002209/0.1249, allocations: 1.509 MB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.1252, allocations: 132.4 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1252, allocations: 4 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.1252, allocations: 0 / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.1253, allocations: 3.938 kB / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1255, allocations: 15.92 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.1255, allocations: 27.98 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.1256, allocations: 11.97 kB / 0.667 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1257, allocations: 15.94 kB / 0.667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.1257, allocations: 15.98 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1257, allocations: 0 / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.1258, allocations: 15.98 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1258, allocations: 7.938 kB / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1258, allocations: 19.91 kB / 0.667 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.1259, allocations: 35.84 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1259, allocations: 0 / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1259, allocations: 4 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.126, allocations: 0 / 0.6671 GB, free: 3.945 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003971/0.1264, allocations: 351.4 kB / 0.6674 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1264, allocations: 9.109 kB / 0.6674 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.1264, allocations: 8.781 kB / 0.6674 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.1265, allocations: 164.4 kB / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1266, allocations: 384 / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1266, allocations: 4.375 kB / 0.6676 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1267, allocations: 58.22 kB / 0.6676 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.1268, allocations: 192 / 0.6676 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1268, allocations: 3.938 kB / 0.6677 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1268, allocations: 4 kB / 0.6677 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.127, allocations: 47.89 kB / 0.6677 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.1273, allocations: 253 kB / 0.6679 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1276, allocations: 62.47 kB / 0.668 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.1277, allocations: 28.91 kB / 0.668 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.1278, allocations: 93.06 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1278, allocations: 34.5 kB / 0.6682 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1278, allocations: 0 / 0.6682 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003413/0.1281, allocations: 97.53 kB / 0.6682 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1282, allocations: 55.41 kB / 0.6683 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.1282, allocations: 97.86 kB / 0.6684 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1283, allocations: 29.7 kB / 0.6684 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1283, allocations: 80.14 kB / 0.6685 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.1283, allocations: 11.83 kB / 0.6685 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.1284, allocations: 17.72 kB / 0.6685 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.1285, allocations: 314.8 kB / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.1286, allocations: 27.97 kB / 0.6688 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.1286, allocations: 19.98 kB / 0.6689 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1288, allocations: 44.75 kB / 0.6689 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1288, allocations: 0 / 0.6689 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001977/0.129, allocations: 77.59 kB / 0.669 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.129, allocations: 4 kB / 0.669 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.129, allocations: 4 kB / 0.669 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.129, allocations: 0 / 0.669 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.1291, allocations: 11.98 kB / 0.669 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1291, allocations: 0 / 0.669 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.1292, allocations: 7.984 kB / 0.669 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1292, allocations: 4 kB / 0.669 GB, free: 1.715 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 (rea2Int.y,fac.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.238e-05/0.1293, allocations: 113.8 kB / 0.6691 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1293, allocations: 11.84 kB / 0.6691 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.1296, allocations: 81.14 kB / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1296, allocations: 0 / 0.6692 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1296, allocations: 4 kB / 0.6692 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.1296, allocations: 81.09 kB / 0.6693 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.1296, allocations: 4 kB / 0.6693 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1297, allocations: 7.938 kB / 0.6693 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1298, allocations: 11.92 kB / 0.6693 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002624/0.13, allocations: 161.4 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002518/0.1303, allocations: 246.8 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.423e-05/0.1304, allocations: 27.97 kB / 0.6697 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.1304, allocations: 83.28 kB / 0.6698 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of Backend: time 2.3e-07/0.1304, allocations: 4 kB / 0.6698 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.1308, allocations: 98.38 kB / 0.6699 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003566/0.1312, allocations: 0.5686 MB / 0.6705 GB, free: 112 kB / 0.4981 GB Notification: Performance of Templates: time 0.002548/0.1338, allocations: 0.8061 MB / 0.6713 GB, free: 15.3 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1)