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.001736/0.001736, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002101/0.002101, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.394/1.394, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.008513/0.008513, allocations: 1.966 MB / 288 MB, free: 3.859 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="cs",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.002053/0.002053, allocations: 71.27 kB / 402.6 MB, free: 50.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.07938, allocations: 49.7 MB / 452.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003631/0.08301, allocations: 3.72 MB / 456 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.08433, allocations: 0.9199 MB / 456.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.08452, allocations: 11.94 kB / 456.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.08469, allocations: 63.34 kB / 457 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.08492, allocations: 154.7 kB / 457.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.08523, allocations: 131.8 kB / 457.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.08563, allocations: 0.5446 MB / 457.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.08583, allocations: 130.3 kB / 457.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.086, allocations: 223.1 kB / 458.1 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.08619, allocations: 215 kB / 458.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.08624, allocations: 44 kB / 458.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.08632, allocations: 56 kB / 458.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.08643, allocations: 103.7 kB / 458.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.08666, allocations: 238.8 kB / 458.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.08729, allocations: 0.5058 MB / 459.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.08729, allocations: 4 kB / 459.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08729, allocations: 0 / 459.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.0873, allocations: 3.938 kB / 459.3 MB, free: 15.17 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.00135/0.08865, allocations: 0.6951 MB / 460 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.08869, allocations: 15.98 kB / 460 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.068e-05/0.08871, allocations: 17.19 kB / 460 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/0.0888, allocations: 70.72 kB / 460.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.08889, allocations: 52.61 kB / 460.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.08937, allocations: 278.2 kB / 460.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.08941, allocations: 33.12 kB / 460.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.08947, allocations: 36 kB / 460.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.09012, allocations: 334.4 kB / 460.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.09014, allocations: 0 / 460.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.09017, allocations: 20 kB / 460.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.09018, allocations: 11.94 kB / 460.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.09076, allocations: 259.8 kB / 461.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.09263, allocations: 1.086 MB / 462.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.09323, allocations: 251.3 kB / 462.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.09349, allocations: 115 kB / 462.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.09352, allocations: 4.234 kB / 462.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.0939, allocations: 171.5 kB / 462.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.833e-06/0.0939, allocations: 0 / 462.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002469/0.09637, allocations: 1.07 MB / 463.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.09644, allocations: 63.34 kB / 463.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.09682, allocations: 345.6 kB / 464.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.09685, allocations: 33.7 kB / 464.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.09703, allocations: 216.8 kB / 464.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.09714, allocations: 126.9 kB / 464.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.09727, allocations: 74.06 kB / 464.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.09753, allocations: 338.8 kB / 465 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.0978, allocations: 118.4 kB / 465.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.09809, allocations: 158.7 kB / 465.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.09863, allocations: 285 kB / 465.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.09863, allocations: 0 / 465.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000792/0.09942, allocations: 410.8 kB / 465.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.09946, allocations: 29.7 kB / 465.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.09947, allocations: 4 kB / 465.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.09948, allocations: 0 / 465.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.09988, allocations: 83.89 kB / 466 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.09989, allocations: 7.938 kB / 466 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1001, allocations: 15.98 kB / 466 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.1001, allocations: 12 kB / 466.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000365/0.1005, allocations: 233 kB / 466.3 MB, free: 7.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002731/0.1008, allocations: 150.7 kB / 466.4 MB, free: 7.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005246/0.1013, allocations: 293.3 kB / 466.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.1013, allocations: 4 kB / 466.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006896/0.102, allocations: 386.8 kB / 467.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.102, allocations: 33.7 kB / 467.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.102, allocations: 0 / 467.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.279e-06/0.102, allocations: 4 kB / 467.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.1024, allocations: 91.92 kB / 467.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1024, allocations: 4 kB / 467.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1026, allocations: 19.92 kB / 467.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1026, allocations: 12 kB / 467.3 MB, free: 6.863 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.0001497/0.1028, allocations: 200.2 kB / 467.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.1028, allocations: 43.72 kB / 467.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.1035, allocations: 329.3 kB / 467.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1035, allocations: 4 kB / 467.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1035, allocations: 3.938 kB / 467.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1035, allocations: 3.984 kB / 467.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.1049, allocations: 0.8449 MB / 468.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1049, allocations: 8 kB / 468.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.1053, allocations: 75.89 kB / 468.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1053, allocations: 4 kB / 468.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1053, allocations: 8 kB / 468.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1053, allocations: 0 / 468.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1053, allocations: 7.938 kB / 468.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009528/0.1062, allocations: 0.5623 MB / 469.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1064, allocations: 67.77 kB / 469.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.1064, allocations: 8 kB / 469.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.1067, allocations: 27.97 kB / 469.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.1068, allocations: 27.89 kB / 469.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.1068, allocations: 12 kB / 469.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1071, allocations: 247.2 kB / 469.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1071, allocations: 0 / 469.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.1076, allocations: 148 kB / 469.9 MB, free: 4.148 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.001346/0.1089, allocations: 1.111 MB / 471 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.11, allocations: 0.526 MB / 471.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.11, allocations: 0 / 471.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.1103, allocations: 135.8 kB / 471.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.1108, allocations: 69.95 kB / 471.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.1166, allocations: 3.75 MB / 475.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.1171, allocations: 0.804 MB / 476.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.1173, allocations: 46.94 kB / 476.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.1175, allocations: 131.4 kB / 476.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.1175, allocations: 3.938 kB / 476.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.1487, allocations: 8.388 MB / 484.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.6, allocations: 3.953 kB / 484.8 MB, free: 4.902 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.133577303029597] Failed to read output from testmodel.py, exit status != 0: 11.759904638049193 11.778729897 11.686940338 Calling exit ...