Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001775/0.001775, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.001352/0.001352, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.418/1.418, allocations: 225.6 MB / 248.5 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 175.7 MB / 479.1 MB, free: 3.461 MB / 366.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-master/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_dev_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.92 kB / 0.6664 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 94.54 MB / 0.7587 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002749/0.168, allocations: 1.512 MB / 0.7602 GB, free: 15.69 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.1684, allocations: 133.4 kB / 0.7603 GB, free: 15.56 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1684, allocations: 0 / 0.7603 GB, free: 15.56 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.1685, allocations: 3.938 kB / 0.7603 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.1685, allocations: 7.984 kB / 0.7603 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1687, allocations: 23.92 kB / 0.7603 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.1688, allocations: 35.86 kB / 0.7604 GB, free: 15.49 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.1689, allocations: 7.984 kB / 0.7604 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.1689, allocations: 8 kB / 0.7604 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.169, allocations: 19.91 kB / 0.7604 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.169, allocations: 4 kB / 0.7604 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 6.071e-05/0.1691, allocations: 11.98 kB / 0.7604 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1691, allocations: 8 kB / 0.7604 GB, free: 15.43 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1691, allocations: 11.92 kB / 0.7604 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.1692, allocations: 43.83 kB / 0.7605 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1692, allocations: 0 / 0.7605 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1692, allocations: 0 / 0.7605 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1692, allocations: 0 / 0.7605 GB, free: 15.38 MB / 0.5763 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.0004929/0.1697, allocations: 343.4 kB / 0.7608 GB, free: 14.99 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1698, allocations: 12.02 kB / 0.7608 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1698, allocations: 4.938 kB / 0.7608 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1699, allocations: 164.3 kB / 0.761 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1699, allocations: 384 / 0.761 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1699, allocations: 12.38 kB / 0.761 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1701, allocations: 62.09 kB / 0.761 GB, free: 14.7 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1702, allocations: 4.172 kB / 0.761 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1702, allocations: 7.938 kB / 0.761 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1702, allocations: 0 / 0.761 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1704, allocations: 39.95 kB / 0.7611 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1707, allocations: 261 kB / 0.7613 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.1711, allocations: 62.41 kB / 0.7614 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1712, allocations: 24.91 kB / 0.7614 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.1713, allocations: 85.09 kB / 0.7615 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1713, allocations: 30.56 kB / 0.7615 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1713, allocations: 4 kB / 0.7615 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0003878/0.1717, allocations: 89.64 kB / 0.7616 GB, free: 14 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1718, allocations: 55.39 kB / 0.7617 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.1718, allocations: 109.7 kB / 0.7618 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1719, allocations: 29.7 kB / 0.7618 GB, free: 13.79 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1719, allocations: 80.14 kB / 0.7619 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1719, allocations: 11.94 kB / 0.7619 GB, free: 13.69 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.172, allocations: 17.72 kB / 0.7619 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1721, allocations: 310.8 kB / 0.7622 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.1722, allocations: 23.97 kB / 0.7622 GB, free: 13.33 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.1723, allocations: 19.98 kB / 0.7622 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.1725, allocations: 40.81 kB / 0.7623 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1725, allocations: 7.938 kB / 0.7623 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000225/0.1727, allocations: 73.66 kB / 0.7624 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1727, allocations: 4 kB / 0.7624 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1727, allocations: 3.938 kB / 0.7624 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1727, allocations: 0 / 0.7624 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.1728, allocations: 11.98 kB / 0.7624 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1728, allocations: 0 / 0.7624 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.8e-05/0.1729, allocations: 11.92 kB / 0.7624 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1729, allocations: 8 kB / 0.7624 GB, free: 13.14 MB / 0.5763 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.028e-05/0.173, allocations: 113.8 kB / 0.7625 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.173, allocations: 8.469 kB / 0.7625 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.1733, allocations: 77.14 kB / 0.7626 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1733, allocations: 7.969 kB / 0.7626 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1733, allocations: 0 / 0.7626 GB, free: 12.92 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1733, allocations: 4 kB / 0.7626 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.1735, allocations: 173.6 kB / 0.7628 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1735, allocations: 4 kB / 0.7628 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.1736, allocations: 15.92 kB / 0.7628 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1736, allocations: 0 / 0.7628 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1736, allocations: 0 / 0.7628 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1736, allocations: 0 / 0.7628 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1736, allocations: 0 / 0.7628 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1738, allocations: 175.4 kB / 0.763 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1739, allocations: 81.11 kB / 0.763 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1739, allocations: 0 / 0.763 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.174, allocations: 7.984 kB / 0.763 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.174, allocations: 7.984 kB / 0.763 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1741, allocations: 4 kB / 0.7631 GB, free: 12.37 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.1741, allocations: 79.28 kB / 0.7631 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/0.1741, allocations: 0 / 0.7631 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002244/0.1743, allocations: 12 kB / 0.7631 GB, free: 12.28 MB / 0.5763 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.0001537/0.1745, allocations: 103.2 kB / 0.7632 GB, free: 12.17 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.1747, allocations: 43.94 kB / 0.7633 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1747, allocations: 3.938 kB / 0.7633 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.1748, allocations: 23.98 kB / 0.7633 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1751, allocations: 15.53 kB / 0.7633 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.1754, allocations: 135.3 kB / 0.7634 GB, free: 11.92 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1757, allocations: 0.6806 MB / 0.7641 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.1758, allocations: 15.42 kB / 0.7641 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.1758, allocations: 0 / 0.7641 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.002247/0.178, allocations: 0.7246 MB / 0.7648 GB, free: 10.48 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.851742220111191] Failed to read output from testmodel.py, exit status != 0: 0.18508531409315765 0.19967557000000002 0.027489824000000003 Calling exit ...