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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001666/0.001666, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.561/1.561, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.869/0.869, allocations: 134 MB / 440.3 MB, free: 168 kB / 334.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.73 kB / 0.6108 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.193, allocations: 84.72 MB / 0.6935 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001747/0.1948, allocations: 0.5845 MB / 0.6941 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.1951, allocations: 52.27 kB / 0.6941 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.1951, allocations: 4 kB / 0.6941 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1951, allocations: 3.938 kB / 0.6941 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.1951, allocations: 0 / 0.6941 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1953, allocations: 15.97 kB / 0.6942 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.1954, allocations: 3.938 kB / 0.6942 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.1954, allocations: 4 kB / 0.6942 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.1955, allocations: 0 / 0.6942 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.1955, allocations: 3.984 kB / 0.6942 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1955, allocations: 0 / 0.6942 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.1956, allocations: 8 kB / 0.6942 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1956, allocations: 8 kB / 0.6942 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1956, allocations: 7.984 kB / 0.6942 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1957, allocations: 11.92 kB / 0.6942 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1957, allocations: 0 / 0.6942 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1957, allocations: 0 / 0.6942 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1957, allocations: 0 / 0.6942 GB, free: 8.273 MB / 0.5137 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.0003562/0.1961, allocations: 250.3 kB / 0.6944 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1961, allocations: 12.03 kB / 0.6944 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.1962, allocations: 0.9375 kB / 0.6944 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1963, allocations: 102.5 kB / 0.6945 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1963, allocations: 4.375 kB / 0.6946 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1963, allocations: 4.375 kB / 0.6946 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1964, allocations: 26.27 kB / 0.6946 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1964, allocations: 192 / 0.6946 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1964, allocations: 3.938 kB / 0.6946 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1964, allocations: 7.984 kB / 0.6946 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.1965, allocations: 4 kB / 0.6946 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1966, allocations: 116.8 kB / 0.6947 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.765e-05/0.1967, allocations: 34.53 kB / 0.6947 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.1967, allocations: 8.922 kB / 0.6947 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.1969, allocations: 4 kB / 0.6948 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1969, allocations: 30.56 kB / 0.6948 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1969, allocations: 0 / 0.6948 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.1971, allocations: 45.62 kB / 0.6948 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1971, allocations: 63.41 kB / 0.6949 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.1972, allocations: 89.86 kB / 0.695 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1972, allocations: 25.7 kB / 0.695 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1972, allocations: 80.14 kB / 0.6951 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1973, allocations: 11.95 kB / 0.6951 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1973, allocations: 9.719 kB / 0.6951 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1974, allocations: 318.8 kB / 0.6954 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.1975, allocations: 0 / 0.6954 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.1975, allocations: 8 kB / 0.6954 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.1975, allocations: 12.86 kB / 0.6954 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1975, allocations: 3.938 kB / 0.6954 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.595e-05/0.1976, allocations: 41.64 kB / 0.6955 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1976, allocations: 7.984 kB / 0.6955 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1976, allocations: 0 / 0.6955 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1976, allocations: 3.938 kB / 0.6955 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.1977, allocations: 8 kB / 0.6955 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1977, allocations: 0 / 0.6955 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.1977, allocations: 4.094 kB / 0.6955 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1977, allocations: 4 kB / 0.6955 GB, free: 6.766 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 (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 8.839e-05/0.1978, allocations: 105.8 kB / 0.6956 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.1978, allocations: 0 / 0.6956 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1979, allocations: 48.78 kB / 0.6956 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1979, allocations: 0 / 0.6956 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1979, allocations: 0 / 0.6956 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1979, allocations: 0 / 0.6956 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.198, allocations: 120.8 kB / 0.6957 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.198, allocations: 4.031 kB / 0.6958 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.198, allocations: 7.938 kB / 0.6958 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.198, allocations: 0 / 0.6958 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.198, allocations: 7.938 kB / 0.6958 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.198, allocations: 0 / 0.6958 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.198, allocations: 0 / 0.6958 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.1981, allocations: 65.12 kB / 0.6958 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.1981, allocations: 12.02 kB / 0.6958 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.1981, allocations: 3.938 kB / 0.6958 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.1982, allocations: 0 / 0.6958 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1982, allocations: 7.984 kB / 0.6959 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1982, allocations: 0 / 0.6959 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.1982, allocations: 75.28 kB / 0.6959 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1982, allocations: 0 / 0.6959 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001843/0.1984, allocations: 7.938 kB / 0.6959 GB, free: 6.234 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001554/0.1986, allocations: 103.2 kB / 0.696 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.1987, allocations: 15.94 kB / 0.696 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1987, allocations: 3.938 kB / 0.696 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/0.1987, allocations: 7.984 kB / 0.6961 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1988, allocations: 0 / 0.6961 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.199, allocations: 88.23 kB / 0.6961 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1994, allocations: 0.6768 MB / 0.6968 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.575e-05/0.1994, allocations: 3.906 kB / 0.6968 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.1994, allocations: 11.56 kB / 0.6968 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1994, allocations: 0 / 0.6968 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.002738/0.2021, allocations: 328.8 kB / 0.6971 GB, free: 4.945 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.867100942879915] Failed to read output from testmodel.py, exit status != 0: 0.20935515314340591 0.22527411300000003 0.026405136000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd5359917b0>