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.001315/0.001315, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001415/0.001415, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.312/1.312, allocations: 158.6 MB / 184.8 MB, free: 6.184 MB / 174.1 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.008855/0.008855, allocations: 1.428 MB / 238.4 MB, free: 1.688 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 67.91 kB / 353.4 MB, free: 19.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08941, allocations: 49.68 MB / 403.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.005402/0.09481, allocations: 3.383 MB / 406.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.09683, allocations: 0.881 MB / 407.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000209/0.09704, allocations: 7.938 kB / 407.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.09725, allocations: 63.34 kB / 407.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.0976, allocations: 162.7 kB / 407.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.09797, allocations: 131.7 kB / 407.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006319/0.0986, allocations: 0.5445 MB / 408.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.09885, allocations: 126.3 kB / 408.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.09911, allocations: 207.2 kB / 408.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.0994, allocations: 195 kB / 408.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.09946, allocations: 44 kB / 408.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.09958, allocations: 60 kB / 408.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.0997, allocations: 103.6 kB / 409 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.09993, allocations: 195.1 kB / 409.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.1006, allocations: 0.5136 MB / 409.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1006, allocations: 3.984 kB / 409.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1006, allocations: 0 / 409.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1006, allocations: 0 / 409.7 MB, free: 10.63 MB / 334.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.001455/0.1021, allocations: 0.7029 MB / 410.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1021, allocations: 11.98 kB / 410.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1022, allocations: 60.61 kB / 410.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.1027, allocations: 278.2 kB / 410.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.1027, allocations: 21.38 kB / 410.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.1028, allocations: 44.12 kB / 410.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.1035, allocations: 381.9 kB / 411.1 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1035, allocations: 3.984 kB / 411.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1035, allocations: 12 kB / 411.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1036, allocations: 8 kB / 411.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.1042, allocations: 267.8 kB / 411.4 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.1059, allocations: 0.9074 MB / 412.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.1065, allocations: 263.1 kB / 412.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1067, allocations: 105.3 kB / 412.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1068, allocations: 4.234 kB / 412.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.1072, allocations: 227.1 kB / 412.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.1072, allocations: 0 / 412.9 MB, free: 7.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002508/0.1097, allocations: 1.069 MB / 414 MB, free: 6.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1098, allocations: 55.41 kB / 414.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1101, allocations: 296.6 kB / 414.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.1101, allocations: 37.7 kB / 414.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.1103, allocations: 224.5 kB / 414.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1104, allocations: 123 kB / 414.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1105, allocations: 85.95 kB / 414.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1107, allocations: 338.8 kB / 415.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.111, allocations: 144.1 kB / 415.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.1114, allocations: 184.8 kB / 415.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.1119, allocations: 293 kB / 415.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1119, allocations: 0 / 415.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007726/0.1127, allocations: 420.6 kB / 416.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.1127, allocations: 41.62 kB / 416.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1128, allocations: 3.984 kB / 416.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1128, allocations: 8.094 kB / 416.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.1132, allocations: 83.89 kB / 416.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1132, allocations: 4 kB / 416.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1134, allocations: 15.98 kB / 416.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1135, allocations: 15.94 kB / 416.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004004/0.1139, allocations: 254.7 kB / 416.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003203/0.1142, allocations: 180.8 kB / 416.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005543/0.1147, allocations: 289.3 kB / 417 MB, free: 2.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.1147, allocations: 0 / 417 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007313/0.1155, allocations: 412.6 kB / 417.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.1155, allocations: 33.7 kB / 417.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.1155, allocations: 4.094 kB / 417.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-06/0.1155, allocations: 7.984 kB / 417.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.1159, allocations: 83.84 kB / 417.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1159, allocations: 11.92 kB / 417.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1161, allocations: 15.98 kB / 417.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1161, allocations: 12 kB / 417.6 MB, free: 2.301 MB / 334.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.0001629/0.1163, allocations: 204.1 kB / 417.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.1163, allocations: 39.8 kB / 417.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.1171, allocations: 320.4 kB / 418.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1171, allocations: 4 kB / 418.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1171, allocations: 0 / 418.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1171, allocations: 3.984 kB / 418.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1184, allocations: 0.7401 MB / 418.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1184, allocations: 4 kB / 418.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.1188, allocations: 80.02 kB / 419 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.1188, allocations: 11.92 kB / 419 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1189, allocations: 8 kB / 419 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1189, allocations: 0 / 419 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1189, allocations: 4 kB / 419 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1199, allocations: 0.5584 MB / 419.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.12, allocations: 55.83 kB / 419.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.1201, allocations: 19.92 kB / 419.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1203, allocations: 23.92 kB / 419.7 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.1204, allocations: 27.95 kB / 419.7 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.1205, allocations: 12 kB / 419.7 MB, free: 100 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000252/0.1207, allocations: 211 kB / 419.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1207, allocations: 0 / 419.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.1213, allocations: 151.9 kB / 420 MB, free: 15.75 MB / 350.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.0001615/0.1214, allocations: 107.2 kB / 420.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1226, allocations: 0.5807 MB / 420.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1226, allocations: 0 / 420.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.1229, allocations: 139.7 kB / 420.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.1234, allocations: 65.12 kB / 420.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1254, allocations: 0.9916 MB / 421.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1256, allocations: 200.3 kB / 422.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.1258, allocations: 42.94 kB / 422.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.1259, allocations: 32.44 kB / 422.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1259, allocations: 4 kB / 422.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009519/0.1354, allocations: 3.88 MB / 426.1 MB, free: 9.602 MB / 350.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 -s ida -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.580816210014746] Failed to read output from testmodel.py, exit status != 0: 0.14359004003927112 0.317455465 0.213847064 Calling exit ...