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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 105.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007907/0.007907, allocations: 1.927 MB / 272.4 MB, free: 10.15 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.91 kB / 330.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06707/0.06851, allocations: 47.13 MB / 377.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.1175/0.1861, allocations: 2.361 MB / 380 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.1869, allocations: 0.5767 MB / 380.6 MB, free: 51.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1871, allocations: 3.188 kB / 380.6 MB, free: 51.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.1872, allocations: 31.52 kB / 380.6 MB, free: 51.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1874, allocations: 73.47 kB / 380.7 MB, free: 51.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1875, allocations: 44 kB / 380.7 MB, free: 51.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1877, allocations: 240.5 kB / 381 MB, free: 51.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1878, allocations: 46.94 kB / 381 MB, free: 51.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.1879, allocations: 89.34 kB / 381.1 MB, free: 51.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1881, allocations: 89.61 kB / 381.2 MB, free: 51.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1881, allocations: 15.28 kB / 381.2 MB, free: 51.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.1882, allocations: 17.62 kB / 381.2 MB, free: 51.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.1882, allocations: 39.05 kB / 381.3 MB, free: 51.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.1883, allocations: 99.91 kB / 381.3 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1885, allocations: 189.4 kB / 381.5 MB, free: 51.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1885, allocations: 0.7969 kB / 381.5 MB, free: 51.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1885, allocations: 0.5938 kB / 381.5 MB, free: 51.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1885, allocations: 1 kB / 381.5 MB, free: 51.66 MB / 318.1 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.0005781/0.1891, allocations: 0.4996 MB / 382 MB, free: 51.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1891, allocations: 13.89 kB / 382 MB, free: 51.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.1892, allocations: 23.66 kB / 382.1 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1893, allocations: 217.3 kB / 382.3 MB, free: 51.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1893, allocations: 14.7 kB / 382.3 MB, free: 51.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.1894, allocations: 21.86 kB / 382.3 MB, free: 51.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1896, allocations: 153.1 kB / 382.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1897, allocations: 0.5938 kB / 382.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1897, allocations: 12.41 kB / 382.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1897, allocations: 3.594 kB / 382.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.1899, allocations: 114.9 kB / 382.6 MB, free: 50.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.1908, allocations: 0.5474 MB / 383.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.191, allocations: 104.4 kB / 383.2 MB, free: 50.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1911, allocations: 55.2 kB / 383.3 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1911, allocations: 1.219 kB / 383.3 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.1911, allocations: 36.45 kB / 383.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1911, allocations: 0 / 383.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001517/0.1926, allocations: 0.6176 MB / 384 MB, free: 50.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1927, allocations: 54.16 kB / 384 MB, free: 50.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1928, allocations: 207.6 kB / 384.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1928, allocations: 29.39 kB / 384.2 MB, free: 50.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.1929, allocations: 132.7 kB / 384.4 MB, free: 50.01 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1929, allocations: 58.78 kB / 384.4 MB, free: 49.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.193, allocations: 39.77 kB / 384.5 MB, free: 49.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.193, allocations: 323.3 kB / 384.8 MB, free: 49.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1931, allocations: 49.08 kB / 384.8 MB, free: 49.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1933, allocations: 72.05 kB / 384.9 MB, free: 49.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1935, allocations: 132.1 kB / 385 MB, free: 49.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1935, allocations: 0 / 385 MB, free: 49.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000274/0.1938, allocations: 174 kB / 385.2 MB, free: 49.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1938, allocations: 4.562 kB / 385.2 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1938, allocations: 0.7188 kB / 385.2 MB, free: 49.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1938, allocations: 10.5 kB / 385.2 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.194, allocations: 40.62 kB / 385.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.194, allocations: 3.266 kB / 385.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.1941, allocations: 9.719 kB / 385.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.1941, allocations: 4.516 kB / 385.3 MB, free: 49.43 MB / 318.1 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.856e-05/0.1942, allocations: 131.3 kB / 385.4 MB, free: 49.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1942, allocations: 20.69 kB / 385.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.1943, allocations: 28.17 kB / 385.4 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1943, allocations: 5.875 kB / 385.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1943, allocations: 1.125 kB / 385.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1943, allocations: 1.125 kB / 385.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.195, allocations: 0.588 MB / 386 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.195, allocations: 4.281 kB / 386 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1952, allocations: 41.42 kB / 386.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1952, allocations: 2.812 kB / 386.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1952, allocations: 3.438 kB / 386.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1952, allocations: 3.859 kB / 386.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1952, allocations: 7.141 kB / 386.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.1956, allocations: 375.4 kB / 386.5 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.1957, allocations: 110.7 kB / 386.6 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1957, allocations: 7.547 kB / 386.6 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1959, allocations: 12.5 kB / 386.6 MB, free: 48.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1959, allocations: 24.31 kB / 386.6 MB, free: 48.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1959, allocations: 9.719 kB / 386.6 MB, free: 48.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.091e-05/0.196, allocations: 151.3 kB / 386.8 MB, free: 48.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.196, allocations: 0 / 386.8 MB, free: 48.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1963, allocations: 38.81 kB / 386.8 MB, free: 48.29 MB / 318.1 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 5.89e-05/0.1964, allocations: 96.91 kB / 386.9 MB, free: 48.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1967, allocations: 139 kB / 387 MB, free: 48.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1967, allocations: 0 / 387 MB, free: 48.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1968, allocations: 70.91 kB / 387.1 MB, free: 48.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1972, allocations: 28.89 kB / 387.1 MB, free: 48.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.1978, allocations: 0.54 MB / 387.7 MB, free: 47.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.198, allocations: 0.7336 MB / 388.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.198, allocations: 16.94 kB / 388.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.198, allocations: 0 / 388.4 MB, free: 47.04 MB / 318.1 MB Notification: Performance of Templates: time 0.003438/0.2015, allocations: 1.977 MB / 390.4 MB, free: 46.91 MB / 318.1 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)