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.001384/0.001384, allocations: 113 kB / 18.94 MB, free: 2.934 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.001763/0.001763, allocations: 209 kB / 22.25 MB, free: 5.086 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.384/1.384, allocations: 207.6 MB / 233 MB, free: 9.988 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.009854/0.009854, allocations: 1.958 MB / 287.2 MB, free: 3.863 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.002238/0.002238, allocations: 73.83 kB / 401.8 MB, free: 50.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07554/0.07777, allocations: 49.7 MB / 451.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002823/0.0806, allocations: 2.392 MB / 453.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.08137, allocations: 0.5891 MB / 454.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.08147, allocations: 7.938 kB / 454.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.08159, allocations: 27.66 kB / 454.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.08172, allocations: 67.41 kB / 454.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.08188, allocations: 51.92 kB / 454.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.08209, allocations: 242.8 kB / 454.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.08221, allocations: 40.52 kB / 454.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.0823, allocations: 87.66 kB / 455 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.08243, allocations: 87.56 kB / 455.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.08246, allocations: 16 kB / 455.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.669e-05/0.08249, allocations: 16 kB / 455.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.08252, allocations: 43.83 kB / 455.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.08258, allocations: 99.48 kB / 455.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.08277, allocations: 195.1 kB / 455.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.08277, allocations: 0 / 455.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.08277, allocations: 4 kB / 455.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.08278, allocations: 0 / 455.4 MB, free: 2.293 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.0006008/0.08338, allocations: 433.6 kB / 455.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.08342, allocations: 15.98 kB / 455.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.08346, allocations: 50.73 kB / 455.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.0835, allocations: 24.8 kB / 455.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.08373, allocations: 170.2 kB / 456.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.08375, allocations: 12.7 kB / 456.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.08378, allocations: 15.94 kB / 456.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.08404, allocations: 152.2 kB / 456.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.08405, allocations: 0 / 456.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.08407, allocations: 4 kB / 456.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.08408, allocations: 4 kB / 456.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.08429, allocations: 120.5 kB / 456.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.08505, allocations: 0.5147 MB / 456.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.08523, allocations: 98.47 kB / 457 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.08532, allocations: 48.83 kB / 457.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.08533, allocations: 8 kB / 457.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.08535, allocations: 34.56 kB / 457.1 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.08535, allocations: 3.938 kB / 457.1 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001556/0.08691, allocations: 0.5476 MB / 457.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.08695, allocations: 51.41 kB / 457.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.08715, allocations: 199 kB / 457.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.08718, allocations: 29.7 kB / 457.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.08727, allocations: 132.3 kB / 458.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.08732, allocations: 67.42 kB / 458.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.08739, allocations: 41.66 kB / 458.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.08753, allocations: 330.8 kB / 458.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.08765, allocations: 43.97 kB / 458.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.08778, allocations: 69.69 kB / 458.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.08802, allocations: 126.6 kB / 458.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.08802, allocations: 0 / 458.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003187/0.08834, allocations: 177.4 kB / 458.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.08835, allocations: 4 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.08836, allocations: 4 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.08838, allocations: 3.938 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.08858, allocations: 47.94 kB / 459 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.08859, allocations: 0 / 459 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.724e-05/0.08868, allocations: 11.98 kB / 459 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.08869, allocations: 4 kB / 459 MB, free: 14.5 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.0001141/0.08881, allocations: 125.8 kB / 459.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.08885, allocations: 23.86 kB / 459.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.08891, allocations: 29.75 kB / 459.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.08891, allocations: 0 / 459.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.08892, allocations: 3.984 kB / 459.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.08892, allocations: 4 kB / 459.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.08976, allocations: 0.5548 MB / 459.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.08976, allocations: 7.984 kB / 459.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.08995, allocations: 39.92 kB / 459.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.08995, allocations: 0 / 459.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.08997, allocations: 11.98 kB / 459.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.08997, allocations: 4 kB / 459.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.08997, allocations: 0 / 459.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.0905, allocations: 386.2 kB / 460.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.09058, allocations: 35.88 kB / 460.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.09061, allocations: 4 kB / 460.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.09076, allocations: 15.98 kB / 460.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.09082, allocations: 19.84 kB / 460.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.09083, allocations: 12 kB / 460.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.09095, allocations: 144.7 kB / 460.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09095, allocations: 4 kB / 460.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.09123, allocations: 40.09 kB / 460.4 MB, free: 12.93 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.0008283/0.09206, allocations: 0.8946 MB / 461.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.09237, allocations: 131.7 kB / 461.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.09237, allocations: 0 / 461.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.09251, allocations: 67.84 kB / 461.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.09287, allocations: 28.55 kB / 461.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.09556, allocations: 2.225 MB / 463.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.09592, allocations: 0.728 MB / 464.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.219e-05/0.096, allocations: 17.42 kB / 464.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.0961, allocations: 51.42 kB / 464.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.0961, allocations: 0 / 464.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1281, allocations: 3.773 MB / 468.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.67, allocations: 0 / 468.3 MB, free: 4.758 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.260721570000896] Failed to read output from testmodel.py, exit status != 0: 10.77608532999875 10.804137371 10.716434688 Calling exit ...