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.001264/0.001264, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00142/0.00142, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.386/1.386, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.008629/0.008629, allocations: 1.966 MB / 288 MB, free: 3.965 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.002101/0.002101, allocations: 72.44 kB / 402.6 MB, free: 50.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.079, allocations: 49.7 MB / 452.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002712/0.08171, allocations: 2.406 MB / 454.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.08245, allocations: 0.5891 MB / 455.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.08254, allocations: 0 / 455.3 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.08266, allocations: 35.7 kB / 455.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.08278, allocations: 71.34 kB / 455.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.08291, allocations: 39.95 kB / 455.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.08311, allocations: 242.8 kB / 455.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.08323, allocations: 44.5 kB / 455.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.08331, allocations: 95.66 kB / 455.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.08344, allocations: 87.56 kB / 455.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.08347, allocations: 16 kB / 455.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.586e-05/0.0835, allocations: 16 kB / 455.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.08353, allocations: 35.84 kB / 455.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.08359, allocations: 103.5 kB / 456 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.08377, allocations: 187.2 kB / 456.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08377, allocations: 8 kB / 456.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08377, allocations: 0 / 456.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.08378, allocations: 0 / 456.2 MB, free: 2.305 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.0005826/0.08436, allocations: 435.6 kB / 456.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.0844, allocations: 11.98 kB / 456.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.08441, allocations: 4.516 kB / 456.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.08445, allocations: 54.67 kB / 456.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.08449, allocations: 24.8 kB / 456.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.08467, allocations: 166.2 kB / 456.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.08469, allocations: 16.45 kB / 456.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.08472, allocations: 20 kB / 456.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.08497, allocations: 148.2 kB / 457.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.08498, allocations: 3.984 kB / 457.1 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.085, allocations: 4 kB / 457.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.085, allocations: 4 kB / 457.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.08522, allocations: 112.2 kB / 457.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.08594, allocations: 0.5185 MB / 457.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.08611, allocations: 98.47 kB / 457.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.0862, allocations: 56.77 kB / 457.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.08621, allocations: 7.938 kB / 457.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.08623, allocations: 34.56 kB / 457.9 MB, free: 488 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.08623, allocations: 0 / 457.9 MB, free: 488 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001492/0.08772, allocations: 0.5437 MB / 458.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.08777, allocations: 55.41 kB / 458.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.08797, allocations: 199 kB / 458.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.08799, allocations: 29.7 kB / 458.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.08808, allocations: 132.4 kB / 458.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.08813, allocations: 63.47 kB / 458.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.08819, allocations: 33.67 kB / 459 MB, free: 15.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.08833, allocations: 330.8 kB / 459.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.08845, allocations: 47.98 kB / 459.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.08858, allocations: 61.69 kB / 459.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.08882, allocations: 134.6 kB / 459.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.08882, allocations: 3.984 kB / 459.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003177/0.08914, allocations: 177.4 kB / 459.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.08916, allocations: 4 kB / 459.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.08916, allocations: 3.938 kB / 459.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.08917, allocations: 0 / 459.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.08936, allocations: 47.97 kB / 459.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.08937, allocations: 4.031 kB / 459.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.08946, allocations: 4 kB / 459.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.08947, allocations: 8 kB / 459.8 MB, free: 14.52 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.0001162/0.08959, allocations: 129.8 kB / 459.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.08963, allocations: 19.86 kB / 459.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.08969, allocations: 29.73 kB / 459.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.08969, allocations: 4 kB / 459.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.0897, allocations: 0 / 459.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0897, allocations: 4 kB / 459.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.0905, allocations: 0.5588 MB / 460.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0905, allocations: 0 / 460.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.09069, allocations: 43.97 kB / 460.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.09069, allocations: 4 kB / 460.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.0907, allocations: 4 kB / 460.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.09071, allocations: 7.969 kB / 460.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.09071, allocations: 7.938 kB / 460.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.09123, allocations: 378.2 kB / 460.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.09131, allocations: 39.86 kB / 461 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.09134, allocations: 4 kB / 461 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.09149, allocations: 15.98 kB / 461 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.09154, allocations: 19.92 kB / 461 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.09155, allocations: 4 kB / 461 MB, free: 13.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.09168, allocations: 148.5 kB / 461.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09168, allocations: 4.062 kB / 461.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000274/0.09196, allocations: 40 kB / 461.2 MB, free: 12.94 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.000812/0.09277, allocations: 0.8985 MB / 462.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.09306, allocations: 131.8 kB / 462.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.09307, allocations: 0 / 462.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.09321, allocations: 63.86 kB / 462.3 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.0003527/0.09356, allocations: 23.98 kB / 462.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.09621, allocations: 2.222 MB / 464.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.09656, allocations: 0.7358 MB / 465.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.09664, allocations: 25.34 kB / 465.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.09672, allocations: 47.42 kB / 465.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.09672, allocations: 3.938 kB / 465.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.1215, allocations: 3.804 MB / 469.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.94, allocations: 4 kB / 469.2 MB, free: 4.727 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.51983907900285] Failed to read output from testmodel.py, exit status != 0: 11.096494136028923 11.112112694 11.025298285 Calling exit ...