Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006276/0.006276, allocations: 1.935 MB / 18.67 MB, free: 3.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 225 MB, free: 4.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 100.7 kB / 272.9 MB, free: 6.055 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001025, allocations: 55.92 kB / 330.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1824, allocations: 47.12 MB / 377.9 MB, free: 44.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002932/0.1854, allocations: 2.812 MB / 380.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.1861, allocations: 0.6307 MB / 381.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1862, allocations: 2.969 kB / 381.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.1863, allocations: 17.06 kB / 381.4 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1864, allocations: 67.48 kB / 381.4 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.341e-05/0.1865, allocations: 37.84 kB / 381.5 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1867, allocations: 231.2 kB / 381.7 MB, free: 41.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1868, allocations: 46.02 kB / 381.8 MB, free: 41.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.1869, allocations: 80.81 kB / 381.8 MB, free: 41.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.187, allocations: 93.61 kB / 381.9 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.187, allocations: 10.19 kB / 381.9 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.1871, allocations: 9.25 kB / 381.9 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.1871, allocations: 33.16 kB / 382 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.1872, allocations: 94.75 kB / 382.1 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1873, allocations: 179.9 kB / 382.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1873, allocations: 0 / 382.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1874, allocations: 1.438 kB / 382.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1874, allocations: 3.938 kB / 382.3 MB, free: 41.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005591/0.1879, allocations: 0.4955 MB / 382.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.188, allocations: 12.89 kB / 382.8 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.188, allocations: 25.19 kB / 382.8 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1882, allocations: 218.6 kB / 383 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1882, allocations: 14.55 kB / 383 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1882, allocations: 19.38 kB / 383 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1885, allocations: 150.2 kB / 383.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1885, allocations: 1.594 kB / 383.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1885, allocations: 5.25 kB / 383.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1885, allocations: 4 kB / 383.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1888, allocations: 121.5 kB / 383.3 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.1895, allocations: 0.5501 MB / 383.9 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1897, allocations: 91.42 kB / 383.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1898, allocations: 68.75 kB / 384 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1898, allocations: 1.469 kB / 384 MB, free: 39.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.1898, allocations: 39.72 kB / 384.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1898, allocations: 0 / 384.1 MB, free: 39.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00142/0.1912, allocations: 0.6185 MB / 384.7 MB, free: 39.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1913, allocations: 53.81 kB / 384.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1914, allocations: 204.4 kB / 384.9 MB, free: 39.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1914, allocations: 26.86 kB / 385 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1915, allocations: 144.2 kB / 385.1 MB, free: 38.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1915, allocations: 57.33 kB / 385.1 MB, free: 38.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.1916, allocations: 30.31 kB / 385.2 MB, free: 38.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.1916, allocations: 330.3 kB / 385.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1917, allocations: 45.67 kB / 385.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1918, allocations: 73.73 kB / 385.6 MB, free: 38.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.192, allocations: 132.8 kB / 385.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.192, allocations: 1.219 kB / 385.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002638/0.1923, allocations: 166.1 kB / 385.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1923, allocations: 4.531 kB / 385.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1923, allocations: 1.219 kB / 385.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1924, allocations: 5 kB / 385.9 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1925, allocations: 48 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1926, allocations: 2.25 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.1927, allocations: 3.625 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1927, allocations: 8.719 kB / 386 MB, free: 38.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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 6.727e-05/0.1927, allocations: 133.1 kB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1928, allocations: 20.72 kB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.1928, allocations: 22.47 kB / 386.2 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1928, allocations: 10.53 kB / 386.2 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1928, allocations: 4 kB / 386.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1929, allocations: 3.984 kB / 386.2 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.1934, allocations: 0.5833 MB / 386.8 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1934, allocations: 4 kB / 386.8 MB, free: 37.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1936, allocations: 43.91 kB / 386.8 MB, free: 37.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1936, allocations: 4 kB / 386.8 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1936, allocations: 4 kB / 386.8 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1936, allocations: 4 kB / 386.8 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1936, allocations: 0 / 386.8 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.1952, allocations: 1.749 MB / 388.6 MB, free: 35.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.1953, allocations: 116.8 kB / 388.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1953, allocations: 0 / 388.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1955, allocations: 19.92 kB / 388.7 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1955, allocations: 20.05 kB / 388.7 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1955, allocations: 15.92 kB / 388.7 MB, free: 35.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.1956, allocations: 144.6 kB / 388.9 MB, free: 35.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1956, allocations: 0 / 388.9 MB, free: 35.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.1959, allocations: 59.94 kB / 388.9 MB, free: 35.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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 6.249e-05/0.196, allocations: 99.19 kB / 389 MB, free: 34.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1962, allocations: 125.4 kB / 389.1 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1963, allocations: 0 / 389.1 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1964, allocations: 71.84 kB / 389.2 MB, free: 34.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1967, allocations: 34.97 kB / 389.3 MB, free: 34.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.1973, allocations: 0.7255 MB / 390 MB, free: 33.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1975, allocations: 0.7439 MB / 390.7 MB, free: 33.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.9e-05/0.1976, allocations: 17.41 kB / 390.7 MB, free: 33.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1976, allocations: 19.44 kB / 390.8 MB, free: 33.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1976, allocations: 0 / 390.8 MB, free: 33.11 MB / 298.7 MB Notification: Performance of Templates: time 0.003047/0.2007, allocations: 1.582 MB / 392.3 MB, free: 31.54 MB / 298.7 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)