Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 113.5 kB / 16.42 MB, free: 6.02 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.001202/0.001202, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.213/1.213, allocations: 222.9 MB / 241 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.7244/0.7244, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 65.16 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001439/0.1225, allocations: 0.5681 MB / 0.6659 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.1227, allocations: 46.45 kB / 0.666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.1227, allocations: 4 kB / 0.666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.1227, allocations: 0 / 0.666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-06/0.1228, allocations: 4 kB / 0.666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1229, allocations: 19.91 kB / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.425e-05/0.123, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.123, allocations: 7.938 kB / 0.666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.123, allocations: 3.938 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.627e-05/0.1231, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1231, allocations: 0 / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.1231, allocations: 11.98 kB / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.1232, allocations: 4 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.1232, allocations: 3.984 kB / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.896e-05/0.1233, allocations: 11.98 kB / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1233, allocations: 4 kB / 0.666 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1233, allocations: 0 / 0.666 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.1233, allocations: 0 / 0.666 GB, free: 5.055 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002529/0.1235, allocations: 319.4 kB / 0.6663 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1236, allocations: 9.109 kB / 0.6663 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.1236, allocations: 0.9375 kB / 0.6663 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.1237, allocations: 176.3 kB / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-06/0.1237, allocations: 384 / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.1237, allocations: 384 / 0.6665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.1238, allocations: 34.27 kB / 0.6665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1238, allocations: 192 / 0.6665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1238, allocations: 3.938 kB / 0.6665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1238, allocations: 0 / 0.6665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.1239, allocations: 7.984 kB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.124, allocations: 145.7 kB / 0.6667 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.124, allocations: 26.55 kB / 0.6667 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.1241, allocations: 17.19 kB / 0.6667 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.1242, allocations: 81.17 kB / 0.6668 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1242, allocations: 30.56 kB / 0.6668 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1242, allocations: 0 / 0.6668 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001168/0.1243, allocations: 45.62 kB / 0.6669 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1244, allocations: 55.41 kB / 0.6669 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.1244, allocations: 89.86 kB / 0.667 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.1244, allocations: 25.7 kB / 0.667 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.063e-05/0.1245, allocations: 84.27 kB / 0.6671 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.1245, allocations: 0 / 0.6671 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.1245, allocations: 17.72 kB / 0.6671 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1246, allocations: 314.8 kB / 0.6674 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1246, allocations: 3.984 kB / 0.6674 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.1246, allocations: 4 kB / 0.6675 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.1247, allocations: 16.86 kB / 0.6675 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1247, allocations: 4.062 kB / 0.6675 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.039e-05/0.1247, allocations: 33.7 kB / 0.6675 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1247, allocations: 8 kB / 0.6675 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1248, allocations: 7.922 kB / 0.6675 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1248, allocations: 7.922 kB / 0.6675 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.1248, allocations: 4 kB / 0.6675 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1248, allocations: 3.938 kB / 0.6675 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1248, allocations: 7.844 kB / 0.6675 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1249, allocations: 3.938 kB / 0.6675 GB, free: 3.254 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.274e-05/0.1249, allocations: 113.9 kB / 0.6677 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.1249, allocations: 4 kB / 0.6677 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.125, allocations: 40.81 kB / 0.6677 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.125, allocations: 7.938 kB / 0.6677 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.125, allocations: 0 / 0.6677 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.1251, allocations: 77.11 kB / 0.6678 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-06/0.1251, allocations: 0 / 0.6678 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.1251, allocations: 4 kB / 0.6678 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1251, allocations: 3.984 kB / 0.6678 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.541e-05/0.1252, allocations: 121 kB / 0.6679 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001079/0.1253, allocations: 214.8 kB / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.57e-05/0.1253, allocations: 0 / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.1254, allocations: 79.27 kB / 0.6682 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of Backend: time 2.8e-07/0.1254, allocations: 4 kB / 0.6682 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.1257, allocations: 88.12 kB / 0.6683 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002752/0.126, allocations: 0.537 MB / 0.6688 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Templates: time 0.001965/0.128, allocations: 344.9 kB / 0.6691 GB, free: 1.52 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)