Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.00134/0.001339, allocations: 106.5 kB / 17.08 MB, free: 5.824 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.001345/0.001345, allocations: 193.2 kB / 20.03 MB, free: 2.949 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: 222.9 MB / 245.7 MB, free: 4.227 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.17/1.17, allocations: 173.4 MB / 471.3 MB, free: 6.637 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.56 kB / 0.649 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 89.53 MB / 0.7364 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003222/0.1835, allocations: 1.516 MB / 0.7379 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.1839, allocations: 115.5 kB / 0.738 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.184, allocations: 0 / 0.738 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1841, allocations: 11.88 kB / 0.738 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.1842, allocations: 15.92 kB / 0.738 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1844, allocations: 23.97 kB / 0.7381 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1846, allocations: 55.77 kB / 0.7381 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1847, allocations: 35.92 kB / 0.7382 GB, free: 1.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.1848, allocations: 23.92 kB / 0.7382 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.1849, allocations: 31.84 kB / 0.7382 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1849, allocations: 4 kB / 0.7382 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.185, allocations: 8 kB / 0.7382 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.185, allocations: 15.98 kB / 0.7382 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.1851, allocations: 35.78 kB / 0.7383 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1852, allocations: 59.69 kB / 0.7383 GB, free: 1.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1852, allocations: 0 / 0.7383 GB, free: 1.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1852, allocations: 0 / 0.7383 GB, free: 1.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1853, allocations: 0 / 0.7383 GB, free: 1.66 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005932/0.1859, allocations: 387.1 kB / 0.7387 GB, free: 1.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1859, allocations: 12.03 kB / 0.7387 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.186, allocations: 4.938 kB / 0.7387 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1862, allocations: 184.2 kB / 0.7389 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1862, allocations: 4.375 kB / 0.7389 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1862, allocations: 384 / 0.7389 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.1865, allocations: 102.1 kB / 0.739 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1866, allocations: 192 / 0.739 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1866, allocations: 3.938 kB / 0.739 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1866, allocations: 4 kB / 0.739 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1869, allocations: 75.92 kB / 0.7391 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.1875, allocations: 332.7 kB / 0.7394 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1877, allocations: 54.55 kB / 0.7394 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1879, allocations: 40.91 kB / 0.7395 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.188, allocations: 3.938 kB / 0.7395 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.188, allocations: 38.56 kB / 0.7395 GB, free: 280 kB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.188, allocations: 0 / 0.7395 GB, free: 280 kB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005876/0.1886, allocations: 141.6 kB / 0.7397 GB, free: 132 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1886, allocations: 55.39 kB / 0.7397 GB, free: 64 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1888, allocations: 121.8 kB / 0.7398 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1888, allocations: 25.7 kB / 0.7398 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.1889, allocations: 92.09 kB / 0.7399 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1889, allocations: 15.88 kB / 0.7399 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1889, allocations: 13.72 kB / 0.74 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1891, allocations: 318.8 kB / 0.7403 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1893, allocations: 39.95 kB / 0.7403 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1894, allocations: 39.95 kB / 0.7403 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1897, allocations: 68.78 kB / 0.7404 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1897, allocations: 3.938 kB / 0.7404 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.1901, allocations: 105.6 kB / 0.7405 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1901, allocations: 4 kB / 0.7405 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1901, allocations: 0 / 0.7405 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1901, allocations: 4 kB / 0.7405 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1903, allocations: 19.97 kB / 0.7405 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1903, allocations: 0 / 0.7405 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.1904, allocations: 11.98 kB / 0.7405 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1904, allocations: 7.938 kB / 0.7406 GB, free: 15.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001221/0.1905, allocations: 117.8 kB / 0.7407 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1906, allocations: 11.94 kB / 0.7407 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.191, allocations: 113.5 kB / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.191, allocations: 0 / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.191, allocations: 4.375 kB / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.191, allocations: 0 / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1912, allocations: 177.6 kB / 0.741 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1912, allocations: 0 / 0.741 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1914, allocations: 19.97 kB / 0.741 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1914, allocations: 7.922 kB / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.1914, allocations: 0 / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1914, allocations: 0 / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1914, allocations: 0 / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.1918, allocations: 207.3 kB / 0.7412 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1919, allocations: 85.06 kB / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1919, allocations: 0 / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1921, allocations: 15.98 kB / 0.7413 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1921, allocations: 3.984 kB / 0.7413 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.1921, allocations: 4 kB / 0.7413 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.886e-05/0.1922, allocations: 91.28 kB / 0.7414 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1922, allocations: 0 / 0.7414 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002409/0.1925, allocations: 11.98 kB / 0.7414 GB, free: 14.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000192/0.1927, allocations: 107.1 kB / 0.7415 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.1931, allocations: 75.92 kB / 0.7416 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1931, allocations: 0 / 0.7416 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1933, allocations: 43.89 kB / 0.7416 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1936, allocations: 12 kB / 0.7416 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.194, allocations: 171.2 kB / 0.7418 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1944, allocations: 0.6962 MB / 0.7425 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.1945, allocations: 7.438 kB / 0.7425 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.1945, allocations: 0 / 0.7425 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.003148/0.1976, allocations: 0.9446 MB / 0.7434 GB, free: 12.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.992440897040069] Failed to read output from testmodel.py, exit status != 0: 0.20483341393992305 0.21993029800000002 0.032011393 Calling exit ...