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.001103/0.001103, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.348/1.348, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008035/0.008035, allocations: 1.928 MB / 273.3 MB, free: 3.285 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.0004951/0.0004951, allocations: 12.61 kB / 332.1 MB, free: 33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0671/0.06761, allocations: 48.1 MB / 380.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003684/0.07133, allocations: 3.206 MB / 383.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.07298, allocations: 0.8388 MB / 384.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000292/0.0733, allocations: 4 kB / 384.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.07348, allocations: 39.67 kB / 384.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.07382, allocations: 107.2 kB / 384.4 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.07412, allocations: 79.94 kB / 384.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.07461, allocations: 406 kB / 384.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.07485, allocations: 107.8 kB / 385 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.07505, allocations: 123.5 kB / 385.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.07529, allocations: 143.2 kB / 385.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.07534, allocations: 16 kB / 385.3 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.07544, allocations: 27.98 kB / 385.3 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.0755, allocations: 51.7 kB / 385.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.07568, allocations: 184.9 kB / 385.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.07597, allocations: 283.3 kB / 385.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.07599, allocations: 0 / 385.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.076, allocations: 4 kB / 385.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.07601, allocations: 0 / 385.8 MB, free: 11.22 MB / 286.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.0009006/0.07692, allocations: 0.5728 MB / 386.4 MB, free: 10.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.07696, allocations: 12.03 kB / 386.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.07706, allocations: 40.47 kB / 386.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.0774, allocations: 290.6 kB / 386.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.07744, allocations: 24.92 kB / 386.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.07749, allocations: 32.06 kB / 386.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.07796, allocations: 232.9 kB / 387 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.07799, allocations: 4 kB / 387 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.07802, allocations: 11.94 kB / 387 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.07804, allocations: 8 kB / 387 MB, free: 9.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.07843, allocations: 186.2 kB / 387.2 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.07999, allocations: 0.9224 MB / 388.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.08041, allocations: 186.6 kB / 388.3 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.08059, allocations: 88.81 kB / 388.4 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.08062, allocations: 0 / 388.4 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.08066, allocations: 42.5 kB / 388.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.08066, allocations: 0 / 388.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001807/0.08248, allocations: 0.9884 MB / 389.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.08252, allocations: 59.41 kB / 389.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.08283, allocations: 279.4 kB / 389.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.08286, allocations: 29.7 kB / 389.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.08299, allocations: 184.3 kB / 390 MB, free: 6.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.08308, allocations: 94.8 kB / 390.1 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.08313, allocations: 29.7 kB / 390.1 MB, free: 6.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.08325, allocations: 334.8 kB / 390.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.08342, allocations: 79.95 kB / 390.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.08362, allocations: 116.1 kB / 390.6 MB, free: 6.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.08398, allocations: 208.2 kB / 390.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.08399, allocations: 0 / 390.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004822/0.08448, allocations: 277.1 kB / 391.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.08457, allocations: 128.5 kB / 391.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.08458, allocations: 0 / 391.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.08461, allocations: 4 kB / 391.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.08487, allocations: 59.91 kB / 391.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.08489, allocations: 4 kB / 391.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.08506, allocations: 12 kB / 391.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.08509, allocations: 15.94 kB / 391.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.0851, allocations: 4 kB / 391.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003852/0.08549, allocations: 224 kB / 391.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.08551, allocations: 0 / 391.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.08552, allocations: 4 kB / 391.5 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.08575, allocations: 64.03 kB / 391.6 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.08578, allocations: 4 kB / 391.6 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.08592, allocations: 11.94 kB / 391.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.08594, allocations: 15.94 kB / 391.6 MB, free: 5.039 MB / 286.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 0.0001612/0.08611, allocations: 221.1 kB / 391.9 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.08617, allocations: 27.72 kB / 391.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.08661, allocations: 243.8 kB / 392.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.08663, allocations: 3.984 kB / 392.1 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.08664, allocations: 3.938 kB / 392.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.08665, allocations: 0 / 392.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.08761, allocations: 0.7239 MB / 392.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.08763, allocations: 0 / 392.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.08795, allocations: 67.89 kB / 392.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.08796, allocations: 0 / 392.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.08799, allocations: 8 kB / 392.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.088, allocations: 4 kB / 392.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.088, allocations: 0 / 392.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.08861, allocations: 450.4 kB / 393.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.08874, allocations: 128.8 kB / 393.5 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.08879, allocations: 8 kB / 393.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.08898, allocations: 19.98 kB / 393.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.08905, allocations: 19.97 kB / 393.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.08907, allocations: 7.938 kB / 393.6 MB, free: 2.996 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.08928, allocations: 202 kB / 393.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08929, allocations: 0 / 393.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.08977, allocations: 120 kB / 393.9 MB, free: 2.684 MB / 286.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 0.0001238/0.0899, allocations: 107.2 kB / 394 MB, free: 2.566 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.09048, allocations: 307.6 kB / 394.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.0905, allocations: 0.5 kB / 394.3 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.09067, allocations: 99.91 kB / 394.4 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.09118, allocations: 44.52 kB / 394.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.09271, allocations: 1.089 MB / 395.5 MB, free: 1 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.09306, allocations: 0.7758 MB / 396.3 MB, free: 204 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.09315, allocations: 27.38 kB / 396.3 MB, free: 176 kB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09316, allocations: 0 / 396.3 MB, free: 176 kB / 286.1 MB Notification: Performance of Templates: time 0.005799/0.09896, allocations: 3.416 MB / 399.7 MB, free: 12.75 MB / 302.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)