Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.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.001766/0.001766, allocations: 108.7 kB / 17.12 MB, free: 6.031 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.002069/0.002069, allocations: 196.2 kB / 20.08 MB, free: 3.09 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.37/1.37, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.033/1.033, allocations: 177.8 MB / 481.2 MB, free: 1.469 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.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.52 kB / 0.6695 GB, free: 9.156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 95.09 MB / 0.7623 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002786/0.1811, allocations: 1.576 MB / 0.7639 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.1821, allocations: 0.5473 MB / 0.7644 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.1821, allocations: 0 / 0.7644 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1821, allocations: 7.938 kB / 0.7644 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.893e-05/0.1822, allocations: 11.86 kB / 0.7644 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1825, allocations: 51.81 kB / 0.7645 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1827, allocations: 107.8 kB / 0.7646 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.1828, allocations: 12.17 kB / 0.7646 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.1829, allocations: 43.83 kB / 0.7646 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.183, allocations: 47.83 kB / 0.7647 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.183, allocations: 8 kB / 0.7647 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.183, allocations: 8 kB / 0.7647 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.183, allocations: 19.92 kB / 0.7647 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.1831, allocations: 39.83 kB / 0.7647 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1832, allocations: 83.69 kB / 0.7648 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1832, allocations: 0 / 0.7648 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1832, allocations: 0 / 0.7648 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1833, allocations: 0 / 0.7648 GB, free: 11.11 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007539/0.184, allocations: 462.5 kB / 0.7653 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.184, allocations: 15.97 kB / 0.7653 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.1841, allocations: 12.83 kB / 0.7653 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1844, allocations: 188.3 kB / 0.7655 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.1844, allocations: 38.25 kB / 0.7655 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1845, allocations: 4.375 kB / 0.7655 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1847, allocations: 105.5 kB / 0.7656 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1847, allocations: 0 / 0.7656 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1848, allocations: 3.938 kB / 0.7656 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1848, allocations: 4 kB / 0.7656 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1851, allocations: 79.86 kB / 0.7657 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1856, allocations: 340.6 kB / 0.766 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.186, allocations: 94.59 kB / 0.7661 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1862, allocations: 44.83 kB / 0.7661 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1862, allocations: 4 kB / 0.7662 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1865, allocations: 115.3 kB / 0.7663 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.1865, allocations: 0 / 0.7663 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006051/0.1871, allocations: 181.5 kB / 0.7664 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1872, allocations: 55.41 kB / 0.7665 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1873, allocations: 126.1 kB / 0.7666 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1873, allocations: 25.7 kB / 0.7666 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.1874, allocations: 100 kB / 0.7667 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1874, allocations: 31.73 kB / 0.7668 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.1875, allocations: 33.7 kB / 0.7668 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1876, allocations: 322.8 kB / 0.7671 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.1878, allocations: 51.95 kB / 0.7671 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.188, allocations: 67.22 kB / 0.7672 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.1883, allocations: 165 kB / 0.7674 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1883, allocations: 0 / 0.7674 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004961/0.1888, allocations: 224.3 kB / 0.7676 GB, free: 8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.1889, allocations: 63.41 kB / 0.7676 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1889, allocations: 0 / 0.7676 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1889, allocations: 4 kB / 0.7676 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1891, allocations: 31.94 kB / 0.7677 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1891, allocations: 0 / 0.7677 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1892, allocations: 11.98 kB / 0.7677 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1892, allocations: 16.25 kB / 0.7677 GB, free: 7.863 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001203/0.1893, allocations: 121.8 kB / 0.7678 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1894, allocations: 7.953 kB / 0.7678 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1894, allocations: 12.36 kB / 0.7678 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1894, allocations: 11.94 kB / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1894, allocations: 0 / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1894, allocations: 0 / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.1897, allocations: 205.5 kB / 0.768 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1897, allocations: 0 / 0.768 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.1898, allocations: 15.98 kB / 0.7681 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1898, allocations: 0 / 0.7681 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1898, allocations: 4 kB / 0.7681 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1898, allocations: 0 / 0.7681 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1898, allocations: 0 / 0.7681 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.1904, allocations: 228.8 kB / 0.7683 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1905, allocations: 81.06 kB / 0.7684 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1905, allocations: 11.94 kB / 0.7684 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1906, allocations: 20.02 kB / 0.7684 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.1907, allocations: 11.98 kB / 0.7684 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1907, allocations: 8 kB / 0.7684 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.016e-05/0.1908, allocations: 103.2 kB / 0.7685 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1908, allocations: 0 / 0.7685 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002105/0.191, allocations: 16 kB / 0.7685 GB, free: 6.922 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001653/0.1912, allocations: 111.2 kB / 0.7686 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.1917, allocations: 226.7 kB / 0.7688 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1917, allocations: 0 / 0.7688 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.1919, allocations: 51.91 kB / 0.7689 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1921, allocations: 23.98 kB / 0.7689 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.1929, allocations: 273.6 kB / 0.7692 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1932, allocations: 0.6964 MB / 0.7699 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.1933, allocations: 11.44 kB / 0.7699 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1933, allocations: 3.938 kB / 0.7699 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.003249/0.1965, allocations: 1.43 MB / 0.7713 GB, free: 4.023 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.944549048988847] Failed to read output from testmodel.py, exit status != 0: 0.20440905800205655 0.21838230899999994 0.032373719 Calling exit ...