Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") translateModel(MEV.Test.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001479, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001671/0.001671, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.19/1.19, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008243/0.008243, allocations: 1.938 MB / 272.5 MB, free: 10.1 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.001404/0.001404, allocations: 63.91 kB / 331.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06765/0.06907, allocations: 47.11 MB / 378.4 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003513/0.1779, allocations: 3.169 MB / 381.6 MB, free: 51.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.179, allocations: 0.7882 MB / 382.4 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1793, allocations: 5.469 kB / 382.4 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1794, allocations: 54.61 kB / 382.4 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.1797, allocations: 121.3 kB / 382.5 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.18, allocations: 93.41 kB / 382.6 MB, free: 51.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1804, allocations: 431.3 kB / 383 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.1806, allocations: 130.8 kB / 383.2 MB, free: 51.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1808, allocations: 150.6 kB / 383.3 MB, free: 51.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.181, allocations: 162.4 kB / 383.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.1811, allocations: 33.72 kB / 383.5 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1812, allocations: 42.97 kB / 383.6 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1813, allocations: 71.09 kB / 383.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1814, allocations: 184.6 kB / 383.8 MB, free: 51.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1818, allocations: 409.7 kB / 384.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1818, allocations: 2.016 kB / 384.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1818, allocations: 0 / 384.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1818, allocations: 0 / 384.2 MB, free: 50.98 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008731/0.1827, allocations: 0.6208 MB / 384.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1827, allocations: 13.67 kB / 384.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.1828, allocations: 41.03 kB / 384.9 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1831, allocations: 288.7 kB / 385.2 MB, free: 50.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1832, allocations: 23.38 kB / 385.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.1832, allocations: 29.75 kB / 385.2 MB, free: 50.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1836, allocations: 237.3 kB / 385.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1836, allocations: 3.812 kB / 385.5 MB, free: 50.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1837, allocations: 10.78 kB / 385.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1837, allocations: 6.562 kB / 385.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.184, allocations: 180.5 kB / 385.6 MB, free: 49.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1853, allocations: 0.9074 MB / 386.6 MB, free: 49.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.1857, allocations: 185.1 kB / 386.7 MB, free: 49.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1858, allocations: 82.62 kB / 386.8 MB, free: 49.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1858, allocations: 2.25 kB / 386.8 MB, free: 49.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.1859, allocations: 41.31 kB / 386.9 MB, free: 49.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1859, allocations: 0 / 386.9 MB, free: 49.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001459/0.1873, allocations: 0.9617 MB / 387.8 MB, free: 48.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.1874, allocations: 62.78 kB / 387.9 MB, free: 48.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1876, allocations: 285.1 kB / 388.2 MB, free: 48.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1876, allocations: 31.67 kB / 388.2 MB, free: 48.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1877, allocations: 179.9 kB / 388.4 MB, free: 48.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.1878, allocations: 93.62 kB / 388.5 MB, free: 48.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.1879, allocations: 63.02 kB / 388.5 MB, free: 48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.1879, allocations: 337.4 kB / 388.8 MB, free: 47.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1881, allocations: 83.19 kB / 388.9 MB, free: 47.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1882, allocations: 114.2 kB / 389 MB, free: 47.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1885, allocations: 204.9 kB / 389.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1885, allocations: 0 / 389.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003915/0.1889, allocations: 264 kB / 389.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1889, allocations: 5.5 kB / 389.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.189, allocations: 1.938 kB / 389.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.189, allocations: 7.344 kB / 389.5 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1892, allocations: 63.78 kB / 389.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1892, allocations: 7.406 kB / 389.6 MB, free: 47.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1894, allocations: 8.969 kB / 389.6 MB, free: 47.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1894, allocations: 7.484 kB / 389.6 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001821/0.1896, allocations: 181.6 kB / 389.8 MB, free: 47.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001319/0.1897, allocations: 116.4 kB / 389.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002423/0.19, allocations: 207.3 kB / 390.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.19, allocations: 0 / 390.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003582/0.1904, allocations: 263.2 kB / 390.3 MB, free: 46.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.1904, allocations: 9.156 kB / 390.4 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1904, allocations: 3.234 kB / 390.4 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/0.1904, allocations: 2.781 kB / 390.4 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1906, allocations: 66.95 kB / 390.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1906, allocations: 2.109 kB / 390.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1908, allocations: 10.75 kB / 390.4 MB, free: 46.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1908, allocations: 6.625 kB / 390.4 MB, free: 46.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 35 * 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.223e-05/0.1909, allocations: 191.9 kB / 390.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.1909, allocations: 30.31 kB / 390.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.1913, allocations: 246 kB / 390.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1913, allocations: 1.375 kB / 390.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1913, allocations: 1.75 kB / 390.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1913, allocations: 3.516 kB / 390.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.1921, allocations: 0.7136 MB / 391.6 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1921, allocations: 1.375 kB / 391.6 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.1924, allocations: 71.33 kB / 391.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1925, allocations: 1.531 kB / 391.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1925, allocations: 6.906 kB / 391.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1925, allocations: 3.312 kB / 391.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1925, allocations: 2.25 kB / 391.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.193, allocations: 439.1 kB / 392.1 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.1931, allocations: 131.7 kB / 392.3 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1931, allocations: 7.297 kB / 392.3 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1933, allocations: 11.98 kB / 392.3 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1934, allocations: 18.59 kB / 392.3 MB, free: 45.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1934, allocations: 13.72 kB / 392.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1935, allocations: 209.3 kB / 392.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1936, allocations: 0 / 392.5 MB, free: 45.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.194, allocations: 116.7 kB / 392.6 MB, free: 45.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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 9.335e-05/0.1941, allocations: 98.92 kB / 392.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.1946, allocations: 315.3 kB / 393 MB, free: 45.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1946, allocations: 1.344 kB / 393 MB, free: 45.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1948, allocations: 91.66 kB / 393.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1952, allocations: 43.72 kB / 393.2 MB, free: 45.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1963, allocations: 0.8415 MB / 394 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.1965, allocations: 0.7802 MB / 394.8 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1967, allocations: 30.2 kB / 394.8 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.1967, allocations: 24.5 kB / 394.8 MB, free: 43.95 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1967, allocations: 1.031 kB / 394.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of Templates: time 0.006404/0.2031, allocations: 2.933 MB / 397.8 MB, free: 43.82 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestBellJarOpenLoop.makefile (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & ./MEV_MEV.Test.TestBellJarOpenLoop -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)