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.001349/0.001349, allocations: 104.6 kB / 16.45 MB, free: 6.504 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.001346/0.001346, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.386/1.386, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.00892/0.00892, allocations: 1.971 MB / 283.6 MB, free: 5.094 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: "" <> 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.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.002082/0.002082, allocations: 68.98 kB / 396.5 MB, free: 51.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07325/0.07533, allocations: 49.66 MB / 446.2 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003631/0.07896, allocations: 3.69 MB / 449.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.08012, allocations: 0.9238 MB / 450.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.08032, allocations: 4 kB / 450.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.08049, allocations: 71.28 kB / 450.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.08072, allocations: 158.7 kB / 451 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.08103, allocations: 127.7 kB / 451.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.08143, allocations: 0.5484 MB / 451.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.08164, allocations: 129.9 kB / 451.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.08181, allocations: 211.2 kB / 452 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.082, allocations: 211 kB / 452.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.08204, allocations: 48 kB / 452.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.08213, allocations: 59.98 kB / 452.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.08219, allocations: 99.61 kB / 452.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.08234, allocations: 238.8 kB / 452.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.08275, allocations: 0.5058 MB / 453.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.08276, allocations: 3.938 kB / 453.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.08276, allocations: 0 / 453.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.08277, allocations: 4 kB / 453.2 MB, free: 0.7695 MB / 318.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.001214/0.08398, allocations: 0.7743 MB / 454 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.08402, allocations: 11.89 kB / 454 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/0.08411, allocations: 70.72 kB / 454.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.0842, allocations: 52.61 kB / 454.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.08472, allocations: 347.4 kB / 454.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.08475, allocations: 29.38 kB / 454.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.08482, allocations: 39.94 kB / 454.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.08547, allocations: 326.4 kB / 454.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.08548, allocations: 3.938 kB / 454.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.08552, allocations: 16 kB / 454.8 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.08553, allocations: 8 kB / 454.9 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.08612, allocations: 263.8 kB / 455.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.08806, allocations: 1.117 MB / 456.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.08867, allocations: 263.2 kB / 456.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.08894, allocations: 113.4 kB / 456.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.08896, allocations: 4.234 kB / 456.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.08933, allocations: 167.5 kB / 456.8 MB, free: 13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.08934, allocations: 4 kB / 456.8 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002508/0.09184, allocations: 1.22 MB / 458 MB, free: 11.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.09189, allocations: 59.41 kB / 458 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.09229, allocations: 349.5 kB / 458.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.09233, allocations: 29.7 kB / 458.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.0925, allocations: 216.8 kB / 458.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.09261, allocations: 126.9 kB / 458.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.09273, allocations: 70.06 kB / 458.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.09291, allocations: 346.8 kB / 459.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.09319, allocations: 114.4 kB / 459.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.0935, allocations: 162.4 kB / 459.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.09405, allocations: 293 kB / 459.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09405, allocations: 0 / 459.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007438/0.09479, allocations: 402.8 kB / 460.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.09483, allocations: 33.7 kB / 460.1 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.09484, allocations: 4.094 kB / 460.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.09486, allocations: 4 kB / 460.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.09526, allocations: 87.89 kB / 460.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.09527, allocations: 7.938 kB / 460.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.0955, allocations: 15.98 kB / 460.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.09552, allocations: 12 kB / 460.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003776/0.0959, allocations: 228.9 kB / 460.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002857/0.09619, allocations: 154.7 kB / 460.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005258/0.09671, allocations: 281.3 kB / 460.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.09671, allocations: 0 / 460.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007257/0.09744, allocations: 398.8 kB / 461.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.09747, allocations: 29.7 kB / 461.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.09747, allocations: 7.938 kB / 461.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.09747, allocations: 0 / 461.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.09783, allocations: 91.83 kB / 461.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.09784, allocations: 0 / 461.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.09805, allocations: 20.02 kB / 461.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.09808, allocations: 20 kB / 461.5 MB, free: 8.047 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.0001513/0.09823, allocations: 200.2 kB / 461.7 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.09829, allocations: 43.72 kB / 461.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006869/0.09897, allocations: 313.4 kB / 462 MB, free: 7.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.09898, allocations: 4 kB / 462 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.09899, allocations: 3.938 kB / 462 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.09899, allocations: 7.984 kB / 462 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.1003, allocations: 0.8728 MB / 462.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1003, allocations: 0 / 462.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.1007, allocations: 83.88 kB / 463 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1007, allocations: 8.125 kB / 463 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1008, allocations: 8 kB / 463 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1008, allocations: 0 / 463 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1008, allocations: 7.938 kB / 463 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.1017, allocations: 0.5665 MB / 463.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.1019, allocations: 140.9 kB / 463.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.1019, allocations: 12 kB / 463.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.1022, allocations: 23.97 kB / 463.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.1023, allocations: 27.91 kB / 463.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.1023, allocations: 8 kB / 463.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1026, allocations: 247.2 kB / 464 MB, free: 5.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1026, allocations: 0 / 464 MB, free: 5.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005167/0.1031, allocations: 152 kB / 464.2 MB, free: 5.211 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.001292/0.1044, allocations: 1.106 MB / 465.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000988/0.1054, allocations: 0.5231 MB / 465.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1054, allocations: 0 / 465.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.1057, allocations: 140.3 kB / 465.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.1062, allocations: 65.78 kB / 466 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.1117, allocations: 3.761 MB / 469.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.1122, allocations: 0.8079 MB / 470.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.1124, allocations: 42.94 kB / 470.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.1126, allocations: 131.4 kB / 470.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1126, allocations: 3.938 kB / 470.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.1474, allocations: 8.014 MB / 478.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.65, allocations: 4.062 kB / 478.8 MB, free: 6.344 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.204159231856465] Failed to read output from testmodel.py, exit status != 0: 8.72479472309351 8.750850651 8.663405598 Calling exit ...