Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001255/0.001255, allocations: 110.5 kB / 17.13 MB, free: 5.914 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.001329/0.001329, allocations: 192.3 kB / 20.08 MB, free: 2.977 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.427/1.427, allocations: 225.6 MB / 248.5 MB, free: 3.648 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.073/1.073, allocations: 177.8 MB / 481.2 MB, free: 1.766 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 74.05 kB / 0.6695 GB, free: 9.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 95.08 MB / 0.7624 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001812/0.1842, allocations: 0.5852 MB / 0.7629 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000275/0.1845, allocations: 51.78 kB / 0.763 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.1845, allocations: 0 / 0.763 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.1845, allocations: 0 / 0.763 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.1846, allocations: 0 / 0.763 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1848, allocations: 15.98 kB / 0.763 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.1848, allocations: 4 kB / 0.763 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.1849, allocations: 4 kB / 0.763 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.1849, allocations: 0 / 0.763 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.337e-05/0.1849, allocations: 3.984 kB / 0.763 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1849, allocations: 3.938 kB / 0.763 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.185, allocations: 12 kB / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.185, allocations: 0 / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.1851, allocations: 3.938 kB / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.1851, allocations: 15.97 kB / 0.763 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1852, allocations: 0 / 0.763 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1852, allocations: 7.938 kB / 0.763 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1852, allocations: 0 / 0.763 GB, free: 12.97 MB / 0.5762 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.0003485/0.1855, allocations: 315.5 kB / 0.7633 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1855, allocations: 12.03 kB / 0.7634 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.1856, allocations: 0.9375 kB / 0.7634 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1857, allocations: 160.4 kB / 0.7635 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.1857, allocations: 384 / 0.7635 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1857, allocations: 384 / 0.7635 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1858, allocations: 42.25 kB / 0.7635 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1858, allocations: 192 / 0.7635 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1858, allocations: 3.938 kB / 0.7636 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1858, allocations: 0 / 0.7636 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.1859, allocations: 4 kB / 0.7636 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.186, allocations: 149.7 kB / 0.7637 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.1861, allocations: 26.53 kB / 0.7637 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.1861, allocations: 4.859 kB / 0.7637 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.1862, allocations: 85.17 kB / 0.7638 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1863, allocations: 34.56 kB / 0.7638 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.925e-06/0.1863, allocations: 3.984 kB / 0.7638 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.1864, allocations: 49.56 kB / 0.7639 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1865, allocations: 51.41 kB / 0.7639 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/0.1865, allocations: 97.75 kB / 0.764 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1865, allocations: 29.7 kB / 0.7641 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.1866, allocations: 84.27 kB / 0.7641 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1866, allocations: 0 / 0.7641 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1866, allocations: 18.11 kB / 0.7642 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1867, allocations: 310.8 kB / 0.7645 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1868, allocations: 8 kB / 0.7645 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.1868, allocations: 0 / 0.7645 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.1868, allocations: 8.859 kB / 0.7645 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1868, allocations: 0 / 0.7645 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.7e-05/0.1869, allocations: 49.69 kB / 0.7645 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1869, allocations: 8 kB / 0.7645 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1869, allocations: 0 / 0.7645 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1869, allocations: 3.938 kB / 0.7645 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.1869, allocations: 4 kB / 0.7645 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1869, allocations: 3.938 kB / 0.7645 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.187, allocations: 0 / 0.7645 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-06/0.187, allocations: 0 / 0.7645 GB, free: 11.19 MB / 0.5762 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 7.022e-05/0.187, allocations: 109.8 kB / 0.7646 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.187, allocations: 4.031 kB / 0.7646 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.1871, allocations: 52.75 kB / 0.7647 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1871, allocations: 0 / 0.7647 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1871, allocations: 0 / 0.7647 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1871, allocations: 3.938 kB / 0.7647 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1872, allocations: 149.7 kB / 0.7648 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1872, allocations: 4 kB / 0.7648 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.1873, allocations: 0 / 0.7648 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1873, allocations: 0 / 0.7648 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1873, allocations: 7.938 kB / 0.7649 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1873, allocations: 4.031 kB / 0.7649 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1873, allocations: 0 / 0.7649 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.946e-05/0.1874, allocations: 65.08 kB / 0.7649 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.1874, allocations: 81.05 kB / 0.765 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1874, allocations: 3.938 kB / 0.765 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.1874, allocations: 3.984 kB / 0.765 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.1874, allocations: 4 kB / 0.765 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1874, allocations: 7.969 kB / 0.765 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.1875, allocations: 79.28 kB / 0.7651 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 0 / 0.7651 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001754/0.1877, allocations: 4 kB / 0.7651 GB, free: 10.52 MB / 0.5762 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.0001484/0.1878, allocations: 103.2 kB / 0.7652 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.681e-05/0.1879, allocations: 15.98 kB / 0.7652 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1879, allocations: 0 / 0.7652 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.1879, allocations: 8.062 kB / 0.7652 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.188, allocations: 3.938 kB / 0.7652 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.1882, allocations: 110.6 kB / 0.7653 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1885, allocations: 0.6806 MB / 0.766 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.1885, allocations: 7.438 kB / 0.766 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1885, allocations: 0 / 0.766 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.001844/0.1904, allocations: 469.6 kB / 0.7664 GB, free: 9.066 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.684496155008674] Failed to read output from testmodel.py, exit status != 0: 0.19740120999631472 0.210421571 0.022614317000000002 Calling exit ...