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.001518/0.001518, allocations: 105.2 kB / 18.99 MB, free: 2.758 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.001738/0.001738, allocations: 218.9 kB / 22.29 MB, free: 5.164 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.419/1.419, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.008891/0.008891, allocations: 1.962 MB / 287.4 MB, free: 3.648 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.002202/0.002202, allocations: 74.22 kB / 401.8 MB, free: 50.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08617, allocations: 49.7 MB / 451.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003943/0.09011, allocations: 3.391 MB / 454.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.09139, allocations: 0.881 MB / 455.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.09161, allocations: 11.94 kB / 455.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.09179, allocations: 67.34 kB / 455.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.09205, allocations: 154.7 kB / 456 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.09243, allocations: 131.8 kB / 456.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.09291, allocations: 0.5484 MB / 456.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.09315, allocations: 118.3 kB / 456.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.09335, allocations: 215.1 kB / 457.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.09356, allocations: 187 kB / 457.2 MB, free: 348 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.09361, allocations: 52 kB / 457.3 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.09372, allocations: 63.92 kB / 457.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.0938, allocations: 99.61 kB / 457.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.09401, allocations: 195.1 kB / 457.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007167/0.09473, allocations: 0.5096 MB / 458.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09473, allocations: 0 / 458.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.09474, allocations: 7.938 kB / 458.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.09475, allocations: 0 / 458.2 MB, free: 15.41 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.001579/0.09633, allocations: 0.699 MB / 458.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.09638, allocations: 15.98 kB / 458.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.09649, allocations: 74.72 kB / 458.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.0966, allocations: 52.61 kB / 459 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.09712, allocations: 278.2 kB / 459.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.09716, allocations: 33.38 kB / 459.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.09724, allocations: 39.94 kB / 459.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.09798, allocations: 377.8 kB / 459.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.098, allocations: 4 kB / 459.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.09804, allocations: 15.98 kB / 459.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.09805, allocations: 12 kB / 459.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.09866, allocations: 251.9 kB / 460 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1007, allocations: 0.9807 MB / 461 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.1013, allocations: 259.2 kB / 461.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.1016, allocations: 111.1 kB / 461.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1016, allocations: 8.172 kB / 461.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.1021, allocations: 222.9 kB / 461.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.474e-06/0.1021, allocations: 0 / 461.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002595/0.1047, allocations: 1.077 MB / 462.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.1047, allocations: 55.41 kB / 462.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.1051, allocations: 349.5 kB / 463 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.1052, allocations: 33.7 kB / 463.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.1054, allocations: 220.7 kB / 463.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.805e-05/0.1055, allocations: 115 kB / 463.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1056, allocations: 82.02 kB / 463.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1058, allocations: 346.8 kB / 463.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.1061, allocations: 140.1 kB / 463.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.1064, allocations: 192.4 kB / 464.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.107, allocations: 285 kB / 464.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.107, allocations: 7.875 kB / 464.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007894/0.1077, allocations: 432.5 kB / 464.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.1078, allocations: 41.69 kB / 464.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1078, allocations: 0 / 464.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1078, allocations: 0 / 464.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.1082, allocations: 83.89 kB / 465 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1082, allocations: 7.938 kB / 465 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.1085, allocations: 19.98 kB / 465 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.1085, allocations: 16 kB / 465 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003916/0.1089, allocations: 258.7 kB / 465.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002909/0.1092, allocations: 176.4 kB / 465.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005783/0.1097, allocations: 285.3 kB / 465.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.1097, allocations: 0 / 465.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007291/0.1105, allocations: 424.5 kB / 466.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1105, allocations: 29.7 kB / 466.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1105, allocations: 4 kB / 466.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.1105, allocations: 0 / 466.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.1109, allocations: 83.89 kB / 466.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1109, allocations: 4 kB / 466.2 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1111, allocations: 23.92 kB / 466.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1111, allocations: 11.98 kB / 466.3 MB, free: 6.875 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.0001763/0.1113, allocations: 208.2 kB / 466.5 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1114, allocations: 35.77 kB / 466.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.112, allocations: 325.3 kB / 466.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1121, allocations: 4 kB / 466.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1121, allocations: 3.938 kB / 466.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1121, allocations: 3.984 kB / 466.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.1134, allocations: 0.7981 MB / 467.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1134, allocations: 0 / 467.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.1138, allocations: 83.88 kB / 467.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1138, allocations: 4 kB / 467.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1138, allocations: 8 kB / 467.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1138, allocations: 0 / 467.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1138, allocations: 7.938 kB / 467.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000996/0.1148, allocations: 0.5625 MB / 468.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.115, allocations: 63.77 kB / 468.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.115, allocations: 11.94 kB / 468.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.1153, allocations: 19.98 kB / 468.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.1154, allocations: 31.89 kB / 468.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1154, allocations: 11.98 kB / 468.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.1156, allocations: 239.2 kB / 468.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1156, allocations: 0 / 468.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000507/0.1161, allocations: 155.9 kB / 468.8 MB, free: 4.219 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.1175, allocations: 1.122 MB / 469.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.1185, allocations: 0.5764 MB / 470.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1185, allocations: 4.125 kB / 470.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1188, allocations: 135.8 kB / 470.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.1193, allocations: 69.47 kB / 470.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/0.1251, allocations: 3.847 MB / 474.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1253, allocations: 208.2 kB / 474.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.1255, allocations: 50.92 kB / 474.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.1258, allocations: 131.4 kB / 475 MB, free: 13.83 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1258, allocations: 0 / 475 MB, free: 13.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.1642, allocations: 8.939 MB / 483.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.71, allocations: 4 kB / 483.9 MB, free: 4.828 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 & 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: 14.595378588011954] Failed to read output from testmodel.py, exit status != 0: 11.81585930401343 11.832509729 11.734578874 Calling exit ...