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.001501/0.001501, allocations: 103.3 kB / 16.4 MB, free: 6.457 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.001538/0.001538, allocations: 194.8 kB / 19.36 MB, free: 3.73 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.395/1.395, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.009048/0.009048, allocations: 1.932 MB / 278.5 MB, free: 7.973 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.002213/0.002213, allocations: 76.06 kB / 386.4 MB, free: 51.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07541/0.07763, allocations: 47.14 MB / 433.6 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002947/0.08064, allocations: 2.376 MB / 436 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.08158, allocations: 0.5777 MB / 436.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.08173, allocations: 8 kB / 436.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.08187, allocations: 31.64 kB / 436.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.08203, allocations: 59.42 kB / 436.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.08218, allocations: 51.94 kB / 436.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.08239, allocations: 234.8 kB / 436.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.08254, allocations: 60.27 kB / 437 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.08262, allocations: 83.66 kB / 437.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.08276, allocations: 91.55 kB / 437.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.0828, allocations: 16 kB / 437.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.08283, allocations: 16 kB / 437.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.08287, allocations: 31.86 kB / 437.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.08295, allocations: 103.5 kB / 437.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.08316, allocations: 195.2 kB / 437.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.08317, allocations: 0 / 437.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08318, allocations: 4 kB / 437.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.08319, allocations: 0 / 437.5 MB, free: 12.61 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.0006238/0.08382, allocations: 0.4987 MB / 438 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.08387, allocations: 15.89 kB / 438 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.08392, allocations: 50.67 kB / 438.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.08397, allocations: 24.8 kB / 438.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.08423, allocations: 228 kB / 438.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.08425, allocations: 8.703 kB / 438.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.08429, allocations: 19.94 kB / 438.3 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.08457, allocations: 152.2 kB / 438.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.08459, allocations: 0 / 438.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.08462, allocations: 8 kB / 438.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.08463, allocations: 4 kB / 438.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.08486, allocations: 120.5 kB / 438.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.08569, allocations: 0.5506 MB / 439.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.08589, allocations: 98.55 kB / 439.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.086, allocations: 56.77 kB / 439.3 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.08603, allocations: 8 kB / 439.3 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.08605, allocations: 34.56 kB / 439.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.08606, allocations: 3.938 kB / 439.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001554/0.08762, allocations: 0.6228 MB / 440 MB, free: 9.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.08767, allocations: 51.41 kB / 440 MB, free: 9.828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.08781, allocations: 199 kB / 440.2 MB, free: 9.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.08783, allocations: 29.7 kB / 440.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.08789, allocations: 132.4 kB / 440.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.08792, allocations: 67.47 kB / 440.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.08798, allocations: 41.66 kB / 440.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.08804, allocations: 326.8 kB / 440.8 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.08814, allocations: 43.97 kB / 440.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.08825, allocations: 69.69 kB / 440.9 MB, free: 8.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.08846, allocations: 133.8 kB / 441.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.08847, allocations: 0 / 441.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002654/0.08874, allocations: 173.5 kB / 441.2 MB, free: 8.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.08876, allocations: 4 kB / 441.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.08877, allocations: 0 / 441.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.08879, allocations: 7.938 kB / 441.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.08898, allocations: 44 kB / 441.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.08899, allocations: 7.984 kB / 441.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.08909, allocations: 11.98 kB / 441.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.08911, allocations: 4 kB / 441.3 MB, free: 8.508 MB / 318.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 7.853e-05/0.08919, allocations: 129.8 kB / 441.4 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.08924, allocations: 23.86 kB / 441.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.08929, allocations: 25.81 kB / 441.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.0893, allocations: 4 kB / 441.5 MB, free: 8.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.08931, allocations: 3.984 kB / 441.5 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.08932, allocations: 4 kB / 441.5 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.08996, allocations: 0.587 MB / 442.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.08998, allocations: 0 / 442.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.09015, allocations: 35.98 kB / 442.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.09017, allocations: 7.938 kB / 442.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.09018, allocations: 8 kB / 442.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.09019, allocations: 4 kB / 442.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.0902, allocations: 3.984 kB / 442.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.09067, allocations: 370.3 kB / 442.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.0908, allocations: 124.8 kB / 442.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.09084, allocations: 4 kB / 442.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.09099, allocations: 15.98 kB / 442.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.09105, allocations: 11.92 kB / 442.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.09106, allocations: 15.94 kB / 442.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.09115, allocations: 148.5 kB / 442.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09116, allocations: 4 kB / 442.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.09144, allocations: 40 kB / 442.9 MB, free: 6.805 MB / 318.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.0006016/0.09205, allocations: 0.8908 MB / 443.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.09233, allocations: 135.7 kB / 443.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.09234, allocations: 0 / 443.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.09247, allocations: 71.84 kB / 444 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.09285, allocations: 28.55 kB / 444 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.09492, allocations: 2.22 MB / 446.2 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.09508, allocations: 0.7319 MB / 446.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.09516, allocations: 25.34 kB / 447 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.09524, allocations: 51.41 kB / 447 MB, free: 2.441 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.09525, allocations: 192 / 447 MB, free: 2.441 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.122, allocations: 3.515 MB / 450.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.583, allocations: 15.94 kB / 450.5 MB, free: 14.86 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.049159979913384] Failed to read output from testmodel.py, exit status != 0: 8.651810770039447 8.670762844 8.584066577 Calling exit ...