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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9582/0.9582, allocations: 134 MB / 438.5 MB, free: 13.99 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.91 kB / 0.6084 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.516, allocations: 84.67 MB / 0.691 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002826/0.5188, allocations: 1.523 MB / 0.6925 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000373/0.5192, allocations: 129.6 kB / 0.6927 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.5192, allocations: 5.125 kB / 0.6927 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.5192, allocations: 3.938 kB / 0.6927 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.5193, allocations: 1.188 kB / 0.6927 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.5195, allocations: 22.06 kB / 0.6927 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.5196, allocations: 31.42 kB / 0.6927 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.5198, allocations: 7.453 kB / 0.6927 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.5198, allocations: 16.61 kB / 0.6927 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.5199, allocations: 17.33 kB / 0.6928 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.5199, allocations: 2.375 kB / 0.6928 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.5199, allocations: 14.06 kB / 0.6928 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.52, allocations: 9.5 kB / 0.6928 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.52, allocations: 14.83 kB / 0.6928 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.5201, allocations: 32.61 kB / 0.6928 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5201, allocations: 0 / 0.6928 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5201, allocations: 1.438 kB / 0.6928 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.5201, allocations: 0 / 0.6928 GB, free: 0.7539 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.0004793/0.5206, allocations: 347 kB / 0.6932 GB, free: 392 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5207, allocations: 8.719 kB / 0.6932 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.5207, allocations: 3.312 kB / 0.6932 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5208, allocations: 173.5 kB / 0.6933 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.5209, allocations: 1.781 kB / 0.6933 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.5209, allocations: 1.875 kB / 0.6933 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.5211, allocations: 61.06 kB / 0.6934 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5211, allocations: 192 / 0.6934 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5211, allocations: 4.969 kB / 0.6934 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5211, allocations: 0 / 0.6934 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.5213, allocations: 46.17 kB / 0.6934 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.5218, allocations: 258.7 kB / 0.6937 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.5222, allocations: 64.53 kB / 0.6938 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.5223, allocations: 27.64 kB / 0.6938 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.5225, allocations: 80.7 kB / 0.6939 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5225, allocations: 35.88 kB / 0.6939 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.5225, allocations: 0 / 0.6939 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005035/0.523, allocations: 97.34 kB / 0.694 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.5231, allocations: 56.5 kB / 0.694 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5232, allocations: 95.2 kB / 0.6941 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.5232, allocations: 25.7 kB / 0.6942 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.5233, allocations: 105.2 kB / 0.6943 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5233, allocations: 4.953 kB / 0.6943 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.5233, allocations: 18.12 kB / 0.6943 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5235, allocations: 316 kB / 0.6946 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.5236, allocations: 18.08 kB / 0.6946 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.5237, allocations: 16.2 kB / 0.6946 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.5238, allocations: 53.39 kB / 0.6947 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5238, allocations: 3.938 kB / 0.6947 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002333/0.5241, allocations: 76.34 kB / 0.6947 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5241, allocations: 5.375 kB / 0.6947 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.5241, allocations: 3.984 kB / 0.6947 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5241, allocations: 1.594 kB / 0.6948 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.5242, allocations: 7.031 kB / 0.6948 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5242, allocations: 11.97 kB / 0.6948 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.5243, allocations: 4.219 kB / 0.6948 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.5243, allocations: 1.094 kB / 0.6948 GB, free: 14.77 MB / 0.5137 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 9.547e-05/0.5244, allocations: 115.9 kB / 0.6949 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.5244, allocations: 5.109 kB / 0.6949 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.5247, allocations: 86.88 kB / 0.695 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5247, allocations: 9.188 kB / 0.695 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5247, allocations: 0 / 0.695 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5247, allocations: 0 / 0.695 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.5249, allocations: 164.5 kB / 0.6951 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5249, allocations: 3.984 kB / 0.6951 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.525, allocations: 8.281 kB / 0.6951 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.525, allocations: 0 / 0.6951 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.525, allocations: 5.234 kB / 0.6952 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.525, allocations: 0 / 0.6952 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.525, allocations: 0 / 0.6952 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.5253, allocations: 171.5 kB / 0.6953 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.5253, allocations: 82.3 kB / 0.6954 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5254, allocations: 7.922 kB / 0.6954 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.5254, allocations: 3.469 kB / 0.6954 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.5255, allocations: 15.39 kB / 0.6954 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.5255, allocations: 1.156 kB / 0.6954 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.5256, allocations: 82.66 kB / 0.6955 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5256, allocations: 0 / 0.6955 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002233/0.5258, allocations: 6.688 kB / 0.6955 GB, free: 14.01 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001758/0.526, allocations: 109.8 kB / 0.6956 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.5262, allocations: 40.8 kB / 0.6957 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5262, allocations: 0 / 0.6957 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.5263, allocations: 26.83 kB / 0.6957 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.5266, allocations: 10.2 kB / 0.6957 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.5269, allocations: 130.4 kB / 0.6958 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5273, allocations: 0.6784 MB / 0.6965 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.5273, allocations: 2.594 kB / 0.6965 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.5274, allocations: 13.56 kB / 0.6965 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.5274, allocations: 0 / 0.6965 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.003725/0.5311, allocations: 0.7048 MB / 0.6972 GB, free: 12.68 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.987729255110025]