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.001751/0.001751, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002252/0.002252, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.401/1.401, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.008485/0.008485, allocations: 1.966 MB / 288.1 MB, free: 3.668 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="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.002087/0.002087, allocations: 68.5 kB / 402.5 MB, free: 50.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07461/0.07669, allocations: 49.71 MB / 452.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002723/0.07941, allocations: 2.25 MB / 454.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.0801, allocations: 0.5541 MB / 455.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.0802, allocations: 4 kB / 455.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.08032, allocations: 23.72 kB / 455.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.08045, allocations: 79.33 kB / 455.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.0806, allocations: 47.94 kB / 455.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.08079, allocations: 238.8 kB / 455.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.08092, allocations: 44.5 kB / 455.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.08101, allocations: 83.72 kB / 455.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.08115, allocations: 95.5 kB / 455.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.08118, allocations: 12 kB / 455.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.08121, allocations: 16 kB / 455.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.08124, allocations: 35.84 kB / 455.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.08131, allocations: 91.59 kB / 455.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.08149, allocations: 195.2 kB / 456 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.0815, allocations: 0 / 456 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0815, allocations: 0 / 456 MB, free: 2.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.0815, allocations: 0 / 456 MB, free: 2.32 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.0005682/0.08207, allocations: 429.6 kB / 456.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.08211, allocations: 15.98 kB / 456.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.08213, allocations: 4.516 kB / 456.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.08216, allocations: 54.73 kB / 456.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.0822, allocations: 24.8 kB / 456.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.08236, allocations: 166.2 kB / 456.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.08238, allocations: 16.45 kB / 456.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.08241, allocations: 19.92 kB / 456.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.08269, allocations: 203.6 kB / 456.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.0827, allocations: 0 / 456.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.08272, allocations: 7.938 kB / 456.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.08272, allocations: 4 kB / 456.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.08293, allocations: 120.2 kB / 457 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.08366, allocations: 499 kB / 457.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.08384, allocations: 86.55 kB / 457.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.08394, allocations: 52.83 kB / 457.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.08395, allocations: 0 / 457.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.08397, allocations: 42.5 kB / 457.7 MB, free: 476 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.08397, allocations: 3.938 kB / 457.7 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001565/0.08553, allocations: 0.5445 MB / 458.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.08557, allocations: 51.41 kB / 458.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.08577, allocations: 199 kB / 458.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.0858, allocations: 29.7 kB / 458.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.08589, allocations: 132.3 kB / 458.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.08595, allocations: 63.39 kB / 458.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.08601, allocations: 37.67 kB / 458.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.08616, allocations: 326.8 kB / 459.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.08627, allocations: 43.98 kB / 459.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.08641, allocations: 73.67 kB / 459.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.08664, allocations: 130.6 kB / 459.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.08665, allocations: 0 / 459.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003174/0.08696, allocations: 173.5 kB / 459.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.08698, allocations: 8 kB / 459.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.08698, allocations: 7.875 kB / 459.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.087, allocations: 4.031 kB / 459.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.08719, allocations: 39.97 kB / 459.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.0872, allocations: 4 kB / 459.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.08729, allocations: 12 kB / 459.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.08731, allocations: 4 kB / 459.6 MB, free: 14.5 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.0001194/0.08743, allocations: 129.8 kB / 459.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.08747, allocations: 23.84 kB / 459.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.08752, allocations: 25.75 kB / 459.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.08752, allocations: 4 kB / 459.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.08753, allocations: 4 kB / 459.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.08753, allocations: 0 / 459.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.08835, allocations: 0.543 MB / 460.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.08835, allocations: 0 / 460.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.08854, allocations: 36.23 kB / 460.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.08854, allocations: 8 kB / 460.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.08856, allocations: 8 kB / 460.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.08857, allocations: 7.938 kB / 460.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.08857, allocations: 0 / 460.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.08912, allocations: 382.1 kB / 460.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.0892, allocations: 39.86 kB / 460.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.08923, allocations: 4 kB / 460.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.08939, allocations: 20.05 kB / 460.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.08944, allocations: 19.91 kB / 460.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.08945, allocations: 8 kB / 460.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.08958, allocations: 144.6 kB / 461 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08958, allocations: 0 / 461 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.08986, allocations: 40 kB / 461 MB, free: 12.95 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.0008369/0.09069, allocations: 0.9063 MB / 461.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.091, allocations: 119.7 kB / 462 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.091, allocations: 0 / 462 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.09114, allocations: 67.84 kB / 462.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.0915, allocations: 36.55 kB / 462.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.09425, allocations: 2.217 MB / 464.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.09437, allocations: 120.8 kB / 464.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.568e-05/0.09445, allocations: 17.41 kB / 464.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.09454, allocations: 51.42 kB / 464.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09454, allocations: 4 kB / 464.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1198, allocations: 3.874 MB / 468.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.05, allocations: 8 kB / 468.4 MB, free: 5.27 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 & /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: 13.599961866042577] Failed to read output from testmodel.py, exit status != 0: 11.240443707909435 11.255405975 11.171020039 Calling exit ...