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-master/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-master/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.0009094/0.0009094, allocations: 171.3 kB / 16.11 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007046/0.007046, allocations: 1.924 MB / 18.79 MB, free: 3.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 225.5 MB, free: 5.41 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.000739/0.000739, allocations: 99.16 kB / 274.3 MB, free: 5.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12 kB / 333.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2265, allocations: 48.08 MB / 381.1 MB, free: 44.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08308/0.3096, allocations: 80.94 MB / 462.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.3098, allocations: 75.97 kB / 462.1 MB, free: 12.66 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.02002/0.3299, allocations: 7.624 MB / 469.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3299, allocations: 4 kB / 469.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.3299, allocations: 12.38 kB / 469.8 MB, free: 5.004 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.001259/0.3312, allocations: 0.6909 MB / 470.5 MB, free: 4.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3313, allocations: 8.031 kB / 470.5 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3314, allocations: 48.38 kB / 470.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3318, allocations: 327.3 kB / 470.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.3319, allocations: 33.36 kB / 470.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.3319, allocations: 36.38 kB / 470.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.3326, allocations: 331.1 kB / 471.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3326, allocations: 7.875 kB / 471.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.3327, allocations: 15.98 kB / 471.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3327, allocations: 8 kB / 471.3 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.3333, allocations: 271.8 kB / 471.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.335, allocations: 1.039 MB / 472.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.3356, allocations: 282.5 kB / 472.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3359, allocations: 124.8 kB / 473 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3359, allocations: 8.031 kB / 473 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.3363, allocations: 191.7 kB / 473.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/0.3363, allocations: 0 / 473.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.00239/0.3387, allocations: 1.262 MB / 474.4 MB, free: 96 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3388, allocations: 63.41 kB / 474.5 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.3392, allocations: 320.5 kB / 474.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3392, allocations: 33.7 kB / 474.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3393, allocations: 208.5 kB / 475 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.3394, allocations: 122.1 kB / 475.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.3395, allocations: 12 kB / 475.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3396, allocations: 350.7 kB / 475.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3399, allocations: 112.8 kB / 475.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.3401, allocations: 154.5 kB / 475.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.3407, allocations: 301 kB / 476.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3407, allocations: 0 / 476.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006955/0.3414, allocations: 406.7 kB / 476.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/0.3415, allocations: 137.4 kB / 476.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3415, allocations: 4 kB / 476.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3415, allocations: 4 kB / 476.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.3419, allocations: 91.88 kB / 476.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3419, allocations: 0 / 476.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3422, allocations: 23.92 kB / 476.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3422, allocations: 12 kB / 476.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.3422, allocations: 4 kB / 476.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006242/0.3429, allocations: 357.4 kB / 477.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.3429, allocations: 0 / 477.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.3429, allocations: 4 kB / 477.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.3432, allocations: 83.98 kB / 477.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3432, allocations: 4 kB / 477.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3435, allocations: 23.98 kB / 477.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3435, allocations: 12 kB / 477.2 MB, free: 13.2 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 () * Number of clocked 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.0001829/0.3437, allocations: 237 kB / 477.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3437, allocations: 35.53 kB / 477.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.3444, allocations: 341.7 kB / 477.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3444, allocations: 7.938 kB / 477.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3444, allocations: 0 / 477.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3444, allocations: 0 / 477.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3457, allocations: 0.9119 MB / 478.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3457, allocations: 4.156 kB / 478.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.3461, allocations: 83.89 kB / 478.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3461, allocations: 7.984 kB / 478.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.3461, allocations: 8 kB / 478.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3461, allocations: 7.938 kB / 478.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3462, allocations: 0 / 478.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.347, allocations: 0.5902 MB / 479.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.3472, allocations: 144.6 kB / 479.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.3473, allocations: 12 kB / 479.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3475, allocations: 31.91 kB / 479.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.3476, allocations: 23.97 kB / 479.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3476, allocations: 23.92 kB / 479.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.3479, allocations: 227.1 kB / 479.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3479, allocations: 0 / 479.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.3484, allocations: 156 kB / 480 MB, free: 10.23 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) * Number of clocked states: 0 () * 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.0001435/0.3485, allocations: 127 kB / 480.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.3495, allocations: 0.5536 MB / 480.7 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3495, allocations: 4 kB / 480.7 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.3498, allocations: 156.5 kB / 480.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3504, allocations: 57.41 kB / 480.9 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.352, allocations: 1.194 MB / 482.1 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3524, allocations: 0.8001 MB / 482.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.3526, allocations: 46.92 kB / 483 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.3527, allocations: 35.44 kB / 483 MB, free: 7.156 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3527, allocations: 0 / 483 MB, free: 7.156 MB / 362.7 MB Notification: Performance of Templates: time 0.00759/0.3603, allocations: 3.883 MB / 486.9 MB, free: 3.281 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)