Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00709/0.00709, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.2 MB / 221.4 MB, free: 7.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 93.88 kB / 270.1 MB, free: 7.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.991e-05, allocations: 4 kB / 326 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2908, allocations: 48.06 MB / 374.1 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3923, allocations: 80.8 MB / 454.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.3926, allocations: 71.97 kB / 454.9 MB, free: 13.98 MB / 346.7 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 - DAE generated: time 0.02065/0.4133, allocations: 7.596 MB / 462.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4133, allocations: 1.641 kB / 462.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.4134, allocations: 11.94 kB / 462.6 MB, free: 6.379 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001032/0.4144, allocations: 0.6431 MB / 463.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4145, allocations: 8.031 kB / 463.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/0.4146, allocations: 55.42 kB / 463.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.415, allocations: 322.2 kB / 463.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.415, allocations: 24.78 kB / 463.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.4151, allocations: 41 kB / 463.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.4156, allocations: 303.7 kB / 463.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4157, allocations: 0 / 463.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.4157, allocations: 16 kB / 464 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4157, allocations: 11.94 kB / 464 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.4161, allocations: 219.1 kB / 464.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.4179, allocations: 1.039 MB / 465.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.4183, allocations: 246.6 kB / 465.5 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4185, allocations: 107.4 kB / 465.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.4185, allocations: 4 kB / 465.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.4188, allocations: 155.8 kB / 465.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.4188, allocations: 0 / 465.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001782/0.4206, allocations: 1.071 MB / 466.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.4206, allocations: 59.41 kB / 466.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.4209, allocations: 278.8 kB / 467.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.421, allocations: 33.7 kB / 467.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4211, allocations: 212.5 kB / 467.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.071e-05/0.4212, allocations: 122.3 kB / 467.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.4212, allocations: 4 kB / 467.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4213, allocations: 346.8 kB / 467.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.4215, allocations: 88.81 kB / 467.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.4217, allocations: 134.5 kB / 468 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.4219, allocations: 145.5 kB / 468.2 MB, free: 436 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4219, allocations: 4 kB / 468.2 MB, free: 432 kB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005501/0.4225, allocations: 354.7 kB / 468.5 MB, free: 64 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.4227, allocations: 389.7 kB / 468.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4227, allocations: 4 kB / 468.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4227, allocations: 0 / 468.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.4231, allocations: 87.89 kB / 469 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4231, allocations: 7.938 kB / 469 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4234, allocations: 23.98 kB / 469 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.4234, allocations: 15.94 kB / 469.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.4234, allocations: 4 kB / 469.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004438/0.4239, allocations: 299.3 kB / 469.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4239, allocations: 4.938 kB / 469.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.4239, allocations: 0 / 469.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4242, allocations: 87.89 kB / 469.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.4243, allocations: 8.094 kB / 469.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4245, allocations: 23.98 kB / 469.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4245, allocations: 8 kB / 469.5 MB, free: 15.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001071/0.4246, allocations: 133.7 kB / 469.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.4247, allocations: 35.62 kB / 469.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.4252, allocations: 297.9 kB / 469.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4252, allocations: 4 kB / 469.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4252, allocations: 5.312 kB / 469.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4252, allocations: 0 / 469.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4264, allocations: 0.8613 MB / 470.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4264, allocations: 4.156 kB / 470.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4268, allocations: 79.89 kB / 470.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4268, allocations: 4 kB / 470.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.4268, allocations: 19.94 kB / 470.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4268, allocations: 4 kB / 470.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4268, allocations: 0 / 470.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.4275, allocations: 0.5829 MB / 471.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4277, allocations: 148.6 kB / 471.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.4277, allocations: 8 kB / 471.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.428, allocations: 27.97 kB / 471.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4281, allocations: 35.84 kB / 471.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.4281, allocations: 15.47 kB / 471.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002328/0.4284, allocations: 226.2 kB / 471.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4284, allocations: 4 kB / 472 MB, free: 12.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004938/0.4289, allocations: 156 kB / 472.1 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001654/0.429, allocations: 119.1 kB / 472.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.4297, allocations: 0.498 MB / 472.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4297, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.43, allocations: 132.4 kB / 472.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.4304, allocations: 63.31 kB / 472.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.4318, allocations: 0.7113 MB / 473.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.4321, allocations: 0.816 MB / 474.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.4324, allocations: 60.91 kB / 474.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.4325, allocations: 27.44 kB / 474.5 MB, free: 9.773 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4325, allocations: 0 / 474.5 MB, free: 9.773 MB / 362.7 MB Notification: Performance of Templates: time 0.008143/0.4406, allocations: 4.23 MB / 478.8 MB, free: 5.598 MB / 362.7 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)