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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00184/0.00184, allocations: 178.4 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006629/0.006629, allocations: 1.92 MB / 9.79 MB, free: 464 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 205.2 MB / 215.9 MB, free: 12.15 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 84.12 kB / 264.4 MB, free: 11.04 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.701e-06, allocations: 0 / 318.5 MB, free: 4.855 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.184, allocations: 48.07 MB / 366.6 MB, free: 45.95 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08324/0.2673, allocations: 78.34 MB / 444.9 MB, free: 4.84 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.2676, allocations: 72.66 kB / 445 MB, free: 4.77 MB / 330.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo:395:7-396:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.01481/0.2824, allocations: 5.573 MB / 450.6 MB, free: 15.21 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.2825, allocations: 8 kB / 450.6 MB, free: 15.2 MB / 346.8 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.0007222/0.2832, allocations: 0.5413 MB / 451.1 MB, free: 14.61 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2832, allocations: 8.031 kB / 451.1 MB, free: 14.61 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.2833, allocations: 35.62 kB / 451.2 MB, free: 14.57 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.2837, allocations: 281.5 kB / 451.5 MB, free: 14.26 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2837, allocations: 8 kB / 451.5 MB, free: 14.25 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.2838, allocations: 16 kB / 451.5 MB, free: 14.23 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003306/0.2841, allocations: 160.8 kB / 451.6 MB, free: 14.08 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.2845, allocations: 188.8 kB / 451.8 MB, free: 13.89 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2845, allocations: 3.906 kB / 451.8 MB, free: 13.89 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.2845, allocations: 3.984 kB / 451.8 MB, free: 13.88 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2845, allocations: 4 kB / 451.8 MB, free: 13.88 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.2857, allocations: 0.744 MB / 452.6 MB, free: 13.1 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2859, allocations: 134.1 kB / 452.7 MB, free: 12.96 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.2861, allocations: 77.09 kB / 452.8 MB, free: 12.88 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.2861, allocations: 4.188 kB / 452.8 MB, free: 12.88 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2861, allocations: 30.75 kB / 452.8 MB, free: 12.84 MB / 346.8 MB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.2861, allocations: 0 / 452.8 MB, free: 12.84 MB / 346.8 MB Notification: Performance of matching and sorting (n=26): time 0.001394/0.2875, allocations: 0.8345 MB / 453.6 MB, free: 11.91 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2876, allocations: 55.41 kB / 453.7 MB, free: 11.85 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.2878, allocations: 205.8 kB / 453.9 MB, free: 11.64 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2878, allocations: 25.7 kB / 453.9 MB, free: 11.61 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.2879, allocations: 164.1 kB / 454.1 MB, free: 11.45 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.288, allocations: 90.66 kB / 454.2 MB, free: 11.36 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.288, allocations: 4 kB / 454.2 MB, free: 11.35 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2881, allocations: 330.8 kB / 454.5 MB, free: 11.02 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2882, allocations: 63.98 kB / 454.6 MB, free: 10.96 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.2884, allocations: 102.2 kB / 454.7 MB, free: 10.84 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2885, allocations: 83.97 kB / 454.7 MB, free: 10.76 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2886, allocations: 0 / 454.7 MB, free: 10.76 MB / 346.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003682/0.2889, allocations: 233.2 kB / 455 MB, free: 10.53 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.2891, allocations: 449.3 kB / 455.4 MB, free: 10.05 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2891, allocations: 4 kB / 455.4 MB, free: 10.05 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2892, allocations: 0 / 455.4 MB, free: 10.05 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2894, allocations: 63.91 kB / 455.5 MB, free: 9.988 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2895, allocations: 0 / 455.5 MB, free: 9.988 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2896, allocations: 12.22 kB / 455.5 MB, free: 9.977 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.2896, allocations: 12 kB / 455.5 MB, free: 9.965 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.2896, allocations: 11.84 kB / 455.5 MB, free: 9.953 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002675/0.2899, allocations: 171.8 kB / 455.7 MB, free: 9.785 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2899, allocations: 4 kB / 455.7 MB, free: 9.781 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.2899, allocations: 0 / 455.7 MB, free: 9.781 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.2902, allocations: 68.03 kB / 455.8 MB, free: 9.715 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.2902, allocations: 4 kB / 455.8 MB, free: 9.711 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2903, allocations: 4 kB / 455.8 MB, free: 9.707 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2903, allocations: 8 kB / 455.8 MB, free: 9.699 MB / 346.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.159e-05/0.2904, allocations: 104.9 kB / 455.9 MB, free: 9.59 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2905, allocations: 31.62 kB / 455.9 MB, free: 9.559 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.2909, allocations: 206.7 kB / 456.1 MB, free: 9.355 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2909, allocations: 7.469 kB / 456.1 MB, free: 9.352 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2909, allocations: 4 kB / 456.1 MB, free: 9.348 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2909, allocations: 3.984 kB / 456.1 MB, free: 9.344 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.2918, allocations: 0.6538 MB / 456.8 MB, free: 8.633 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2918, allocations: 8.156 kB / 456.8 MB, free: 8.625 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.2922, allocations: 67.95 kB / 456.8 MB, free: 8.559 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.2922, allocations: 3.906 kB / 456.9 MB, free: 8.555 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2922, allocations: 7.938 kB / 456.9 MB, free: 8.547 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2922, allocations: 4 kB / 456.9 MB, free: 8.543 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.2922, allocations: 0 / 456.9 MB, free: 8.543 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005495/0.2928, allocations: 474.5 kB / 457.3 MB, free: 8.02 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2929, allocations: 124.8 kB / 457.4 MB, free: 7.879 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.293, allocations: 7.938 kB / 457.5 MB, free: 7.871 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2931, allocations: 11.98 kB / 457.5 MB, free: 7.859 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.2932, allocations: 19.89 kB / 457.5 MB, free: 7.84 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2932, allocations: 8 kB / 457.5 MB, free: 7.832 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0001311/0.2933, allocations: 165.2 kB / 457.7 MB, free: 7.672 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0004144/0.2938, allocations: 103.9 kB / 457.8 MB, free: 7.57 MB / 346.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001321/0.2939, allocations: 111.2 kB / 457.9 MB, free: 7.453 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.2943, allocations: 266.5 kB / 458.1 MB, free: 7.195 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2943, allocations: 0 / 458.1 MB, free: 7.195 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2944, allocations: 92.55 kB / 458.2 MB, free: 7.105 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2947, allocations: 33.17 kB / 458.2 MB, free: 7.074 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2958, allocations: 0.5684 MB / 458.8 MB, free: 6.461 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.2962, allocations: 0.807 MB / 459.6 MB, free: 5.629 MB / 346.8 MB Notification: Performance of SimCode: time 2.6e-07/0.2962, allocations: 0 / 459.6 MB, free: 5.629 MB / 346.8 MB Notification: Performance of Templates: time 0.006597/0.3028, allocations: 3.378 MB / 463 MB, free: 2.285 MB / 346.8 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 -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)