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.001145/0.001146, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.0011/0.0011, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.143/1.143, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008053/0.008053, allocations: 1.939 MB / 272.5 MB, free: 10.06 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.001444/0.001444, allocations: 67.41 kB / 378.9 MB, free: 51.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06005/0.06151, allocations: 47.13 MB / 426 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.002951/0.06448, allocations: 3.17 MB / 429.2 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.06556, allocations: 0.7995 MB / 430 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.06578, allocations: 4 kB / 430 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.06594, allocations: 55.42 kB / 430.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.06618, allocations: 119 kB / 430.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.06643, allocations: 95.84 kB / 430.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.06673, allocations: 426 kB / 430.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.06692, allocations: 124.2 kB / 430.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.06705, allocations: 171.2 kB / 431 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.06722, allocations: 155.3 kB / 431.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.06726, allocations: 36 kB / 431.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.06734, allocations: 36 kB / 431.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.06738, allocations: 75.7 kB / 431.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.06749, allocations: 191.1 kB / 431.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.06778, allocations: 398.7 kB / 431.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.06779, allocations: 0 / 431.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0678, allocations: 0 / 431.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.06781, allocations: 0 / 431.8 MB, free: 14.11 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.0007488/0.06856, allocations: 0.6312 MB / 432.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.0686, allocations: 15.89 kB / 432.5 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.06866, allocations: 32.56 kB / 432.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.06893, allocations: 294.5 kB / 432.8 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.06895, allocations: 24.94 kB / 432.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.069, allocations: 32.06 kB / 432.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.06934, allocations: 232.9 kB / 433.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.06937, allocations: 0 / 433.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.06939, allocations: 11.98 kB / 433.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.0694, allocations: 12 kB / 433.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.06968, allocations: 182.2 kB / 433.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.07074, allocations: 0.8876 MB / 434.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.07105, allocations: 190.5 kB / 434.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.07117, allocations: 80.83 kB / 434.4 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.0712, allocations: 4 kB / 434.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.07121, allocations: 30.56 kB / 434.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.213e-06/0.07122, allocations: 0 / 434.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001272/0.07249, allocations: 0.9722 MB / 435.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.07252, allocations: 51.41 kB / 435.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.07272, allocations: 291.3 kB / 435.8 MB, free: 9.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.07274, allocations: 29.7 kB / 435.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.07281, allocations: 192.5 kB / 436 MB, free: 9.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.07285, allocations: 90.66 kB / 436.1 MB, free: 9.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.07291, allocations: 53.7 kB / 436.1 MB, free: 9.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.07296, allocations: 334.8 kB / 436.5 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.07309, allocations: 80.83 kB / 436.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.07322, allocations: 116.2 kB / 436.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.07346, allocations: 204.1 kB / 436.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.07347, allocations: 4 kB / 436.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000321/0.0738, allocations: 265.2 kB / 437.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.07382, allocations: 8 kB / 437.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.07383, allocations: 3.938 kB / 437.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.07384, allocations: 3.938 kB / 437.1 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.07407, allocations: 67.91 kB / 437.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.07409, allocations: 3.938 kB / 437.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.07422, allocations: 8 kB / 437.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.07424, allocations: 12.12 kB / 437.2 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000164/0.07441, allocations: 192 kB / 437.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001128/0.07453, allocations: 120.1 kB / 437.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002138/0.07475, allocations: 200.4 kB / 437.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.07476, allocations: 0 / 437.7 MB, free: 7.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0002991/0.07506, allocations: 261.2 kB / 438 MB, free: 7.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.07508, allocations: 4 kB / 438 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.07508, allocations: 4 kB / 438 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.07509, allocations: 0 / 438 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.07529, allocations: 67.84 kB / 438.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.0753, allocations: 8.125 kB / 438.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.07542, allocations: 8 kB / 438.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.07544, allocations: 8 kB / 438.1 MB, free: 7.473 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 5.374e-05/0.0755, allocations: 192.2 kB / 438.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.07554, allocations: 31.61 kB / 438.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.07586, allocations: 235.8 kB / 438.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.07587, allocations: 0 / 438.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.07588, allocations: 8 kB / 438.5 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.07589, allocations: 3.984 kB / 438.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.07654, allocations: 0.7163 MB / 439.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.07655, allocations: 0 / 439.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.07682, allocations: 71.89 kB / 439.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.07683, allocations: 4.125 kB / 439.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.07685, allocations: 4 kB / 439.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.07686, allocations: 0 / 439.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.07686, allocations: 4 kB / 439.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.07727, allocations: 443.4 kB / 439.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.07736, allocations: 124.8 kB / 439.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.0774, allocations: 11.98 kB / 439.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.07756, allocations: 8 kB / 439.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.0776, allocations: 15.97 kB / 439.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.07762, allocations: 12 kB / 439.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.07775, allocations: 205.9 kB / 440.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.07776, allocations: 4 kB / 440.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.07815, allocations: 119.9 kB / 440.3 MB, free: 5.16 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.517e-05/0.07825, allocations: 119.3 kB / 440.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.07868, allocations: 311.7 kB / 440.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.0787, allocations: 0.5 kB / 440.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.07883, allocations: 95.84 kB / 440.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.07921, allocations: 52.47 kB / 440.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.08023, allocations: 0.8548 MB / 441.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.08038, allocations: 0.7756 MB / 442.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.08045, allocations: 23.44 kB / 442.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.08046, allocations: 0 / 442.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Templates: time 0.004215/0.08468, allocations: 3.539 MB / 446 MB, free: 15.31 MB / 334.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 -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)