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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 163.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 158.6 MB / 184.2 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008267/0.008267, allocations: 1.429 MB / 237.9 MB, free: 3.641 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 353 MB, free: 37.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.042e-05, allocations: 6.219 kB / 353 MB, free: 37.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003243/0.003264, allocations: 3.399 MB / 356.4 MB, free: 33.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004446, allocations: 0.8696 MB / 357.3 MB, free: 33.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.004605, allocations: 4 kB / 357.3 MB, free: 33.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.004739, allocations: 71.23 kB / 357.3 MB, free: 33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.004966, allocations: 166.6 kB / 357.5 MB, free: 32.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.005234, allocations: 135.7 kB / 357.6 MB, free: 32.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.005595, allocations: 0.5715 MB / 358.2 MB, free: 32.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.005777, allocations: 118.4 kB / 358.3 MB, free: 32.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.006019, allocations: 315.2 kB / 358.6 MB, free: 31.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.006197, allocations: 159.4 kB / 358.8 MB, free: 31.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.006249, allocations: 52 kB / 358.8 MB, free: 31.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.006343, allocations: 48 kB / 358.9 MB, free: 31.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.006403, allocations: 99.59 kB / 359 MB, free: 31.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.006535, allocations: 167.6 kB / 359.1 MB, free: 31.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.00694, allocations: 0.5101 MB / 359.6 MB, free: 30.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006942, allocations: 0 / 359.6 MB, free: 30.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006943, allocations: 0 / 359.6 MB, free: 30.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.006956, allocations: 0 / 359.6 MB, free: 30.68 MB / 302.1 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.00106/0.008016, allocations: 0.7067 MB / 360.3 MB, free: 29.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.008043, allocations: 15.98 kB / 360.4 MB, free: 29.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.00812, allocations: 52.61 kB / 360.4 MB, free: 29.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.008465, allocations: 269.6 kB / 360.7 MB, free: 29.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.008483, allocations: 29.38 kB / 360.7 MB, free: 29.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.008539, allocations: 36.38 kB / 360.7 MB, free: 29.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005265/0.009065, allocations: 382.5 kB / 361.1 MB, free: 29.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.009083, allocations: 3.938 kB / 361.1 MB, free: 29.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.009115, allocations: 16 kB / 361.1 MB, free: 29.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.009121, allocations: 11.94 kB / 361.1 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.009618, allocations: 263.8 kB / 361.4 MB, free: 28.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.01096, allocations: 0.9075 MB / 362.3 MB, free: 27.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.01146, allocations: 271.1 kB / 362.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.01167, allocations: 113.3 kB / 362.7 MB, free: 27.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01169, allocations: 4.234 kB / 362.7 MB, free: 27.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.012, allocations: 223 kB / 362.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.012, allocations: 4 kB / 362.9 MB, free: 27.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.002005/0.014, allocations: 1.062 MB / 364 MB, free: 26.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.01402, allocations: 71.34 kB / 364 MB, free: 26.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.01423, allocations: 300.5 kB / 364.3 MB, free: 25.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.01426, allocations: 29.7 kB / 364.4 MB, free: 25.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.01434, allocations: 220.6 kB / 364.6 MB, free: 25.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.0144, allocations: 119 kB / 364.7 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/0.0145, allocations: 78.02 kB / 364.8 MB, free: 25.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.01454, allocations: 342.8 kB / 365.1 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.01479, allocations: 144.1 kB / 365.2 MB, free: 24.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.01504, allocations: 188.8 kB / 365.4 MB, free: 24.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.01551, allocations: 289 kB / 365.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01551, allocations: 0 / 365.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000606/0.01611, allocations: 424.6 kB / 366.1 MB, free: 23.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.01614, allocations: 29.8 kB / 366.2 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01614, allocations: 4 kB / 366.2 MB, free: 23.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.01616, allocations: 4 kB / 366.2 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.01652, allocations: 87.83 kB / 366.3 MB, free: 23.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01653, allocations: 4 kB / 366.3 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.01676, allocations: 19.98 kB / 366.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.01678, allocations: 8 kB / 366.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003053/0.01708, allocations: 254.7 kB / 366.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002326/0.01732, allocations: 180.8 kB / 366.7 MB, free: 23.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004181/0.01774, allocations: 289.3 kB / 367 MB, free: 22.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/0.01774, allocations: 3.938 kB / 367 MB, free: 22.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005726/0.01831, allocations: 416.6 kB / 367.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01833, allocations: 37.78 kB / 367.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/0.01833, allocations: 4 kB / 367.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.01833, allocations: 0 / 367.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.01865, allocations: 87.83 kB / 367.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.01866, allocations: 7.938 kB / 367.5 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.01887, allocations: 19.92 kB / 367.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.01889, allocations: 12 kB / 367.6 MB, free: 22.35 MB / 302.1 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 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.01899, allocations: 204.1 kB / 367.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.01903, allocations: 31.81 kB / 367.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.0196, allocations: 328.3 kB / 368.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.0196, allocations: 0 / 368.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01961, allocations: 7.984 kB / 368.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01961, allocations: 0 / 368.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.02053, allocations: 0.7516 MB / 368.9 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02053, allocations: 4.125 kB / 368.9 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.02089, allocations: 79.89 kB / 369 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.02089, allocations: 0 / 369 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.02091, allocations: 12 kB / 369 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.02092, allocations: 4 kB / 369 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02092, allocations: 3.938 kB / 369 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.02166, allocations: 0.5588 MB / 369.5 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.02178, allocations: 63.81 kB / 369.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.02182, allocations: 12 kB / 369.6 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.02207, allocations: 15.98 kB / 369.6 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.02213, allocations: 35.88 kB / 369.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.02216, allocations: 8 kB / 369.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.0223, allocations: 207.1 kB / 369.9 MB, free: 19.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0223, allocations: 0 / 369.9 MB, free: 19.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.02275, allocations: 152 kB / 370 MB, free: 19.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001378/0.02289, allocations: 111.2 kB / 370.1 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.02372, allocations: 0.5767 MB / 370.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02373, allocations: 0 / 370.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.02399, allocations: 139.8 kB / 370.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.02445, allocations: 61.19 kB / 370.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.02579, allocations: 0.878 MB / 371.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.02593, allocations: 208.3 kB / 372 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.02608, allocations: 38.94 kB / 372 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.02617, allocations: 36.48 kB / 372.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.02617, allocations: 3.938 kB / 372.1 MB, free: 17.66 MB / 302.1 MB Notification: Performance of Templates: time 0.006939/0.03311, allocations: 3.868 MB / 375.9 MB, free: 13.8 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.333828929811716] Failed to read output from testmodel.py, exit status != 0: 0.04124724119901657 0.058702705 0.048323588 Calling exit ...