Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.001107/0.001107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001311/0.001311, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9/0.9, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.006908/0.006908, allocations: 1.434 MB / 237.9 MB, free: 13.92 MB / 234.7 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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.397e-05, allocations: 6.219 kB / 352.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002036/0.00206, allocations: 2.252 MB / 354.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006893/0.002749, allocations: 0.5465 MB / 355.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.002836, allocations: 7.938 kB / 355.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.002945, allocations: 31.7 kB / 355.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003056, allocations: 79.33 kB / 355.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.003195, allocations: 43.94 kB / 355.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.003367, allocations: 246.7 kB / 355.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003496, allocations: 36.55 kB / 355.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.003608, allocations: 131.7 kB / 355.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.003707, allocations: 63.81 kB / 355.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.003737, allocations: 19.94 kB / 355.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.003756, allocations: 23.94 kB / 355.9 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.003782, allocations: 35.84 kB / 356 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.003826, allocations: 71.83 kB / 356 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.003988, allocations: 187.4 kB / 356.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00399, allocations: 0 / 356.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003991, allocations: 0 / 356.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003995, allocations: 0 / 356.2 MB, free: 12.11 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004549/0.00445, allocations: 433.6 kB / 356.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.004488, allocations: 15.98 kB / 356.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.004521, allocations: 54.73 kB / 356.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.004553, allocations: 20.8 kB / 356.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.004725, allocations: 173.4 kB / 356.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.004737, allocations: 12.7 kB / 356.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.004763, allocations: 16.38 kB / 356.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.004977, allocations: 204 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.004985, allocations: 0 / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.004998, allocations: 4 kB / 357.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005004, allocations: 8 kB / 357.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.005151, allocations: 120.5 kB / 357.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.005749, allocations: 487.3 kB / 357.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.00589, allocations: 90.48 kB / 357.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.00595, allocations: 48.83 kB / 357.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.005962, allocations: 8 kB / 357.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.005977, allocations: 34.56 kB / 357.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.005978, allocations: 3.938 kB / 357.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009853/0.006964, allocations: 0.5427 MB / 358.5 MB, free: 9.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.006983, allocations: 55.41 kB / 358.5 MB, free: 9.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007083, allocations: 203 kB / 358.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.007092, allocations: 29.64 kB / 358.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.007141, allocations: 136.3 kB / 358.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.007162, allocations: 59.47 kB / 358.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.007202, allocations: 37.67 kB / 359 MB, free: 9.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.007237, allocations: 330.8 kB / 359.3 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.007304, allocations: 51.98 kB / 359.3 MB, free: 8.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.007374, allocations: 73.28 kB / 359.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.007502, allocations: 113.7 kB / 359.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007503, allocations: 4 kB / 359.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001661/0.007669, allocations: 173.5 kB / 359.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007681, allocations: 4 kB / 359.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007687, allocations: 8.016 kB / 359.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.007701, allocations: 4 kB / 359.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.007803, allocations: 47.91 kB / 359.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.007808, allocations: 3.938 kB / 359.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.007854, allocations: 7.984 kB / 359.8 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.007863, allocations: 8 kB / 359.8 MB, free: 8.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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 5.87e-05/0.007921, allocations: 125.8 kB / 359.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.007942, allocations: 19.86 kB / 359.9 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.007972, allocations: 29.8 kB / 360 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007974, allocations: 4 kB / 360 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.007978, allocations: 0 / 360 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.007982, allocations: 3.938 kB / 360 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.008387, allocations: 0.5391 MB / 360.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.008389, allocations: 4 kB / 360.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.008483, allocations: 48.16 kB / 360.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008485, allocations: 0 / 360.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.008494, allocations: 8 kB / 360.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.008497, allocations: 4 kB / 360.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008499, allocations: 4 kB / 360.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.008755, allocations: 370 kB / 360.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.008798, allocations: 35.88 kB / 361 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.008815, allocations: 12.06 kB / 361 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.008892, allocations: 11.98 kB / 361 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.008932, allocations: 27.94 kB / 361 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008939, allocations: 7.938 kB / 361 MB, free: 6.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.008994, allocations: 148.4 kB / 361.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008994, allocations: 0 / 361.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.009174, allocations: 40 kB / 361.2 MB, free: 6.758 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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.000333/0.009507, allocations: 0.9014 MB / 362.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.009687, allocations: 119.8 kB / 362.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009689, allocations: 0 / 362.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.009761, allocations: 68.47 kB / 362.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01002, allocations: 35.92 kB / 362.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.01136, allocations: 2.171 MB / 364.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.01142, allocations: 132.7 kB / 364.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.01148, allocations: 9.484 kB / 364.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.01154, allocations: 56.48 kB / 364.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01154, allocations: 4 kB / 364.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.03295, allocations: 4.304 MB / 369 MB, free: 14.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/7.377, allocations: 11.83 kB / 369 MB, free: 14.7 MB / 298.7 MB " [Timeout remaining time 653] (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinder_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.060241 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.19676105491817] Failed to read output from testmodel.py, exit status != 0: 7.458357025869191 7.467980313 7.462169999 Calling exit ...