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.001589/0.001589, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001968/0.001968, allocations: 218 kB / 22.26 MB, free: 5.125 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.443/1.443, allocations: 207.6 MB / 233 MB, free: 9.965 MB / 190.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.009679/0.009679, allocations: 1.966 MB / 287.3 MB, free: 3.934 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: "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) [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.002174/0.002174, allocations: 81.27 kB / 401.8 MB, free: 50.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09824, allocations: 49.71 MB / 451.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.00514/0.1034, allocations: 3.698 MB / 455.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1052, allocations: 0.9277 MB / 456.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.1057, allocations: 8 kB / 456.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.106, allocations: 67.3 kB / 456.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.1065, allocations: 158.7 kB / 456.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1069, allocations: 131.8 kB / 456.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.1074, allocations: 0.5484 MB / 457 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.1077, allocations: 122.3 kB / 457.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1079, allocations: 223.1 kB / 457.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1081, allocations: 211 kB / 457.6 MB, free: 148 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.1081, allocations: 48 kB / 457.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1082, allocations: 59.98 kB / 457.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1083, allocations: 91.64 kB / 457.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.1086, allocations: 250.8 kB / 458 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.1094, allocations: 0.5057 MB / 458.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1094, allocations: 0 / 458.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1094, allocations: 3.938 kB / 458.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.1094, allocations: 4 kB / 458.5 MB, free: 15.18 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.001567/0.111, allocations: 0.6951 MB / 459.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.111, allocations: 11.98 kB / 459.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.1111, allocations: 74.72 kB / 459.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1112, allocations: 60.59 kB / 459.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.1117, allocations: 278.2 kB / 459.6 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1118, allocations: 33.38 kB / 459.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.1119, allocations: 39.94 kB / 459.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.1125, allocations: 326.5 kB / 460 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1126, allocations: 0 / 460 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1126, allocations: 16 kB / 460 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1126, allocations: 8 kB / 460 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.1132, allocations: 263.8 kB / 460.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.1151, allocations: 1.074 MB / 461.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.1157, allocations: 263.2 kB / 461.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1159, allocations: 110.9 kB / 461.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.1159, allocations: 12.22 kB / 461.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.1163, allocations: 163.5 kB / 461.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.654e-06/0.1163, allocations: 0 / 461.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002443/0.1188, allocations: 1.074 MB / 463 MB, free: 10.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1188, allocations: 55.41 kB / 463 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.1192, allocations: 357.5 kB / 463.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1192, allocations: 33.64 kB / 463.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1194, allocations: 208.8 kB / 463.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1195, allocations: 134.9 kB / 463.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1196, allocations: 70.08 kB / 463.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1198, allocations: 346.8 kB / 464.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.12, allocations: 118.4 kB / 464.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1203, allocations: 158.7 kB / 464.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.1209, allocations: 289 kB / 464.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1209, allocations: 0 / 464.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007082/0.1216, allocations: 394.9 kB / 465.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1216, allocations: 33.7 kB / 465.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1216, allocations: 0 / 465.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1216, allocations: 4 kB / 465.1 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.122, allocations: 87.83 kB / 465.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.122, allocations: 19.95 kB / 465.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1223, allocations: 15.98 kB / 465.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1223, allocations: 12 kB / 465.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003789/0.1227, allocations: 224.9 kB / 465.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002663/0.1229, allocations: 150.7 kB / 465.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005201/0.1235, allocations: 289.3 kB / 465.9 MB, free: 7.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.1235, allocations: 3.984 kB / 465.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000664/0.1241, allocations: 386.9 kB / 466.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.1242, allocations: 41.78 kB / 466.3 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1242, allocations: 4 kB / 466.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/0.1242, allocations: 0 / 466.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.1245, allocations: 83.89 kB / 466.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1245, allocations: 0 / 466.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1247, allocations: 23.92 kB / 466.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1247, allocations: 15.94 kB / 466.5 MB, free: 6.883 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.0001566/0.1249, allocations: 196.2 kB / 466.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.1249, allocations: 43.72 kB / 466.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006716/0.1256, allocations: 325.3 kB / 467 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1256, allocations: 4 kB / 467 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1256, allocations: 7.938 kB / 467 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1256, allocations: 0 / 467 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.127, allocations: 0.8526 MB / 467.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.127, allocations: 0 / 467.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1273, allocations: 79.88 kB / 468 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1273, allocations: 0 / 468 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1274, allocations: 12 kB / 468 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1274, allocations: 4 kB / 468 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1274, allocations: 0 / 468 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.1283, allocations: 0.5663 MB / 468.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1284, allocations: 71.77 kB / 468.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.1285, allocations: 8 kB / 468.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1287, allocations: 19.98 kB / 468.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.1288, allocations: 27.95 kB / 468.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1288, allocations: 11.98 kB / 468.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.1291, allocations: 239.2 kB / 468.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1291, allocations: 0 / 468.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.1296, allocations: 152 kB / 469.1 MB, free: 4.18 MB / 334.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.001273/0.1309, allocations: 1.118 MB / 470.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.1319, allocations: 0.5259 MB / 470.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1319, allocations: 4 kB / 470.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.1322, allocations: 144.4 kB / 470.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1327, allocations: 61.58 kB / 470.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.1381, allocations: 3.743 MB / 474.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.1385, allocations: 0.8079 MB / 475.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.1388, allocations: 46.92 kB / 475.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.139, allocations: 127.4 kB / 475.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.139, allocations: 4 kB / 475.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.1809, allocations: 8.361 MB / 484 MB, free: 4.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.7, allocations: 15.81 kB / 484 MB, free: 4.941 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.399749584961683] Failed to read output from testmodel.py, exit status != 0: 11.811119647929445 11.835582246 11.721622007 Calling exit ...