Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001502/0.001502, allocations: 113.2 kB / 16.42 MB, free: 6.492 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.001676/0.001676, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7818/0.7818, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 72.17 kB / 0.5821 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001469/0.1333, allocations: 0.5782 MB / 0.6609 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.1335, allocations: 50.41 kB / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.1335, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.1336, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.1336, allocations: 3.938 kB / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.1338, allocations: 11.98 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.33e-05/0.1338, allocations: 7.984 kB / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.1339, allocations: 0 / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.1339, allocations: 11.94 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.1339, allocations: 0 / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.1339, allocations: 0 / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.134, allocations: 11.98 kB / 0.661 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.195e-06/0.134, allocations: 0 / 0.661 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.134, allocations: 4 kB / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.963e-05/0.1341, allocations: 11.97 kB / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1341, allocations: 4 kB / 0.6611 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1341, allocations: 0 / 0.6611 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1342, allocations: 0 / 0.6611 GB, free: 9.52 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.0002564/0.1344, allocations: 319.5 kB / 0.6614 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1345, allocations: 8.031 kB / 0.6614 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.1345, allocations: 4.922 kB / 0.6614 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.1346, allocations: 164.3 kB / 0.6615 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1346, allocations: 4.375 kB / 0.6615 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-06/0.1346, allocations: 384 / 0.6615 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.1347, allocations: 34.27 kB / 0.6616 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1347, allocations: 192 / 0.6616 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1347, allocations: 3.938 kB / 0.6616 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1347, allocations: 0 / 0.6616 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.1348, allocations: 11.98 kB / 0.6616 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.1349, allocations: 145.7 kB / 0.6617 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.1349, allocations: 22.55 kB / 0.6617 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.135, allocations: 13.25 kB / 0.6618 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.1351, allocations: 81.11 kB / 0.6618 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1351, allocations: 34.56 kB / 0.6619 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.1352, allocations: 4 kB / 0.6619 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001217/0.1353, allocations: 41.62 kB / 0.6619 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.1353, allocations: 55.34 kB / 0.662 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.1354, allocations: 93.86 kB / 0.6621 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1354, allocations: 29.7 kB / 0.6621 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.1354, allocations: 84.08 kB / 0.6622 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1354, allocations: 3.953 kB / 0.6622 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1355, allocations: 13.72 kB / 0.6622 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.1355, allocations: 315 kB / 0.6625 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.1356, allocations: 11.98 kB / 0.6625 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.1356, allocations: 4 kB / 0.6625 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.1356, allocations: 12.86 kB / 0.6625 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1356, allocations: 0 / 0.6625 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.521e-05/0.1357, allocations: 37.7 kB / 0.6625 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1357, allocations: 7.984 kB / 0.6626 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1357, allocations: 0 / 0.6626 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1357, allocations: 12.03 kB / 0.6626 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5e-05/0.1358, allocations: 3.938 kB / 0.6626 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1358, allocations: 3.938 kB / 0.6626 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.1358, allocations: 4 kB / 0.6626 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1358, allocations: 0 / 0.6626 GB, free: 7.723 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 5.877e-05/0.1359, allocations: 105.8 kB / 0.6627 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.1359, allocations: 0 / 0.6627 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.136, allocations: 44.81 kB / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.136, allocations: 11.95 kB / 0.6627 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.136, allocations: 0 / 0.6627 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.136, allocations: 81.11 kB / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.136, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.1361, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.1361, allocations: 7.984 kB / 0.6628 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.443e-05/0.1362, allocations: 112.9 kB / 0.6629 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001064/0.1363, allocations: 214.8 kB / 0.6631 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.23e-05/0.1363, allocations: 11.98 kB / 0.6631 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.265e-05/0.1363, allocations: 75.28 kB / 0.6632 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of Backend: time 2.2e-07/0.1363, allocations: 0 / 0.6632 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1367, allocations: 86.34 kB / 0.6633 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002831/0.137, allocations: 0.5347 MB / 0.6638 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of Templates: time 0.002191/0.1392, allocations: 351.9 kB / 0.6642 GB, free: 5.992 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)