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.001296/0.001296, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.00141/0.00141, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.385/1.385, allocations: 207.6 MB / 230.5 MB, free: 4.051 MB / 174.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.009093/0.009093, allocations: 1.962 MB / 284.3 MB, free: 14.36 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="cs",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.002111/0.002111, allocations: 72.38 kB / 397.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2543, allocations: 49.66 MB / 446.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002986/0.2573, allocations: 2.387 MB / 449.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007419/0.2581, allocations: 0.5873 MB / 449.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.2582, allocations: 1.312 kB / 449.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2583, allocations: 31.44 kB / 450 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2584, allocations: 75.53 kB / 450 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2586, allocations: 45.55 kB / 450.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2588, allocations: 242 kB / 450.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2589, allocations: 45.83 kB / 450.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.259, allocations: 80.62 kB / 450.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2591, allocations: 97.94 kB / 450.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.2592, allocations: 15.75 kB / 450.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.191e-05/0.2592, allocations: 14.56 kB / 450.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.2592, allocations: 39.28 kB / 450.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.2593, allocations: 101.2 kB / 450.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2596, allocations: 195 kB / 450.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2596, allocations: 5.25 kB / 450.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2596, allocations: 0 / 450.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2596, allocations: 0 / 450.9 MB, free: 5.828 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.0007187/0.2603, allocations: 0.4928 MB / 451.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2603, allocations: 13.48 kB / 451.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.2604, allocations: 4.641 kB / 451.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.2604, allocations: 56.28 kB / 451.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.2605, allocations: 26.39 kB / 451.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2607, allocations: 229.1 kB / 451.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2607, allocations: 14.33 kB / 451.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2607, allocations: 14.53 kB / 451.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.2611, allocations: 155.5 kB / 451.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2611, allocations: 0 / 451.9 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.2611, allocations: 5.656 kB / 451.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2611, allocations: 5.375 kB / 451.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2614, allocations: 122.7 kB / 452 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.2623, allocations: 0.5455 MB / 452.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2625, allocations: 90.48 kB / 452.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2626, allocations: 52.02 kB / 452.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.2627, allocations: 1.375 kB / 452.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2627, allocations: 36.44 kB / 452.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.2627, allocations: 1.375 kB / 452.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001624/0.2643, allocations: 0.6296 MB / 453.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.2643, allocations: 54.77 kB / 453.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.2645, allocations: 195.3 kB / 453.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2645, allocations: 35.42 kB / 453.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.2645, allocations: 126.8 kB / 453.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.2646, allocations: 59.12 kB / 453.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.2646, allocations: 40.48 kB / 453.9 MB, free: 3.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2647, allocations: 323.4 kB / 454.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2648, allocations: 48.61 kB / 454.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2649, allocations: 68.98 kB / 454.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.2651, allocations: 133.4 kB / 454.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2651, allocations: 1.188 kB / 454.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002894/0.2654, allocations: 171.2 kB / 454.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2654, allocations: 6.031 kB / 454.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2655, allocations: 4.734 kB / 454.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2655, allocations: 5.375 kB / 454.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2657, allocations: 50.8 kB / 454.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2657, allocations: 1.125 kB / 454.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.2658, allocations: 9.641 kB / 454.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2658, allocations: 5.094 kB / 454.7 MB, free: 3.039 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.329e-05/0.2658, allocations: 131.2 kB / 454.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.2659, allocations: 20.27 kB / 454.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.2659, allocations: 36 kB / 454.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2659, allocations: 3.062 kB / 454.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2659, allocations: 0.8438 kB / 454.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2659, allocations: 0.6094 kB / 454.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.2666, allocations: 0.5854 MB / 455.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2666, allocations: 2.75 kB / 455.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.2668, allocations: 36.11 kB / 455.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2668, allocations: 4.734 kB / 455.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2668, allocations: 6.75 kB / 455.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2668, allocations: 7.25 kB / 455.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2668, allocations: 3 kB / 455.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.2672, allocations: 371.2 kB / 455.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.2673, allocations: 119.3 kB / 456 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.2673, allocations: 8.922 kB / 456 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2675, allocations: 10.2 kB / 456 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2675, allocations: 25.42 kB / 456 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2675, allocations: 4.688 kB / 456 MB, free: 1.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.528e-05/0.2676, allocations: 147.8 kB / 456.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2676, allocations: 0 / 456.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.2679, allocations: 40.25 kB / 456.2 MB, free: 1.871 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.0005793/0.2685, allocations: 0.9084 MB / 457.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.2688, allocations: 128.7 kB / 457.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2688, allocations: 1.344 kB / 457.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2689, allocations: 68.42 kB / 457.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2692, allocations: 28.62 kB / 457.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.2716, allocations: 2.221 MB / 459.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.272, allocations: 0.7285 MB / 460.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.272, allocations: 21.38 kB / 460.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.2721, allocations: 51.77 kB / 460.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2721, allocations: 1.469 kB / 460.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.2927, allocations: 3.577 MB / 464 MB, free: 12.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.63, allocations: 6.141 kB / 464 MB, free: 12.87 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --stepSize=0.060241 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.921640240005217] Failed to read output from testmodel.py, exit status != 0: 8.754472639993764 8.777396515 8.513572996 Calling exit ...