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.001378/0.001378, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001491/0.001491, allocations: 214.1 kB / 22.25 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.445/1.445, allocations: 207.6 MB / 233 MB, free: 10 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.009687/0.009687, allocations: 1.962 MB / 287.2 MB, free: 3.855 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.00216/0.00216, allocations: 68.83 kB / 401.8 MB, free: 50.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08738, allocations: 49.71 MB / 451.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003026/0.09041, allocations: 2.404 MB / 453.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.09129, allocations: 0.5852 MB / 454.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.09139, allocations: 0 / 454.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.09154, allocations: 31.7 kB / 454.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.09168, allocations: 75.34 kB / 454.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.09183, allocations: 43.94 kB / 454.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.09207, allocations: 242.8 kB / 454.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.09221, allocations: 40.5 kB / 454.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.09231, allocations: 87.66 kB / 455 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.09246, allocations: 95.55 kB / 455.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.09249, allocations: 16 kB / 455.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.09252, allocations: 16 kB / 455.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.09255, allocations: 39.86 kB / 455.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.09263, allocations: 103.5 kB / 455.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.09284, allocations: 187.2 kB / 455.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.09284, allocations: 0 / 455.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09285, allocations: 4 kB / 455.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.09285, allocations: 0 / 455.4 MB, free: 2.285 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.0006206/0.09347, allocations: 433.6 kB / 455.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.09352, allocations: 15.98 kB / 455.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.09356, allocations: 54.73 kB / 455.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.0936, allocations: 20.8 kB / 455.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.09383, allocations: 170.2 kB / 456.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.09384, allocations: 12.64 kB / 456.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.09387, allocations: 19.94 kB / 456.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.09414, allocations: 144.2 kB / 456.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.09415, allocations: 3.984 kB / 456.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.09417, allocations: 12 kB / 456.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.09417, allocations: 4 kB / 456.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.09442, allocations: 116.5 kB / 456.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.09521, allocations: 0.5146 MB / 456.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.09539, allocations: 94.55 kB / 457 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.09548, allocations: 48.83 kB / 457.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.0955, allocations: 0 / 457.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.09551, allocations: 42.44 kB / 457.1 MB, free: 480 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.09551, allocations: 4 kB / 457.1 MB, free: 476 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001566/0.09708, allocations: 0.5437 MB / 457.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.09714, allocations: 59.34 kB / 457.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.09735, allocations: 195 kB / 457.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.09738, allocations: 33.69 kB / 457.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.09748, allocations: 128.4 kB / 458.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.09753, allocations: 63.47 kB / 458.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.09761, allocations: 41.66 kB / 458.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.09777, allocations: 326.8 kB / 458.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.09789, allocations: 47.97 kB / 458.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.09802, allocations: 69.69 kB / 458.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.0983, allocations: 126.6 kB / 458.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.0983, allocations: 0 / 458.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003294/0.09863, allocations: 181.4 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.09864, allocations: 12.03 kB / 458.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.09865, allocations: 0 / 458.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.09867, allocations: 3.938 kB / 458.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.09886, allocations: 35.98 kB / 459 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.09887, allocations: 4 kB / 459 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.915e-05/0.09897, allocations: 11.98 kB / 459 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.09898, allocations: 4 kB / 459 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.0001318/0.09911, allocations: 129.8 kB / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.09916, allocations: 23.86 kB / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.09922, allocations: 33.73 kB / 459.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.09922, allocations: 4 kB / 459.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.09923, allocations: 0 / 459.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.09923, allocations: 0 / 459.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.1001, allocations: 0.5586 MB / 459.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1001, allocations: 0 / 459.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1003, allocations: 35.98 kB / 459.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1003, allocations: 4 kB / 459.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.1003, allocations: 8 kB / 459.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.1003, allocations: 8.172 kB / 459.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1003, allocations: 8 kB / 459.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1009, allocations: 378.2 kB / 460.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1009, allocations: 35.83 kB / 460.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.101, allocations: 4.094 kB / 460.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1011, allocations: 19.92 kB / 460.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.1012, allocations: 27.97 kB / 460.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1012, allocations: 8 kB / 460.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1013, allocations: 140.6 kB / 460.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1013, allocations: 0 / 460.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1016, allocations: 44 kB / 460.4 MB, free: 12.92 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.0009338/0.1026, allocations: 0.8985 MB / 461.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1029, allocations: 127.7 kB / 461.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1029, allocations: 4 kB / 461.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.103, allocations: 64.41 kB / 461.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1034, allocations: 28.05 kB / 461.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.1063, allocations: 2.217 MB / 463.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1067, allocations: 0.7358 MB / 464.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.1068, allocations: 17.41 kB / 464.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/0.1069, allocations: 51.42 kB / 464.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1069, allocations: 0 / 464.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/0.1481, allocations: 3.773 MB / 468.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.01, allocations: 0 / 468.3 MB, free: 4.75 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.540105240885168] Failed to read output from testmodel.py, exit status != 0: 11.118864462943748 11.140692641 11.043666585 Calling exit ...