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.001305/0.001305, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001452/0.001452, allocations: 218.5 kB / 22.26 MB, free: 5.078 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 MB, free: 10 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.009107/0.009107, allocations: 1.974 MB / 287.3 MB, free: 3.957 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.002199/0.002199, allocations: 78.09 kB / 401.8 MB, free: 50.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07903/0.08123, allocations: 49.7 MB / 451.5 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003795/0.08502, allocations: 3.706 MB / 455.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.08646, allocations: 0.9355 MB / 456.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.0867, allocations: 7.938 kB / 456.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.08687, allocations: 63.34 kB / 456.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.08712, allocations: 158.7 kB / 456.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.08746, allocations: 127.8 kB / 456.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.08786, allocations: 0.5484 MB / 457 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.08807, allocations: 130.3 kB / 457.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.08827, allocations: 215.1 kB / 457.4 MB, free: 376 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.08848, allocations: 215 kB / 457.6 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.08852, allocations: 44 kB / 457.6 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.08862, allocations: 63.98 kB / 457.7 MB, free: 52 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.08872, allocations: 95.7 kB / 457.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.08895, allocations: 242.8 kB / 458 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.0896, allocations: 0.5096 MB / 458.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0896, allocations: 0 / 458.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.0896, allocations: 3.938 kB / 458.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.08961, allocations: 0 / 458.5 MB, free: 15.2 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.001392/0.091, allocations: 0.699 MB / 459.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.09105, allocations: 11.98 kB / 459.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.238e-05/0.09114, allocations: 78.7 kB / 459.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.09123, allocations: 52.61 kB / 459.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.09173, allocations: 274.2 kB / 459.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.09176, allocations: 33.38 kB / 459.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.09182, allocations: 39.94 kB / 459.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.09245, allocations: 334.4 kB / 460 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.09247, allocations: 0 / 460 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.0925, allocations: 16 kB / 460 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.09251, allocations: 8 kB / 460 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.09308, allocations: 259.8 kB / 460.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.09497, allocations: 1.074 MB / 461.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.09554, allocations: 263.2 kB / 461.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.09578, allocations: 118.1 kB / 461.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.09581, allocations: 12.16 kB / 461.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.09618, allocations: 167.5 kB / 461.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.084e-06/0.09618, allocations: 0 / 461.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002494/0.09868, allocations: 1.066 MB / 463 MB, free: 10.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.09873, allocations: 55.41 kB / 463 MB, free: 10.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.09912, allocations: 357.5 kB / 463.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.09916, allocations: 33.7 kB / 463.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.09932, allocations: 208.8 kB / 463.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.09943, allocations: 130.9 kB / 463.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.09954, allocations: 70.08 kB / 463.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.09971, allocations: 346.8 kB / 464.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.09998, allocations: 114.4 kB / 464.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.1003, allocations: 162.7 kB / 464.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.1008, allocations: 289 kB / 464.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1008, allocations: 0 / 464.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007558/0.1016, allocations: 402.8 kB / 465.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.1016, allocations: 29.7 kB / 465.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1016, allocations: 4 kB / 465.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.1016, allocations: 3.984 kB / 465.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.102, allocations: 87.89 kB / 465.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.102, allocations: 8.031 kB / 465.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1023, allocations: 15.98 kB / 465.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.1023, allocations: 16 kB / 465.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003675/0.1027, allocations: 224.9 kB / 465.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002655/0.1029, allocations: 146.8 kB / 465.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005046/0.1034, allocations: 285.3 kB / 465.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1035, allocations: 4 kB / 465.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007014/0.1042, allocations: 394.8 kB / 466.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.1042, allocations: 41.78 kB / 466.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.1042, allocations: 0 / 466.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.1042, allocations: 4 kB / 466.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.1045, allocations: 83.83 kB / 466.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1045, allocations: 4 kB / 466.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.1048, allocations: 23.92 kB / 466.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1048, allocations: 12 kB / 466.5 MB, free: 6.898 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.0001581/0.105, allocations: 192.2 kB / 466.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.105, allocations: 51.66 kB / 466.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.1057, allocations: 329.3 kB / 467 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1057, allocations: 7.984 kB / 467 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1057, allocations: 7.938 kB / 467 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1058, allocations: 0 / 467 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1071, allocations: 0.8448 MB / 467.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1071, allocations: 4 kB / 467.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.1075, allocations: 79.88 kB / 468 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.1075, allocations: 4 kB / 468 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1075, allocations: 8 kB / 468 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1075, allocations: 0 / 468 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1075, allocations: 7.938 kB / 468 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.1084, allocations: 0.5624 MB / 468.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.1086, allocations: 67.77 kB / 468.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.1086, allocations: 8 kB / 468.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1089, allocations: 23.98 kB / 468.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/0.109, allocations: 31.88 kB / 468.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.109, allocations: 8 kB / 468.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.1093, allocations: 243.2 kB / 468.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1093, allocations: 0 / 468.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1098, allocations: 152 kB / 469.1 MB, free: 4.184 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.001318/0.1111, allocations: 1.115 MB / 470.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1122, allocations: 0.5182 MB / 470.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1122, allocations: 0 / 470.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1125, allocations: 144.4 kB / 470.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.113, allocations: 57.34 kB / 470.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.1188, allocations: 3.758 MB / 474.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.1192, allocations: 0.804 MB / 475.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.1194, allocations: 46.94 kB / 475.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1196, allocations: 127.4 kB / 475.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1196, allocations: 0 / 475.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.1561, allocations: 8.369 MB / 484 MB, free: 4.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.22, allocations: 11.75 kB / 484 MB, free: 4.953 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.994161931001145] Failed to read output from testmodel.py, exit status != 0: 11.327510242001154 11.342221408 11.249592376 Calling exit ...