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.0007961/0.0007961, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008107/0.0008107, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8147/0.8147, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 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.01014/0.01014, allocations: 1.431 MB / 237.9 MB, free: 13.93 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 352.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.63e-05, allocations: 6.219 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002127/0.002144, allocations: 2.256 MB / 354.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.002889, allocations: 0.5504 MB / 355.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.002978, allocations: 7.938 kB / 355.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.003088, allocations: 31.7 kB / 355.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.003201, allocations: 71.34 kB / 355.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.003334, allocations: 43.94 kB / 355.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.003497, allocations: 254.6 kB / 355.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.003616, allocations: 36.52 kB / 355.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.003719, allocations: 123.8 kB / 355.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.003823, allocations: 75.73 kB / 355.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.003852, allocations: 16 kB / 355.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.003871, allocations: 16 kB / 355.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.003895, allocations: 31.86 kB / 356 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.003938, allocations: 75.77 kB / 356 MB, free: 12.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004107, allocations: 187.4 kB / 356.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004109, allocations: 3.984 kB / 356.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00411, allocations: 0 / 356.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004116, allocations: 0 / 356.2 MB, free: 12.12 MB / 282.7 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.0005027/0.004618, allocations: 441.6 kB / 356.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.004662, allocations: 11.98 kB / 356.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.004697, allocations: 50.73 kB / 356.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.004733, allocations: 24.8 kB / 356.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.004928, allocations: 169.4 kB / 356.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00494, allocations: 8.703 kB / 356.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.004965, allocations: 16.38 kB / 356.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.005181, allocations: 212 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.00519, allocations: 0 / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.005206, allocations: 4 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005212, allocations: 4 kB / 357.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.005353, allocations: 124.5 kB / 357.3 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.005937, allocations: 487.3 kB / 357.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.006063, allocations: 90.48 kB / 357.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.006122, allocations: 52.83 kB / 357.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.006132, allocations: 4 kB / 357.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.006145, allocations: 34.5 kB / 357.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.006147, allocations: 0 / 357.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009186/0.007065, allocations: 0.5505 MB / 358.5 MB, free: 9.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.007084, allocations: 55.41 kB / 358.5 MB, free: 9.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.007178, allocations: 199 kB / 358.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.007187, allocations: 37.64 kB / 358.8 MB, free: 9.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.007232, allocations: 128.4 kB / 358.9 MB, free: 9.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.007252, allocations: 55.48 kB / 358.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.00729, allocations: 45.61 kB / 359 MB, free: 9.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.007323, allocations: 326.8 kB / 359.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.007386, allocations: 47.98 kB / 359.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.007456, allocations: 73.28 kB / 359.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.00758, allocations: 121.7 kB / 359.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.007582, allocations: 0 / 359.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001732/0.007755, allocations: 177.5 kB / 359.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007767, allocations: 4 kB / 359.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007772, allocations: 3.984 kB / 359.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007785, allocations: 4 kB / 359.7 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.007884, allocations: 43.91 kB / 359.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007889, allocations: 3.938 kB / 359.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.007936, allocations: 8 kB / 359.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.007943, allocations: 4 kB / 359.8 MB, free: 8.324 MB / 282.7 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 5.841e-05/0.008001, allocations: 129.9 kB / 359.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.008023, allocations: 27.84 kB / 359.9 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.00805, allocations: 21.81 kB / 360 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.008052, allocations: 0 / 360 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.008057, allocations: 0 / 360 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.008061, allocations: 7.922 kB / 360 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.008472, allocations: 0.5432 MB / 360.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008474, allocations: 4 kB / 360.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.008565, allocations: 43.92 kB / 360.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.008567, allocations: 0 / 360.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.008576, allocations: 4 kB / 360.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008578, allocations: 4 kB / 360.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.00858, allocations: 4 kB / 360.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.008845, allocations: 382.1 kB / 360.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.008889, allocations: 35.83 kB / 361 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.008905, allocations: 7.984 kB / 361 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.008981, allocations: 12 kB / 361 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.009017, allocations: 23.94 kB / 361 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.009024, allocations: 11.94 kB / 361 MB, free: 6.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.009079, allocations: 148.4 kB / 361.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009079, allocations: 0 / 361.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.009263, allocations: 40 kB / 361.2 MB, free: 6.766 MB / 282.7 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.0003213/0.009585, allocations: 0.8976 MB / 362.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.009764, allocations: 123.8 kB / 362.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009765, allocations: 0 / 362.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.009836, allocations: 68.09 kB / 362.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01007, allocations: 31.92 kB / 362.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.0114, allocations: 2.175 MB / 364.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.01146, allocations: 128.7 kB / 364.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.01152, allocations: 21.47 kB / 364.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.01158, allocations: 48.48 kB / 364.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01158, allocations: 0 / 364.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.0274, allocations: 4.308 MB / 369 MB, free: 14.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/6.65, allocations: 11.84 kB / 369 MB, free: 14.71 MB / 298.7 MB " [Timeout remaining time 653] (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: 8.28540045954287] Failed to read output from testmodel.py, exit status != 0: 6.733254887163639 6.745166934 6.73937769 Calling exit ...