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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001471/0.001471, allocations: 216.5 kB / 22.25 MB, free: 5.262 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.405/1.405, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.009339/0.009339, allocations: 1.954 MB / 287.3 MB, free: 3.676 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.002164/0.002164, allocations: 70.58 kB / 401.8 MB, free: 50.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.0764, allocations: 49.71 MB / 451.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002792/0.07919, allocations: 2.244 MB / 453.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.07998, allocations: 0.5619 MB / 454.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.08008, allocations: 4 kB / 454.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.08018, allocations: 27.7 kB / 454.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.0803, allocations: 67.41 kB / 454.4 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.08043, allocations: 51.88 kB / 454.4 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.08062, allocations: 234.9 kB / 454.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.08073, allocations: 40.5 kB / 454.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.313e-05/0.08081, allocations: 95.58 kB / 454.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.08092, allocations: 79.62 kB / 454.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.08095, allocations: 16 kB / 454.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.08098, allocations: 16 kB / 454.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.08101, allocations: 39.8 kB / 454.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.08112, allocations: 83.59 kB / 455 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.08134, allocations: 195.2 kB / 455.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08134, allocations: 0 / 455.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.08134, allocations: 0 / 455.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.08135, allocations: 4 kB / 455.2 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.000549/0.0819, allocations: 437.6 kB / 455.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.08193, allocations: 11.98 kB / 455.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.08196, allocations: 54.67 kB / 455.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.082, allocations: 20.8 kB / 455.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.08218, allocations: 170.2 kB / 455.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.0822, allocations: 8.703 kB / 455.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.08223, allocations: 19.94 kB / 455.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.08261, allocations: 203.6 kB / 456.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.08262, allocations: 4 kB / 456.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.08264, allocations: 11.98 kB / 456.1 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.08265, allocations: 7.938 kB / 456.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.08287, allocations: 112.5 kB / 456.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.08359, allocations: 499 kB / 456.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.08377, allocations: 90.55 kB / 456.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.08391, allocations: 52.83 kB / 456.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.08397, allocations: 4 kB / 456.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.08399, allocations: 30.56 kB / 456.9 MB, free: 484 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.08399, allocations: 0 / 456.9 MB, free: 484 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001608/0.0856, allocations: 0.5482 MB / 457.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.08565, allocations: 59.39 kB / 457.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.08584, allocations: 191 kB / 457.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.08587, allocations: 29.7 kB / 457.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.08597, allocations: 132.3 kB / 457.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.08602, allocations: 63.47 kB / 457.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.08609, allocations: 45.66 kB / 458 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.08625, allocations: 326.8 kB / 458.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.08637, allocations: 47.97 kB / 458.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.0865, allocations: 65.69 kB / 458.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.08681, allocations: 130.6 kB / 458.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.08682, allocations: 0 / 458.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003378/0.08716, allocations: 177.5 kB / 458.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.08717, allocations: 4 kB / 458.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.08718, allocations: 0 / 458.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.08719, allocations: 7.938 kB / 458.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.08739, allocations: 43.91 kB / 458.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.08739, allocations: 0 / 458.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.0875, allocations: 11.98 kB / 458.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.08751, allocations: 4 kB / 458.8 MB, free: 14.51 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.000125/0.08763, allocations: 133.8 kB / 458.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.08768, allocations: 23.86 kB / 458.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.08773, allocations: 29.75 kB / 459 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.08774, allocations: 3.984 kB / 459 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.08774, allocations: 0 / 459 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.08774, allocations: 7.875 kB / 459 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.08867, allocations: 0.5315 MB / 459.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.08868, allocations: 4 kB / 459.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.08887, allocations: 43.92 kB / 459.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.08888, allocations: 3.984 kB / 459.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.08889, allocations: 4 kB / 459.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.0889, allocations: 4 kB / 459.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.0889, allocations: 7.938 kB / 459.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.08945, allocations: 382.3 kB / 459.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.08963, allocations: 31.88 kB / 460 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.08966, allocations: 8 kB / 460 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.08981, allocations: 15.98 kB / 460 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.08987, allocations: 19.92 kB / 460 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.08988, allocations: 4 kB / 460 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.09, allocations: 144.6 kB / 460.2 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09, allocations: 0 / 460.2 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.09028, allocations: 40 kB / 460.2 MB, free: 12.96 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.001027/0.09131, allocations: 0.9025 MB / 461.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.0916, allocations: 131.7 kB / 461.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.09161, allocations: 0 / 461.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.09175, allocations: 68.11 kB / 461.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.0003394/0.09209, allocations: 28.2 kB / 461.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.09498, allocations: 2.221 MB / 463.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.09509, allocations: 120.8 kB / 463.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.09517, allocations: 21.41 kB / 463.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.09536, allocations: 51.42 kB / 463.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09536, allocations: 0 / 463.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.1281, allocations: 4.191 MB / 467.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.6, allocations: 4 kB / 467.9 MB, free: 4.965 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.088464797940105] Failed to read output from testmodel.py, exit status != 0: 11.710831195116043 11.738173873 11.651769925 Calling exit ...