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.001025/0.001025, allocations: 106.2 kB / 16.41 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.001057/0.001057, allocations: 190.7 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.81 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 80.22 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001571/0.1354, allocations: 0.5769 MB / 0.6609 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.1357, allocations: 50.41 kB / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.1357, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1357, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.1357, allocations: 3.938 kB / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.1359, allocations: 15.97 kB / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.136, allocations: 4 kB / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1361, allocations: 0 / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.1361, allocations: 3.938 kB / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.1361, allocations: 0 / 0.661 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1361, allocations: 8 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.1362, allocations: 11.98 kB / 0.661 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1362, allocations: 3.984 kB / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.1362, allocations: 0 / 0.661 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.774e-05/0.1363, allocations: 11.98 kB / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1363, allocations: 0 / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.825e-06/0.1363, allocations: 0 / 0.6611 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1363, allocations: 3.938 kB / 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.0002594/0.1366, allocations: 311.6 kB / 0.6614 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1366, allocations: 12.03 kB / 0.6614 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.1367, allocations: 4.938 kB / 0.6614 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.1368, allocations: 172.2 kB / 0.6615 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1368, allocations: 384 / 0.6615 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1368, allocations: 384 / 0.6615 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.1369, allocations: 38.25 kB / 0.6616 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1369, allocations: 192 / 0.6616 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1369, allocations: 3.938 kB / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1369, allocations: 0 / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.1369, allocations: 7.984 kB / 0.6616 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.1371, allocations: 153.7 kB / 0.6617 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.1371, allocations: 22.55 kB / 0.6618 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.1372, allocations: 13.25 kB / 0.6618 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.1373, allocations: 77.11 kB / 0.6618 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1373, allocations: 38.56 kB / 0.6619 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.1373, allocations: 0 / 0.6619 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.1375, allocations: 45.72 kB / 0.6619 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.1375, allocations: 51.41 kB / 0.662 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.465e-05/0.1376, allocations: 93.86 kB / 0.6621 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1376, allocations: 25.7 kB / 0.6621 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1376, allocations: 80.14 kB / 0.6622 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1376, allocations: 7.844 kB / 0.6622 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1377, allocations: 13.72 kB / 0.6622 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.1377, allocations: 310.8 kB / 0.6625 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.1378, allocations: 16.02 kB / 0.6625 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-06/0.1378, allocations: 0 / 0.6625 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.1378, allocations: 16.86 kB / 0.6625 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1378, allocations: 0 / 0.6625 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.275e-05/0.1379, allocations: 37.7 kB / 0.6625 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1379, allocations: 4 kB / 0.6625 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1379, allocations: 3.984 kB / 0.6626 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1379, allocations: 3.938 kB / 0.6626 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/0.138, allocations: 11.88 kB / 0.6626 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.138, allocations: 4.094 kB / 0.6626 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.138, allocations: 3.938 kB / 0.6626 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.138, 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.545e-05/0.1381, allocations: 109.8 kB / 0.6627 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.1381, allocations: 0 / 0.6627 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.1382, allocations: 48.81 kB / 0.6627 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1382, allocations: 3.938 kB / 0.6627 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1382, allocations: 0 / 0.6627 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.1383, allocations: 81.14 kB / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1383, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.1383, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1383, allocations: 15.92 kB / 0.6628 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.649e-05/0.1384, allocations: 112.9 kB / 0.6629 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001086/0.1385, allocations: 210.8 kB / 0.6631 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.073e-05/0.1385, allocations: 12.06 kB / 0.6631 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.1386, allocations: 75.28 kB / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of Backend: time 3.4e-07/0.1386, allocations: 0 / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1389, allocations: 92.2 kB / 0.6633 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003076/0.1393, allocations: 0.5331 MB / 0.6638 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Templates: time 0.002194/0.1415, allocations: 356.8 kB / 0.6642 GB, free: 5.977 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)