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.00142/0.00142, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.0015/0.0015, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.417/1.417, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.009357/0.009357, allocations: 1.974 MB / 283.6 MB, free: 5.043 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.002043/0.002043, allocations: 72.88 kB / 396.6 MB, free: 51.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06619/0.06823, allocations: 49.67 MB / 446.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002565/0.0708, allocations: 2.396 MB / 448.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.07149, allocations: 0.5813 MB / 449.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.07158, allocations: 8 kB / 449.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.0717, allocations: 23.72 kB / 449.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.07182, allocations: 75.34 kB / 449.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.07195, allocations: 43.94 kB / 449.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.07213, allocations: 246.8 kB / 449.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.07224, allocations: 36.23 kB / 449.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.07232, allocations: 83.72 kB / 449.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.07244, allocations: 95.5 kB / 449.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.07246, allocations: 16 kB / 449.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.07249, allocations: 16 kB / 449.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.07252, allocations: 35.84 kB / 449.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.07258, allocations: 107.5 kB / 450 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.07276, allocations: 187.2 kB / 450.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.07277, allocations: 0 / 450.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.07277, allocations: 0 / 450.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.07277, allocations: 0 / 450.2 MB, free: 3.801 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.0005765/0.07335, allocations: 0.5065 MB / 450.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.07338, allocations: 15.88 kB / 450.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.07342, allocations: 46.73 kB / 450.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.07346, allocations: 24.8 kB / 450.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.07365, allocations: 224 kB / 451 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.07366, allocations: 12.7 kB / 451 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.07369, allocations: 15.94 kB / 451 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.07394, allocations: 156.2 kB / 451.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.07395, allocations: 0 / 451.2 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.07397, allocations: 7.984 kB / 451.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.07398, allocations: 4 kB / 451.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.07419, allocations: 128.4 kB / 451.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.07493, allocations: 0.5468 MB / 451.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.07511, allocations: 90.55 kB / 451.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.07521, allocations: 48.83 kB / 452 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.07522, allocations: 0 / 452 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.07524, allocations: 38.56 kB / 452 MB, free: 1.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.07524, allocations: 0 / 452 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001492/0.07673, allocations: 0.6309 MB / 452.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.07676, allocations: 55.41 kB / 452.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.07687, allocations: 195 kB / 452.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.07689, allocations: 29.7 kB / 452.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.07693, allocations: 132.4 kB / 453.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.07696, allocations: 59.53 kB / 453.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.07701, allocations: 41.66 kB / 453.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.07705, allocations: 326.8 kB / 453.5 MB, free: 232 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.07715, allocations: 51.97 kB / 453.5 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.07725, allocations: 65.69 kB / 453.6 MB, free: 108 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.07747, allocations: 129.8 kB / 453.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.07747, allocations: 0 / 453.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003296/0.0778, allocations: 173.5 kB / 453.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.07782, allocations: 8 kB / 453.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.07782, allocations: 0 / 453.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.07784, allocations: 3.938 kB / 453.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.07803, allocations: 47.89 kB / 453.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.07804, allocations: 4 kB / 453.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.07814, allocations: 8 kB / 454 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.07815, allocations: 4 kB / 454 MB, free: 15.72 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.0001307/0.07828, allocations: 141.7 kB / 454.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.07832, allocations: 19.86 kB / 454.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.07839, allocations: 29.81 kB / 454.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.07839, allocations: 4 kB / 454.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.0784, allocations: 4 kB / 454.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0784, allocations: 3.984 kB / 454.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.07926, allocations: 0.5829 MB / 454.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.07926, allocations: 3.984 kB / 454.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.07945, allocations: 36.08 kB / 454.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.07945, allocations: 8.188 kB / 454.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.07947, allocations: 12 kB / 454.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.07947, allocations: 0 / 454.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.07947, allocations: 7.938 kB / 454.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.08002, allocations: 374.1 kB / 455.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.08012, allocations: 112.9 kB / 455.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.08015, allocations: 4 kB / 455.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.08031, allocations: 20.05 kB / 455.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.08036, allocations: 15.92 kB / 455.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.08038, allocations: 12 kB / 455.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.08051, allocations: 140.4 kB / 455.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08051, allocations: 0 / 455.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.08079, allocations: 44 kB / 455.5 MB, free: 14.01 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.0008535/0.08164, allocations: 0.8985 MB / 456.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.08195, allocations: 131.7 kB / 456.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.08196, allocations: 0 / 456.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.08209, allocations: 68.09 kB / 456.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.08245, allocations: 27.98 kB / 456.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.08523, allocations: 2.224 MB / 458.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.0856, allocations: 0.728 MB / 459.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.813e-05/0.08568, allocations: 13.42 kB / 459.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.08577, allocations: 55.42 kB / 459.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.08577, allocations: 0 / 459.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.113, allocations: 3.535 MB / 463.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.074, allocations: 11.94 kB / 463.2 MB, free: 6.062 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.525376915000379] Failed to read output from testmodel.py, exit status != 0: 8.13963073900959 8.153952986 8.078438022 Calling exit ...