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.001392/0.001392, 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.001634/0.001634, allocations: 186.6 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.468/1.468, 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.008648/0.008648, allocations: 1.962 MB / 287.2 MB, free: 3.887 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.002131/0.002131, allocations: 78.17 kB / 401.7 MB, free: 51.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07199/0.07412, allocations: 49.7 MB / 451.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.00369/0.07781, allocations: 3.718 MB / 455.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.079, allocations: 0.92 MB / 456.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.07917, allocations: 11.94 kB / 456.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.07933, allocations: 63.36 kB / 456.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.07956, allocations: 158.7 kB / 456.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.07984, allocations: 131.8 kB / 456.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.0802, allocations: 0.5484 MB / 457 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.08039, allocations: 126.3 kB / 457.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.08055, allocations: 219.1 kB / 457.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.08073, allocations: 211 kB / 457.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.08079, allocations: 51.94 kB / 457.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.981e-05/0.08088, allocations: 52 kB / 457.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.08096, allocations: 95.77 kB / 457.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.08121, allocations: 250.7 kB / 458 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.08183, allocations: 0.5096 MB / 458.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.08184, allocations: 0 / 458.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08184, allocations: 0 / 458.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.08185, allocations: 4 kB / 458.5 MB, free: 15.21 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.001437/0.08329, allocations: 0.7704 MB / 459.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.08333, allocations: 11.98 kB / 459.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.08343, allocations: 74.72 kB / 459.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.08353, allocations: 56.59 kB / 459.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.08403, allocations: 332.1 kB / 459.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.08406, allocations: 29.38 kB / 459.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.08415, allocations: 47.86 kB / 459.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.08483, allocations: 326.5 kB / 460.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.08484, allocations: 0 / 460.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.08488, allocations: 16 kB / 460.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.08489, allocations: 8 kB / 460.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.08548, allocations: 255.9 kB / 460.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.08742, allocations: 1.132 MB / 461.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.08802, allocations: 259.4 kB / 461.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.08829, allocations: 118.8 kB / 461.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.08832, allocations: 4.234 kB / 461.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.08874, allocations: 167.5 kB / 462 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.08875, allocations: 0 / 462 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002598/0.09134, allocations: 1.224 MB / 463.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.09139, allocations: 55.41 kB / 463.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.09179, allocations: 353.5 kB / 463.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.09183, allocations: 33.7 kB / 463.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.09199, allocations: 208.8 kB / 463.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.09211, allocations: 130.9 kB / 464 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.09224, allocations: 70.08 kB / 464.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.09241, allocations: 342.8 kB / 464.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.09271, allocations: 122.4 kB / 464.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.09302, allocations: 158.6 kB / 464.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.09358, allocations: 289.1 kB / 465 MB, free: 8.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09358, allocations: 0 / 465 MB, free: 8.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007543/0.09434, allocations: 398.8 kB / 465.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/0.09438, allocations: 33.7 kB / 465.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.09439, allocations: 3.984 kB / 465.4 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.0944, allocations: 8 kB / 465.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.09479, allocations: 83.89 kB / 465.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.09481, allocations: 12.03 kB / 465.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.09503, allocations: 19.98 kB / 465.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.09506, allocations: 8 kB / 465.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000384/0.09544, allocations: 228.9 kB / 465.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002853/0.09573, allocations: 154.7 kB / 465.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005454/0.09627, allocations: 281.4 kB / 466.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.09627, allocations: 3.938 kB / 466.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007376/0.09701, allocations: 394.8 kB / 466.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.09704, allocations: 33.8 kB / 466.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.09704, allocations: 4 kB / 466.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.09704, allocations: 0 / 466.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.09738, allocations: 87.89 kB / 466.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.09739, allocations: 3.984 kB / 466.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.0976, allocations: 19.92 kB / 466.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.09763, allocations: 16 kB / 466.7 MB, free: 6.5 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.0001564/0.09778, allocations: 196.2 kB / 466.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.09784, allocations: 47.72 kB / 467 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.09855, allocations: 329.2 kB / 467.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.09856, allocations: 4 kB / 467.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.09856, allocations: 3.938 kB / 467.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.09857, allocations: 0 / 467.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.09996, allocations: 0.8769 MB / 468.2 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.09996, allocations: 3.938 kB / 468.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.1003, allocations: 75.95 kB / 468.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1003, allocations: 4 kB / 468.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1004, allocations: 8 kB / 468.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1004, allocations: 7.922 kB / 468.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1004, allocations: 4.125 kB / 468.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.1014, allocations: 0.5623 MB / 468.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.1016, allocations: 152.9 kB / 469 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1016, allocations: 11.94 kB / 469 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.1018, allocations: 19.98 kB / 469 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.1019, allocations: 27.94 kB / 469.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.102, allocations: 12 kB / 469.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.1022, allocations: 243.2 kB / 469.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1022, allocations: 0 / 469.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.1027, allocations: 144 kB / 469.5 MB, free: 3.664 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.001374/0.1041, allocations: 1.122 MB / 470.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1051, allocations: 0.5182 MB / 471.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1051, allocations: 0 / 471.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.1054, allocations: 140.2 kB / 471.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.1059, allocations: 69.28 kB / 471.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.1115, allocations: 3.743 MB / 475 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1119, allocations: 0.804 MB / 475.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.1121, allocations: 42.94 kB / 475.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.1123, allocations: 135.4 kB / 476 MB, free: 12.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1124, allocations: 0 / 476 MB, free: 12.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.1458, allocations: 8.261 MB / 484.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/8.729, allocations: 3.984 kB / 484.3 MB, free: 4.555 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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarLinearControl_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.642310566967353] Failed to read output from testmodel.py, exit status != 0: 8.805475658969954 8.832254218 8.745467533 Calling exit ...