Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.001256/0.001256, allocations: 103 kB / 16.45 MB, free: 6.449 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.001278/0.001278, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.353/1.353, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.008494/0.008494, allocations: 1.958 MB / 283.6 MB, free: 5.066 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.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",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.002081/0.002081, allocations: 71.86 kB / 396.6 MB, free: 51.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07477, allocations: 49.67 MB / 446.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003168/0.07794, allocations: 3.174 MB / 449.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.07887, allocations: 0.807 MB / 450.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.07901, allocations: 11.94 kB / 450.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.07914, allocations: 51.48 kB / 450.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.07932, allocations: 126.9 kB / 450.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.07955, allocations: 95.84 kB / 450.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.07982, allocations: 426 kB / 450.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.07998, allocations: 88.27 kB / 451 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.0801, allocations: 163.4 kB / 451.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.08027, allocations: 167.2 kB / 451.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.0803, allocations: 32 kB / 451.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.08038, allocations: 40 kB / 451.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.08042, allocations: 71.77 kB / 451.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.08052, allocations: 191.1 kB / 451.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.08083, allocations: 398.4 kB / 452 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.08084, allocations: 0 / 452 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08084, allocations: 0 / 452 MB, free: 1.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.08084, allocations: 0 / 452 MB, free: 1.832 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007865/0.08163, allocations: 0.6465 MB / 452.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.08167, allocations: 11.89 kB / 452.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.08172, allocations: 58.73 kB / 452.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.08178, allocations: 40.7 kB / 452.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.08205, allocations: 286.8 kB / 453.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.08207, allocations: 28.88 kB / 453.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.08211, allocations: 35.94 kB / 453.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.08245, allocations: 236.8 kB / 453.4 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.08246, allocations: 0 / 453.4 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.08249, allocations: 16 kB / 453.4 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.08249, allocations: 8 kB / 453.4 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.08277, allocations: 178.2 kB / 453.6 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.08418, allocations: 0.8996 MB / 454.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.08459, allocations: 178.5 kB / 454.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.08474, allocations: 72.83 kB / 454.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.08476, allocations: 4.5 kB / 454.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.0848, allocations: 34.56 kB / 454.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.0848, allocations: 0 / 454.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001838/0.08664, allocations: 0.9771 MB / 455.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.08667, allocations: 51.41 kB / 455.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.08698, allocations: 291.3 kB / 456.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.08701, allocations: 33.7 kB / 456.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.08721, allocations: 184.6 kB / 456.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.08729, allocations: 95.17 kB / 456.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.08738, allocations: 57.66 kB / 456.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.08754, allocations: 334.8 kB / 456.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.08771, allocations: 80.83 kB / 456.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.0879, allocations: 116.2 kB / 456.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.08823, allocations: 196.2 kB / 457.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.08823, allocations: 7.938 kB / 457.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004525/0.08869, allocations: 265.4 kB / 457.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.0887, allocations: 8 kB / 457.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.08872, allocations: 3.938 kB / 457.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.08874, allocations: 4 kB / 457.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.08901, allocations: 59.91 kB / 457.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.08901, allocations: 0 / 457.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.08916, allocations: 19.92 kB / 457.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.08917, allocations: 8.125 kB / 457.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002409/0.08942, allocations: 186.1 kB / 457.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001715/0.08959, allocations: 128 kB / 457.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003124/0.0899, allocations: 200.4 kB / 458 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.0899, allocations: 0 / 458 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0004191/0.09032, allocations: 261.3 kB / 458.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.09033, allocations: 7.906 kB / 458.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09033, allocations: 4 kB / 458.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.09034, allocations: 7.922 kB / 458.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.09057, allocations: 56.05 kB / 458.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.09057, allocations: 8 kB / 458.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.0907, allocations: 11.98 kB / 458.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.09071, allocations: 12 kB / 458.4 MB, free: 11.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001315/0.09084, allocations: 196.1 kB / 458.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.0909, allocations: 27.81 kB / 458.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.09137, allocations: 231.8 kB / 458.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.09137, allocations: 0 / 458.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.09138, allocations: 12 kB / 458.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.09139, allocations: 3.984 kB / 458.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.09238, allocations: 0.7203 MB / 459.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.09238, allocations: 0 / 459.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.09267, allocations: 59.97 kB / 459.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.09268, allocations: 8.062 kB / 459.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.09269, allocations: 8 kB / 459.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.0927, allocations: 0 / 459.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0927, allocations: 4 kB / 459.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.09332, allocations: 443.6 kB / 460.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.09345, allocations: 136.9 kB / 460.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.09349, allocations: 7.938 kB / 460.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.09365, allocations: 11.98 kB / 460.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.0937, allocations: 19.98 kB / 460.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.09372, allocations: 7.938 kB / 460.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.09393, allocations: 209.9 kB / 460.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09393, allocations: 4 kB / 460.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004467/0.09438, allocations: 116 kB / 460.6 MB, free: 8.773 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009333/0.09531, allocations: 0.9657 MB / 461.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.09587, allocations: 303.5 kB / 461.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.09588, allocations: 0 / 461.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.09604, allocations: 89.09 kB / 461.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.09647, allocations: 48.64 kB / 462 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.1006, allocations: 3.108 MB / 465.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.101, allocations: 0.7756 MB / 465.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1012, allocations: 38.25 kB / 465.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1013, allocations: 103.4 kB / 466 MB, free: 3.148 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1013, allocations: 0 / 466 MB, free: 3.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.1415, allocations: 6.07 MB / 472.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.222, allocations: 15.83 kB / 472.1 MB, free: 13.01 MB / 350.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestBellJarOpenLoop_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.610523487004684] Failed to read output from testmodel.py, exit status != 0: 8.291193919008947 8.305430451 8.221856637 Calling exit ...