Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00106/0.001061, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001013/0.001013, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7846/0.7846, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 61.25 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002584/0.1334, allocations: 1.508 MB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.1338, allocations: 128.4 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.1338, allocations: 4 kB / 0.6619 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1339, allocations: 7.922 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.1339, allocations: 0 / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1342, allocations: 19.92 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.1343, allocations: 31.91 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.1343, allocations: 15.98 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1344, allocations: 8 kB / 0.662 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.1344, allocations: 19.92 kB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1345, allocations: 4 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.1345, allocations: 7.984 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1346, allocations: 11.94 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1346, allocations: 11.92 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1347, allocations: 39.89 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1347, allocations: 0 / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1347, allocations: 0 / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1347, allocations: 0 / 0.6621 GB, free: 8.41 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.0004344/0.1352, allocations: 347.4 kB / 0.6624 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1352, allocations: 11.97 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1353, allocations: 0.9375 kB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.1354, allocations: 176.3 kB / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.1354, allocations: 384 / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1354, allocations: 384 / 0.6626 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1356, allocations: 54.23 kB / 0.6627 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1356, allocations: 192 / 0.6627 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1356, allocations: 7.938 kB / 0.6627 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1356, allocations: 8 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.1358, allocations: 35.95 kB / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1362, allocations: 268.9 kB / 0.663 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1365, allocations: 62.41 kB / 0.663 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-05/0.1366, allocations: 32.89 kB / 0.6631 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1367, allocations: 81.11 kB / 0.6632 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1368, allocations: 34.56 kB / 0.6632 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1368, allocations: 0 / 0.6632 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.1371, allocations: 93.56 kB / 0.6633 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1372, allocations: 55.41 kB / 0.6633 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.1373, allocations: 105.8 kB / 0.6634 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1373, allocations: 25.7 kB / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.1373, allocations: 80.14 kB / 0.6635 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1373, allocations: 11.84 kB / 0.6635 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1374, allocations: 17.7 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.1375, allocations: 318.8 kB / 0.6639 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.1376, allocations: 15.98 kB / 0.6639 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.1377, allocations: 27.91 kB / 0.6639 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1378, allocations: 40.83 kB / 0.6639 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1379, allocations: 0 / 0.6639 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000219/0.1381, allocations: 81.52 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1381, allocations: 4 kB / 0.664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1381, allocations: 4 kB / 0.664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1381, allocations: 4 kB / 0.664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.1382, allocations: 7.984 kB / 0.664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1382, allocations: 4 kB / 0.664 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.1383, allocations: 19.89 kB / 0.6641 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1383, allocations: 0 / 0.6641 GB, free: 6.168 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.547e-05/0.1384, allocations: 109.8 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1384, allocations: 4 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1387, allocations: 89.08 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1387, allocations: 0 / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1387, allocations: 0 / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1387, allocations: 81.11 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1387, allocations: 3.938 kB / 0.6643 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.1388, allocations: 7.984 kB / 0.6643 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1389, allocations: 8.484 kB / 0.6644 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002822/0.1392, allocations: 160.9 kB / 0.6645 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000282/0.1395, allocations: 250.8 kB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000104/0.1396, allocations: 23.97 kB / 0.6648 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.1396, allocations: 83.28 kB / 0.6648 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Backend: time 4.41e-07/0.1396, allocations: 0 / 0.6648 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.1401, allocations: 102.4 kB / 0.6649 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003791/0.1404, allocations: 0.5608 MB / 0.6655 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.0027/0.1432, allocations: 0.8076 MB / 0.6663 GB, free: 3.781 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1)