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.001422/0.001422, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001754/0.001754, allocations: 214.6 kB / 22.25 MB, free: 5.262 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.531/1.531, allocations: 207.7 MB / 233.1 MB, free: 9.766 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.008939/0.008939, allocations: 1.958 MB / 287.3 MB, free: 3.664 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.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: 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.002227/0.002227, allocations: 69.06 kB / 401.8 MB, free: 50.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.09383, allocations: 49.7 MB / 451.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002754/0.09658, allocations: 2.26 MB / 453.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.09735, allocations: 0.558 MB / 454.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.09745, allocations: 0 / 454.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.09758, allocations: 27.72 kB / 454.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.09771, allocations: 79.33 kB / 454.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.09785, allocations: 43.94 kB / 454.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.09806, allocations: 242.8 kB / 454.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.0982, allocations: 36.5 kB / 454.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.0983, allocations: 87.66 kB / 454.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.09844, allocations: 83.56 kB / 454.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.09846, allocations: 16 kB / 454.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.0985, allocations: 20 kB / 454.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.09853, allocations: 39.84 kB / 454.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.09859, allocations: 79.61 kB / 455 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.09878, allocations: 195.2 kB / 455.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.09879, allocations: 0 / 455.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.09879, allocations: 0 / 455.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.09879, allocations: 0 / 455.2 MB, free: 2.188 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006654/0.09946, allocations: 433.6 kB / 455.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.0995, allocations: 19.98 kB / 455.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.09955, allocations: 46.73 kB / 455.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.09959, allocations: 24.8 kB / 455.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.09985, allocations: 166.2 kB / 455.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.09986, allocations: 16.64 kB / 455.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.09989, allocations: 19.88 kB / 455.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.1002, allocations: 207.6 kB / 456.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1002, allocations: 0 / 456.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1002, allocations: 12 kB / 456.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1002, allocations: 8 kB / 456.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.1004, allocations: 112.5 kB / 456.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.1012, allocations: 491 kB / 456.7 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1014, allocations: 98.52 kB / 456.8 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1015, allocations: 44.84 kB / 456.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1015, allocations: 4 kB / 456.9 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1016, allocations: 42.5 kB / 456.9 MB, free: 340 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1016, allocations: 0 / 456.9 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001648/0.1032, allocations: 0.5444 MB / 457.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1033, allocations: 51.41 kB / 457.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1035, allocations: 199 kB / 457.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1035, allocations: 29.7 kB / 457.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1036, allocations: 128.4 kB / 457.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.1037, allocations: 67.45 kB / 457.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.1038, allocations: 37.67 kB / 458 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1039, allocations: 326.8 kB / 458.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1041, allocations: 47.97 kB / 458.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1042, allocations: 69.69 kB / 458.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1045, allocations: 126.6 kB / 458.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1045, allocations: 0 / 458.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000341/0.1048, allocations: 177.5 kB / 458.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1048, allocations: 11.94 kB / 458.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1048, allocations: 4.031 kB / 458.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1048, allocations: 3.938 kB / 458.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.105, allocations: 35.98 kB / 458.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.105, allocations: 7.984 kB / 458.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.1051, allocations: 8 kB / 458.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1052, allocations: 4 kB / 458.8 MB, free: 14.38 MB / 334.1 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 0.0001318/0.1053, allocations: 129.8 kB / 458.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.1053, allocations: 19.86 kB / 458.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.1054, allocations: 37.67 kB / 459 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1054, allocations: 8 kB / 459 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1054, allocations: 4 kB / 459 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1054, allocations: 0 / 459 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/0.1063, allocations: 0.5352 MB / 459.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1063, allocations: 0 / 459.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1064, allocations: 48.22 kB / 459.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1064, allocations: 4 kB / 459.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1065, allocations: 4 kB / 459.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.1065, allocations: 7.938 kB / 459.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1065, allocations: 0 / 459.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.107, allocations: 382.1 kB / 459.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.1071, allocations: 31.92 kB / 460 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1071, allocations: 12.06 kB / 460 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1073, allocations: 11.98 kB / 460 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1073, allocations: 19.91 kB / 460 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1073, allocations: 8 kB / 460 MB, free: 13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1075, allocations: 144.6 kB / 460.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1075, allocations: 0 / 460.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1078, allocations: 40 kB / 460.2 MB, free: 12.82 MB / 334.1 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.0009242/0.1087, allocations: 0.8985 MB / 461.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.109, allocations: 127.7 kB / 461.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.109, allocations: 0 / 461.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1091, allocations: 72.47 kB / 461.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.1095, allocations: 32.39 kB / 461.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.1125, allocations: 2.225 MB / 463.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1126, allocations: 120.8 kB / 463.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.1127, allocations: 17.41 kB / 463.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.1128, allocations: 51.42 kB / 463.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1128, allocations: 3.938 kB / 463.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.1456, allocations: 4.194 MB / 467.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.87, allocations: 0 / 467.9 MB, free: 4.824 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.660542774945498] Failed to read output from testmodel.py, exit status != 0: 11.97469317773357 12.001508648 11.89806141 Calling exit ...