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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 112.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 187.7 kB / 22.23 MB, free: 5.137 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.421/1.421, allocations: 207.6 MB / 233 MB, free: 10.05 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.01099/0.01099, allocations: 1.966 MB / 287.2 MB, free: 3.918 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 79.34 kB / 401.7 MB, free: 50.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07298/0.07507, allocations: 49.69 MB / 451.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002819/0.07789, allocations: 2.404 MB / 453.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007434/0.07863, allocations: 0.593 MB / 454.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.07873, allocations: 4 kB / 454.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.07885, allocations: 27.7 kB / 454.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.07899, allocations: 71.34 kB / 454.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.07914, allocations: 55.94 kB / 454.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.07934, allocations: 238.8 kB / 454.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.07948, allocations: 44.45 kB / 454.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.07956, allocations: 83.72 kB / 454.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.07968, allocations: 91.56 kB / 455 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.07971, allocations: 12 kB / 455 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.729e-05/0.07974, allocations: 16 kB / 455 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.07977, allocations: 47.77 kB / 455.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.07983, allocations: 99.48 kB / 455.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.08001, allocations: 191.2 kB / 455.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.08002, allocations: 4 kB / 455.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08002, allocations: 0 / 455.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.08002, allocations: 0 / 455.4 MB, free: 2.355 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.0005951/0.08062, allocations: 0.4987 MB / 455.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.08065, allocations: 15.98 kB / 455.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.08069, allocations: 50.73 kB / 455.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.08073, allocations: 24.8 kB / 456 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.08093, allocations: 224 kB / 456.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.08094, allocations: 12.7 kB / 456.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.08097, allocations: 15.94 kB / 456.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.08123, allocations: 156.2 kB / 456.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.08124, allocations: 3.984 kB / 456.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.08125, allocations: 4 kB / 456.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.08126, allocations: 4 kB / 456.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.08147, allocations: 120.5 kB / 456.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.08221, allocations: 0.5468 MB / 457 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.08238, allocations: 90.55 kB / 457.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.08248, allocations: 52.83 kB / 457.2 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.08249, allocations: 0 / 457.2 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.0825, allocations: 30.56 kB / 457.2 MB, free: 356 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 8.71e-07/0.0825, allocations: 0 / 457.2 MB, free: 356 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001602/0.0841, allocations: 0.6384 MB / 457.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.08414, allocations: 55.41 kB / 457.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.08436, allocations: 195 kB / 458.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.08439, allocations: 29.7 kB / 458.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.08448, allocations: 132.4 kB / 458.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.08453, allocations: 55.55 kB / 458.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.0846, allocations: 41.66 kB / 458.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.08474, allocations: 326.8 kB / 458.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.08486, allocations: 43.97 kB / 458.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.085, allocations: 65.69 kB / 458.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.08525, allocations: 133.5 kB / 458.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.08525, allocations: 3.938 kB / 458.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003352/0.08558, allocations: 177.8 kB / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.0856, allocations: 8 kB / 459.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.0856, allocations: 0 / 459.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.08562, allocations: 3.938 kB / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.08581, allocations: 43.95 kB / 459.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.08582, allocations: 4 kB / 459.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.08592, allocations: 11.98 kB / 459.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.08593, allocations: 4 kB / 459.2 MB, free: 14.28 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.0001242/0.08605, allocations: 133.7 kB / 459.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.08609, allocations: 19.86 kB / 459.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.08616, allocations: 33.73 kB / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.08616, allocations: 0 / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.08616, allocations: 8 kB / 459.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.08617, allocations: 0 / 459.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00084/0.08701, allocations: 0.5791 MB / 459.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.08701, allocations: 4 kB / 459.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.0872, allocations: 43.91 kB / 460 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.0872, allocations: 4 kB / 460 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.08722, allocations: 4 kB / 460 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.08722, allocations: 4 kB / 460 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.08723, allocations: 7.938 kB / 460 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.08777, allocations: 374.4 kB / 460.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.08789, allocations: 112.9 kB / 460.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.08792, allocations: 8 kB / 460.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.08808, allocations: 15.97 kB / 460.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.08813, allocations: 23.91 kB / 460.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.08815, allocations: 4 kB / 460.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.08828, allocations: 148.7 kB / 460.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08828, allocations: 0 / 460.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.08857, allocations: 40 kB / 460.7 MB, free: 12.58 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.0008508/0.08942, allocations: 0.9025 MB / 461.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.08973, allocations: 135.7 kB / 461.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.08973, allocations: 0 / 461.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.08987, allocations: 67.84 kB / 461.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.09023, allocations: 28.55 kB / 461.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.09296, allocations: 2.225 MB / 464.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.09333, allocations: 0.728 MB / 464.8 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.09341, allocations: 17.41 kB / 464.8 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.09351, allocations: 55.42 kB / 464.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of SimCode: time 6.22e-07/0.09351, allocations: 0 / 464.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.122, allocations: 3.662 MB / 468.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.185, allocations: 11.95 kB / 468.5 MB, free: 4.496 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.714676300995052] Failed to read output from testmodel.py, exit status != 0: 8.255667682969943 8.280504376 8.195997906 Calling exit ...