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.000822/0.000822, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008346/0.0008346, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8361/0.8361, allocations: 158.6 MB / 185 MB, free: 3 MB / 170.7 MB " [Timeout remaining time 179] 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.006208/0.006208, allocations: 1.424 MB / 238.7 MB, free: 13.94 MB / 234.7 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.693e-06/1.693e-06, allocations: 4 kB / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.794e-05, allocations: 2.281 kB / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.002591/0.002609, allocations: 3.403 MB / 357.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.003571, allocations: 0.8696 MB / 358 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.003726, allocations: 4 kB / 358 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.003863, allocations: 75.22 kB / 358.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.004032, allocations: 166.6 kB / 358.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.004312, allocations: 131.7 kB / 358.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.004614, allocations: 0.5715 MB / 358.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.004786, allocations: 122.4 kB / 359 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.004979, allocations: 311.2 kB / 359.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005106, allocations: 163.5 kB / 359.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.005145, allocations: 51.94 kB / 359.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.005214, allocations: 48 kB / 359.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.005258, allocations: 99.59 kB / 359.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.005346, allocations: 167.6 kB / 359.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.005682, allocations: 0.5101 MB / 360.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005684, allocations: 0 / 360.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005684, allocations: 0 / 360.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.00569, allocations: 0 / 360.4 MB, free: 8.707 MB / 282.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.0007643/0.006454, allocations: 0.7067 MB / 361.1 MB, free: 7.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.006487, allocations: 11.98 kB / 361.1 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.006548, allocations: 52.61 kB / 361.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.006807, allocations: 269.6 kB / 361.4 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.006827, allocations: 29.38 kB / 361.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.006866, allocations: 40.36 kB / 361.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.007229, allocations: 382.5 kB / 361.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.007243, allocations: 3.938 kB / 361.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.007266, allocations: 16 kB / 361.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.007272, allocations: 8 kB / 361.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.007585, allocations: 259.8 kB / 362.1 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.008538, allocations: 0.9152 MB / 363.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.008866, allocations: 263.2 kB / 363.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.008994, allocations: 113.2 kB / 363.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.009015, allocations: 4.234 kB / 363.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.009221, allocations: 223 kB / 363.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.522e-06/0.009223, allocations: 4 kB / 363.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001311/0.01053, allocations: 1.072 MB / 364.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.01056, allocations: 63.41 kB / 364.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01072, allocations: 296.5 kB / 365.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.01073, allocations: 29.7 kB / 365.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.0108, allocations: 224.6 kB / 365.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.01084, allocations: 119 kB / 365.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.01091, allocations: 74.03 kB / 365.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.01095, allocations: 346.7 kB / 365.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.0111, allocations: 148.1 kB / 366 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.01126, allocations: 184.8 kB / 366.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.01155, allocations: 289 kB / 366.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01155, allocations: 0 / 366.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003722/0.01192, allocations: 420.6 kB / 366.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.01195, allocations: 37.78 kB / 366.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01195, allocations: 4 kB / 366.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01197, allocations: 0 / 366.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.01217, allocations: 87.83 kB / 367 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01218, allocations: 4 kB / 367 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01228, allocations: 19.98 kB / 367 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.0123, allocations: 8 kB / 367 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001932/0.01249, allocations: 258.7 kB / 367.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000142/0.01263, allocations: 180.8 kB / 367.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002553/0.01289, allocations: 285.3 kB / 367.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.01289, allocations: 3.938 kB / 367.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003385/0.01323, allocations: 416.6 kB / 368.1 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01324, allocations: 37.8 kB / 368.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.01324, allocations: 0 / 368.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.01324, allocations: 0 / 368.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.01341, allocations: 91.83 kB / 368.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.01341, allocations: 0 / 368.3 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.0135, allocations: 15.98 kB / 368.3 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01351, allocations: 23.92 kB / 368.3 MB, free: 392 kB / 282.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 (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 5.979e-05/0.01357, allocations: 200.1 kB / 368.5 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.0136, allocations: 31.81 kB / 368.5 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.01398, allocations: 328.3 kB / 368.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01398, allocations: 7.938 kB / 368.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01399, allocations: 0 / 368.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01399, allocations: 3.984 kB / 368.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.01475, allocations: 0.7516 MB / 369.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01475, allocations: 128 / 369.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.01495, allocations: 83.89 kB / 369.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01495, allocations: 0 / 369.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01497, allocations: 15.98 kB / 369.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01497, allocations: 4 kB / 369.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01497, allocations: 3.938 kB / 369.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.01556, allocations: 0.5547 MB / 370.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.01565, allocations: 59.78 kB / 370.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.01568, allocations: 12 kB / 370.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.0158, allocations: 19.97 kB / 370.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.01586, allocations: 31.89 kB / 370.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01587, allocations: 8 kB / 370.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.01601, allocations: 215.1 kB / 370.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01601, allocations: 0 / 370.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.01634, allocations: 148 kB / 370.8 MB, free: 13.84 MB / 298.7 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.0001139/0.01646, allocations: 103.2 kB / 370.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.01706, allocations: 0.5806 MB / 371.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.01706, allocations: 8 kB / 371.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.01724, allocations: 131.8 kB / 371.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01754, allocations: 60.16 kB / 371.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01863, allocations: 0.9186 MB / 372.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.01875, allocations: 204.3 kB / 372.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.01882, allocations: 32.5 kB / 372.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01882, allocations: 0 / 372.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Templates: time 0.004675/0.0235, allocations: 4.604 MB / 377.4 MB, free: 7.09 MB / 298.7 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.177904666401446] Failed to read output from testmodel.py, exit status != 0: 0.027978519909083843 0.036675068000000005 0.029374413000000002 Calling exit ...