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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.431/1.431, allocations: 207.6 MB / 233 MB, free: 10.01 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.009278/0.009278, allocations: 1.962 MB / 287.2 MB, free: 3.879 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 73.78 kB / 402.2 MB, free: 50.68 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08837, allocations: 49.7 MB / 451.9 MB, free: 5.785 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004037/0.09241, allocations: 3.714 MB / 455.6 MB, free: 2.047 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00179/0.0942, allocations: 0.9238 MB / 456.6 MB, free: 1.117 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.09446, allocations: 8 kB / 456.6 MB, free: 1.109 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00022/0.09468, allocations: 67.28 kB / 456.6 MB, free: 1.043 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.09498, allocations: 154.7 kB / 456.8 MB, free: 0.8906 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.09539, allocations: 131.8 kB / 456.9 MB, free: 0.7617 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000475/0.09587, allocations: 0.5485 MB / 457.5 MB, free: 216 kB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.09614, allocations: 130.3 kB / 457.6 MB, free: 80 kB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.09642, allocations: 207.2 kB / 457.8 MB, free: 15.87 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.09673, allocations: 222.9 kB / 458 MB, free: 15.65 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.0968, allocations: 48 kB / 458.1 MB, free: 15.61 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.09692, allocations: 56 kB / 458.1 MB, free: 15.55 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.09703, allocations: 95.62 kB / 458.2 MB, free: 15.46 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.09728, allocations: 242.8 kB / 458.5 MB, free: 15.22 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007181/0.098, allocations: 0.5097 MB / 459 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.098, allocations: 0 / 459 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.883e-06/0.098, allocations: 4 kB / 459 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.552e-05/0.09802, allocations: 0 / 459 MB, free: 14.7 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.001533/0.09955, allocations: 0.699 MB / 459.7 MB, free: 13.96 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.0996, allocations: 15.98 kB / 459.7 MB, free: 13.95 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.09971, allocations: 52.61 kB / 459.7 MB, free: 13.9 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1002, allocations: 278.2 kB / 460 MB, free: 13.6 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1002, allocations: 29.38 kB / 460 MB, free: 13.57 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.1003, allocations: 40.12 kB / 460.1 MB, free: 13.54 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.101, allocations: 326.5 kB / 460.4 MB, free: 13.21 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.101, allocations: 0 / 460.4 MB, free: 13.21 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.101, allocations: 16 kB / 460.4 MB, free: 13.2 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.1011, allocations: 12 kB / 460.4 MB, free: 13.18 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.1016, allocations: 263.8 kB / 460.7 MB, free: 12.93 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1035, allocations: 1.078 MB / 461.8 MB, free: 11.8 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.1041, allocations: 263.2 kB / 462 MB, free: 11.54 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.1044, allocations: 114.9 kB / 462.1 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.1044, allocations: 240 / 462.1 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.1048, allocations: 175.7 kB / 462.3 MB, free: 11.24 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.1048, allocations: 0 / 462.3 MB, free: 11.24 MB / 334.1 MB
Notification: Performance of matching and sorting (n=34): time 0.002451/0.1072, allocations: 1.07 MB / 463.4 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.1073, allocations: 55.41 kB / 463.4 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1077, allocations: 349.5 kB / 463.8 MB, free: 9.695 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1078, allocations: 37.7 kB / 463.8 MB, free: 9.652 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.108, allocations: 208.8 kB / 464 MB, free: 9.445 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1081, allocations: 126.9 kB / 464.1 MB, free: 9.32 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.1082, allocations: 78.08 kB / 464.2 MB, free: 9.234 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001998/0.1084, allocations: 346.8 kB / 464.5 MB, free: 8.887 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.1087, allocations: 114.4 kB / 464.6 MB, free: 8.77 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.109, allocations: 154.7 kB / 464.8 MB, free: 8.609 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.1095, allocations: 293 kB / 465.1 MB, free: 8.305 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1095, allocations: 0 / 465.1 MB, free: 8.305 MB / 334.1 MB
Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007481/0.1103, allocations: 398.9 kB / 465.5 MB, free: 7.902 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.1103, allocations: 37.69 kB / 465.5 MB, free: 7.859 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1103, allocations: 0 / 465.5 MB, free: 7.859 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1103, allocations: 7.938 kB / 465.5 MB, free: 7.852 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/0.1107, allocations: 83.89 kB / 465.6 MB, free: 7.77 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1107, allocations: 4 kB / 465.6 MB, free: 7.766 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.111, allocations: 23.92 kB / 465.6 MB, free: 7.742 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.111, allocations: 12 kB / 465.6 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000369/0.1114, allocations: 232.9 kB / 465.9 MB, free: 7.5 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002918/0.1117, allocations: 150.7 kB / 466 MB, free: 7.344 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000574/0.1122, allocations: 293.3 kB / 466.3 MB, free: 7.039 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.1122, allocations: 0 / 466.3 MB, free: 7.039 MB / 334.1 MB
Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000672/0.1129, allocations: 386.9 kB / 466.7 MB, free: 6.648 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1129, allocations: 33.64 kB / 466.7 MB, free: 6.609 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.1129, allocations: 0 / 466.7 MB, free: 6.609 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.113, allocations: 4 kB / 466.7 MB, free: 6.605 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.1133, allocations: 87.83 kB / 466.8 MB, free: 6.52 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1133, allocations: 8.094 kB / 466.8 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1135, allocations: 15.98 kB / 466.8 MB, free: 6.496 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1135, allocations: 15.94 kB / 466.8 MB, free: 6.48 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.0001569/0.1137, allocations: 200.2 kB / 467 MB, free: 6.277 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.1138, allocations: 39.72 kB / 467.1 MB, free: 6.238 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.1144, allocations: 329.3 kB / 467.4 MB, free: 5.91 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1144, allocations: 8 kB / 467.4 MB, free: 5.902 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1144, allocations: 0 / 467.4 MB, free: 5.902 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.1145, allocations: 3.938 kB / 467.4 MB, free: 5.898 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1158, allocations: 0.8448 MB / 468.3 MB, free: 4.992 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1158, allocations: 0 / 468.3 MB, free: 4.992 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.1162, allocations: 84.02 kB / 468.3 MB, free: 4.91 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1162, allocations: 0 / 468.3 MB, free: 4.91 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1162, allocations: 8 kB / 468.3 MB, free: 4.902 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1162, allocations: 4 kB / 468.3 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1162, allocations: 0 / 468.3 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.1172, allocations: 0.5701 MB / 468.9 MB, free: 4.297 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1173, allocations: 67.77 kB / 469 MB, free: 4.23 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.1174, allocations: 4 kB / 469 MB, free: 4.227 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1176, allocations: 19.98 kB / 469 MB, free: 4.207 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.1177, allocations: 36.03 kB / 469 MB, free: 4.172 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1177, allocations: 12 kB / 469.1 MB, free: 4.16 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002592/0.118, allocations: 243.2 kB / 469.3 MB, free: 3.926 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.118, allocations: 0 / 469.3 MB, free: 3.926 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0005065/0.1185, allocations: 155.9 kB / 469.4 MB, free: 3.773 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.0001792/0.1186, allocations: 103.2 kB / 469.5 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001032/0.1197, allocations: 0.5227 MB / 470.1 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1197, allocations: 0 / 470.1 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.12, allocations: 135.8 kB / 470.2 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.1205, allocations: 85.83 kB / 470.3 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1224, allocations: 1.007 MB / 471.3 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.123, allocations: 0.8079 MB / 472.1 MB, free: 1.023 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001943/0.1231, allocations: 42.94 kB / 472.1 MB, free: 0.9766 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.1232, allocations: 31.44 kB / 472.2 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.1232, allocations: 0 / 472.2 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of Templates: time 0.009782/0.133, allocations: 4.532 MB / 476.7 MB, free: 12.41 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 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.540840361267328]
Failed to read output from testmodel.py, exit status != 0:
0.14139153622090816 0.15711513899999996 0.05588645999999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f23b5b397b0>