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.001352/0.001352, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.00157/0.00157, allocations: 212.6 kB / 22.3 MB, free: 5.281 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.314/1.314, allocations: 207.7 MB / 233.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 179] 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.008783/0.008783, allocations: 1.974 MB / 287.4 MB, free: 3.625 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.002226/0.002226, allocations: 80.3 kB / 401.9 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07168/0.07391, allocations: 49.7 MB / 451.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002706/0.07661, allocations: 2.248 MB / 453.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.07733, allocations: 0.5579 MB / 454.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.07743, allocations: 4 kB / 454.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.07754, allocations: 27.7 kB / 454.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.07767, allocations: 83.39 kB / 454.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.07781, allocations: 43.89 kB / 454.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.078, allocations: 234.9 kB / 454.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.07812, allocations: 36.52 kB / 454.8 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.0782, allocations: 95.62 kB / 454.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.07833, allocations: 83.56 kB / 455 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.07835, allocations: 16 kB / 455 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.869e-05/0.07838, allocations: 12 kB / 455 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.07841, allocations: 43.8 kB / 455 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.07848, allocations: 79.59 kB / 455.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.07866, allocations: 203.2 kB / 455.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.07866, allocations: 0 / 455.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.07866, allocations: 0 / 455.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.07867, allocations: 0 / 455.3 MB, free: 2.262 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.0005681/0.07924, allocations: 429.6 kB / 455.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.07927, allocations: 19.98 kB / 455.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.07931, allocations: 50.73 kB / 455.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.07935, allocations: 24.8 kB / 455.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.07954, allocations: 158.2 kB / 456 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.07955, allocations: 16.64 kB / 456 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.07958, allocations: 19.94 kB / 456 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.07984, allocations: 207.6 kB / 456.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.07985, allocations: 0 / 456.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.07987, allocations: 4 kB / 456.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.07988, allocations: 4 kB / 456.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.08008, allocations: 120.5 kB / 456.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.0808, allocations: 495 kB / 456.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.08097, allocations: 94.55 kB / 456.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.345e-05/0.08106, allocations: 48.83 kB / 457 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.08107, allocations: 0 / 457 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.08109, allocations: 42.56 kB / 457 MB, free: 428 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 9.21e-07/0.08109, allocations: 0 / 457 MB, free: 428 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001497/0.08259, allocations: 0.5475 MB / 457.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.08264, allocations: 51.41 kB / 457.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.08284, allocations: 199.1 kB / 457.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.08286, allocations: 25.7 kB / 457.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.08295, allocations: 132.3 kB / 458 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.08301, allocations: 59.48 kB / 458 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.08307, allocations: 45.59 kB / 458.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.08323, allocations: 326.8 kB / 458.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.08334, allocations: 47.97 kB / 458.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.08348, allocations: 69.69 kB / 458.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.08372, allocations: 129.5 kB / 458.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.08372, allocations: 0 / 458.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003202/0.08404, allocations: 173.8 kB / 458.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.08405, allocations: 8 kB / 458.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.08406, allocations: 3.984 kB / 458.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.08409, allocations: 7.969 kB / 458.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.08428, allocations: 43.92 kB / 458.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.08429, allocations: 0 / 458.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.08438, allocations: 7.984 kB / 458.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.08439, allocations: 8 kB / 458.9 MB, free: 14.45 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.0001251/0.08452, allocations: 133.8 kB / 459 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.08456, allocations: 19.86 kB / 459 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.08462, allocations: 29.73 kB / 459.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.08462, allocations: 4 kB / 459.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.08462, allocations: 4 kB / 459.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.08463, allocations: 3.984 kB / 459.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.08545, allocations: 0.5352 MB / 459.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.08545, allocations: 0 / 459.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.08564, allocations: 44.16 kB / 459.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.08564, allocations: 8 kB / 459.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.08566, allocations: 8 kB / 459.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.08566, allocations: 0 / 459.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.08566, allocations: 7.938 kB / 459.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.0862, allocations: 374.2 kB / 460 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/0.08628, allocations: 35.88 kB / 460.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.0863, allocations: 4 kB / 460.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.08646, allocations: 20.05 kB / 460.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.0865, allocations: 15.92 kB / 460.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.08652, allocations: 8 kB / 460.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.08665, allocations: 144.6 kB / 460.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08665, allocations: 3.938 kB / 460.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.08692, allocations: 40 kB / 460.3 MB, free: 12.9 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.0008583/0.08778, allocations: 0.8985 MB / 461.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.0881, allocations: 135.7 kB / 461.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0881, allocations: 0 / 461.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.08823, allocations: 63.86 kB / 461.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.0886, allocations: 32.89 kB / 461.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.09133, allocations: 2.23 MB / 463.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.09145, allocations: 124.8 kB / 463.8 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.09153, allocations: 13.48 kB / 463.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.09162, allocations: 52.48 kB / 463.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.09162, allocations: 0 / 463.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.1233, allocations: 4.301 MB / 468.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.33, allocations: 3.938 kB / 468.1 MB, free: 4.797 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.729721057025017] Failed to read output from testmodel.py, exit status != 0: 11.438504799996736 11.460527239 11.378655911 Calling exit ...